Ignore:
Timestamp:
2016-09-24T01:53:51+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/date/DateUtils.java

    r11035 r11048  
    9898            if (str.length() == 22 || str.length() == 25) {
    9999                final int plusHr = parsePart2(str, 20);
    100                 final int mul = str.charAt(19) == '+' ? -1 : 1;
     100                final long mul = str.charAt(19) == '+' ? -1 : 1;
    101101                return local.plusHours(plusHr * mul).toInstant().toEpochMilli();
    102102            }
     
    120120            if (str.length() == 29) {
    121121                final int plusHr = parsePart2(str, 24);
    122                 final int mul = str.charAt(23) == '+' ? -1 : 1;
     122                final long mul = str.charAt(23) == '+' ? -1 : 1;
    123123                return local.plusHours(plusHr * mul).toInstant().toEpochMilli();
    124124            }
Note: See TracChangeset for help on using the changeset viewer.