Changeset 3162 in osm for applications/editors/josm/plugins/surveyor/src
- Timestamp:
- 2007-06-11T15:36:56+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/GpxTrackMarkerWriter.java
r2974 r3162 5 5 6 6 import java.io.PrintWriter; 7 import java.text.SimpleDateFormat; 7 8 import java.util.Collection; 8 9 … … 24 25 private final Collection<Collection<GpsPoint>> gpsData; 25 26 private final Collection<Marker> markers; 27 private static final SimpleDateFormat gpxDateFormat = new SimpleDateFormat("yyyy-MM-ddThh:mm:ss.SSS"); 26 28 27 29 public GpxTrackMarkerWriter(Collection<Collection<GpsPoint>> gpsData, Collection<Marker> markers) { … … 57 59 if (p.time != null && p.time.length()!=0) { 58 60 out.println(">"); 59 out.println(" <time>" +p.time+"</time>");61 out.println(" <time>" + gpxDateFormat.format(p.time) + "</time>"); 60 62 out.println(" </trkpt>"); 61 63 } else
Note:
See TracChangeset
for help on using the changeset viewer.