Changeset 9394 in josm for trunk/src/org
- Timestamp:
- 2016-01-10T18:06:13+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/date/DateUtils.java
r9385 r9394 303 303 return getDateTimeFormat(dateStyle, timeStyle).format(datetime); 304 304 } 305 306 /** 307 * Allows to override the timezone for unit tests. 308 * @param zone the timezone to use 309 */ 310 protected static void setTimeZone(TimeZone zone) { 311 calendarLocale.setTimeZone(zone); 312 } 305 313 }
Note:
See TracChangeset
for help on using the changeset viewer.