Changeset 10475 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2016-06-24T08:36:12+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/date/DateUtils.java
r10212 r10475 30 30 public final class DateUtils { 31 31 32 /** 33 * The UTC time zone. 34 */ 35 public static final TimeZone UTC = TimeZone.getTimeZone("UTC"); 36 32 37 protected DateUtils() { 33 38 // Hide default constructor for utils classes … … 46 51 * with the timezone lookup, is very expensive. 47 52 */ 48 private static final GregorianCalendar calendar = new GregorianCalendar( TimeZone.getTimeZone("UTC"));53 private static final GregorianCalendar calendar = new GregorianCalendar(UTC); 49 54 private static final GregorianCalendar calendarLocale = new GregorianCalendar(TimeZone.getDefault()); 50 55 private static final DatatypeFactory XML_DATE;
Note:
See TracChangeset
for help on using the changeset viewer.