Code example for TimeZone

Methods: setDefault

0
     
    // Reset defualt timezone 
    static TimeZone defaultTimeZone = TimeZone.getDefault();
     
    protected void tearDown(){ 
    	TimeZone.setDefault(defaultTimeZone);
    } 
 
} // end class DateTest 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE