Code example for Time

Methods: compare

0
    } 
 
    @SmallTest 
    public void testCompare0() throws Exception { 
        Time a = new Time(Time.TIMEZONE_UTC);
        Time b = new Time("America/Los_Angeles");
        int r = Time.compare(a, b);
        // System.out.println("r=" + r); 
    } 
 
    @SmallTest 
    public void testFormat0() throws Exception { 
        Time t = new Time(Time.TIMEZONE_UTC);
        String r = t.format("%Y%m%dT%H%M%S");
        // System.out.println("r='" + r + "'"); 
    } 
 
    @SmallTest 
    public void testToString0() throws Exception { 
        Time t = new Time(Time.TIMEZONE_UTC);
        String r = t.toString();