Changeset 8876 in josm for trunk/test/unit/org/openstreetmap/josm/tools/date/DateUtilsTest.java
- Timestamp:
- 2015-10-14T23:35:44+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/tools/date/DateUtilsTest.java
r8857 r8876 10 10 */ 11 11 public class DateUtilsTest { 12 13 /** 14 * Test to parse date as returned for map data. 15 */ 12 16 @Test 13 public void testMapDate() throws Exception{17 public void testMapDate() { 14 18 assertEquals(1344870637000L, DateUtils.fromString("2012-08-13T15:10:37Z").getTime()); 15 16 19 } 17 20 21 /** 22 * Test to parse date as returned for note data. 23 */ 18 24 @Test 19 public void testNoteDate() throws Exception{25 public void testNoteDate() { 20 26 assertEquals(1417298930000L, DateUtils.fromString("2014-11-29 22:08:50 UTC").getTime()); 21 27 }
Note:
See TracChangeset
for help on using the changeset viewer.