Changeset 9062 in josm for trunk/src/org/openstreetmap/josm/tools/date
- Timestamp:
- 2015-11-25T01:21:14+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/date/PrimaryDateParser.java
r8870 r9062 41 41 42 42 private static boolean isDateInShortStandardFormat(String date) { 43 char[] dateChars;44 43 // We can only parse the date if it is in a very specific format. 45 44 // eg. 2007-09-23T08:25:43Z … … 49 48 } 50 49 51 dateChars = date.toCharArray();50 char[] dateChars = date.toCharArray(); 52 51 53 52 // Make sure any fixed characters are in the correct place. … … 108 107 109 108 private static boolean isDateInLongStandardFormat(String date) { 110 char[] dateChars;111 109 // We can only parse the date if it is in a very specific format. 112 110 // eg. 2007-09-23T08:25:43.000Z … … 116 114 } 117 115 118 dateChars = date.toCharArray();116 char[] dateChars = date.toCharArray(); 119 117 120 118 // Make sure any fixed characters are in the correct place.
Note:
See TracChangeset
for help on using the changeset viewer.