Changeset 19859 in osm for applications/editors/josm/plugins/globalsat/src/org
- Timestamp:
- 2010-02-04T15:58:22+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/globalsat/src/org/kaintoch/gps/globalsat/dg100/GpsRec.java
r19854 r19859 314 314 int MM = (dg100Date - DD * 10000) / 100; 315 315 int YY = dg100Date - DD * 10000 - MM * 100; 316 System.out.println("DD = " + new Integer(DD).toString());317 316 dateTime = GregorianCalendar.getInstance(); 318 dateTime.set(2000 + YY, MM , DD, hh, mm, ss);317 dateTime.set(2000 + YY, MM - 1, DD, hh, mm, ss); // this is somehoe strange (MM - 1) seems correct now, but last year I did not notice wrong behaviour without the "- 1" 319 318 } 320 319
Note:
See TracChangeset
for help on using the changeset viewer.