Changeset 17911 in josm
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/date/DateUtils.java
r17840 r17911 245 245 * @return a new ISO 8601 date format, for date and time. 246 246 * @since 7299 247 */ 247 * @deprecated Use {@link Instant#toString()} 248 */ 249 @Deprecated 248 250 public static SimpleDateFormat newIsoDateTimeFormat() { 249 251 return new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssX"); -
trunk/test/unit/org/openstreetmap/josm/io/OsmJsonReaderTest.java
r17749 r17911 12 12 import java.util.Iterator; 13 13 14 import org.junit.jupiter.api.BeforeAll;15 14 import org.junit.jupiter.api.Test; 16 15 import org.junit.jupiter.api.extension.RegisterExtension; … … 23 22 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 24 23 import org.openstreetmap.josm.testutils.JOSMTestRules; 25 import org.openstreetmap.josm.tools.date.DateUtils;26 24 27 25 import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; … … 38 36 @SuppressFBWarnings(value = "URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD") 39 37 public JOSMTestRules test = new JOSMTestRules(); 40 41 /**42 * Setup test43 */44 @BeforeAll45 public static void setUp() {46 DateUtils.newIsoDateTimeFormat().setTimeZone(DateUtils.UTC);47 }48 38 49 39 /**
Note:
See TracChangeset
for help on using the changeset viewer.