Ignore:
Timestamp:
2021-04-08T22:56:06+02:00 (3 years ago)
Author:
simon04
Message:

see #14176 - Migrate GPX to Instant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/rtklib/RtkLibPosReader.java

    r16643 r17715  
    9191                                    Double.parseDouble(fields[IDX_LON])));
    9292                            currentwp.put(GpxConstants.PT_ELE, fields[IDX_HEIGHT]);
    93                             currentwp.setTime(parseDate(fields[IDX_DATE]+" "+fields[IDX_TIME]));
     93                            currentwp.setInstant(parseDate(fields[IDX_DATE]+" "+fields[IDX_TIME]).toInstant());
    9494                            currentwp.put(GpxConstants.RTKLIB_Q, Integer.parseInt(fields[IDX_Q]));
    9595                            currentwp.put(GpxConstants.PT_SAT, fields[IDX_NS]);
Note: See TracChangeset for help on using the changeset viewer.