Lines Matching refs:TimeZone
31 import java.util.TimeZone;
51 static final TimeZone tz = TimeZone.getDefault();
65 TimeZone.setDefault(TimeZone.getTimeZone("IST"));
67 TimeZone.setDefault(tz); // reset the timezone
119 TimeZone.setDefault(TimeZone.getTimeZone(tzname));
121 System.out.println("Using timezone: " + TimeZone.getDefault());
125 TimeZone.setDefault(tz); // always reset