Changeset 17723 in josm for trunk/test
- Timestamp:
- 2021-04-09T07:54:25+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/GpxWriterTest.java
r17722 r17723 12 12 import java.time.ZoneOffset; 13 13 import java.util.Arrays; 14 import java.util.Date;15 14 import java.util.HashMap; 16 15 import java.util.function.Consumer; … … 73 72 // Checks that time stored as date is correctly written into XML timestamp 74 73 testSingleWaypoint( 75 w -> w.put(GpxConstants.PT_TIME, Date.from(LocalDate.of(2018, Month.AUGUST, 2).atStartOfDay(ZoneOffset.UTC).toInstant())),74 w -> w.put(GpxConstants.PT_TIME, LocalDate.of(2018, Month.AUGUST, 2).atStartOfDay(ZoneOffset.UTC).toInstant()), 76 75 " <time>2018-08-02T00:00:00Z</time>\n"); 77 76 }
Note:
See TracChangeset
for help on using the changeset viewer.