Changeset 11048 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2016-09-24T01:53:51+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/date/DateUtils.java
r11035 r11048 98 98 if (str.length() == 22 || str.length() == 25) { 99 99 final int plusHr = parsePart2(str, 20); 100 final intmul = str.charAt(19) == '+' ? -1 : 1;100 final long mul = str.charAt(19) == '+' ? -1 : 1; 101 101 return local.plusHours(plusHr * mul).toInstant().toEpochMilli(); 102 102 } … … 120 120 if (str.length() == 29) { 121 121 final int plusHr = parsePart2(str, 24); 122 final intmul = str.charAt(23) == '+' ? -1 : 1;122 final long mul = str.charAt(23) == '+' ? -1 : 1; 123 123 return local.plusHours(plusHr * mul).toInstant().toEpochMilli(); 124 124 }
Note:
See TracChangeset
for help on using the changeset viewer.