Code example for TimeZone

Methods: setDefault

0
     
    // Reset defualt timezone 
    static TimeZone defaultTimeZone = TimeZone.getDefault();
     
    protected void tearDown(){ 
    	TimeZone.setDefault(defaultTimeZone);
    } 
} // end class TimeTest 
 
Contextual code suggestions in your IDE  Get Codota for Java