Code example for Time

Methods: toString

0
        // System.out.println("r='" + r + "'"); 
    } 
 
    @SmallTest 
    public void testToString0() throws Exception { 
        Time t = new Time(Time.TIMEZONE_UTC);
        String r = t.toString();
        // System.out.println("r='" + r + "'"); 
    } 
 
    @SmallTest 
    public void testGetCurrentTimezone0() throws Exception { 
        String r = Time.getCurrentTimezone();
        // System.out.println("r='" + r + "'"); 
    } 
 
    @SmallTest 
    public void testSetToNow0() throws Exception { 
        Time t = new Time(Time.TIMEZONE_UTC);
        t.setToNow();
        // System.out.println("t=" + t);