Changeset 9738 in josm
- Timestamp:
- 2016-02-04T20:07:33+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/gpx/WayPoint.java
r9383 r9738 17 17 public class WayPoint extends WithAttributes implements Comparable<WayPoint>, TemplateEngineDataProvider { 18 18 19 /** 20 * The seconds (not milliseconds!) since 1970-01-01. 21 */ 19 22 public double time; 20 23 public Color customColoring; … … 119 122 try { 120 123 final Date time = DateUtils.fromString(get(PT_TIME).toString()); 121 setTime(time);124 this.time = time.getTime() / 1000.; 122 125 return time; 123 126 } catch (Exception e) {
Note:
See TracChangeset
for help on using the changeset viewer.