Changeset 1101 in ntrip
- Timestamp:
- Sep 3, 2008, 1:19:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bnseph.cpp
r1100 r1101 185 185 if (year < 100) year += 2000; 186 186 187 QDateTime dateTime(QDate(int(year), int(month), int(day)), 188 QTime(int(hour), int(minute), int(second)), Qt::UTC); 189 190 GPSweekFromDateAndTime(dateTime, _GPSweek, _GPSweeks); 187 QDateTime* dateTime = new QDateTime(QDate(int(year), int(month), int(day)), 188 QTime(int(hour), int(minute), int(second)), Qt::UTC); 189 190 GPSweekFromDateAndTime(*dateTime, _GPSweek, _GPSweeks); 191 192 delete dateTime; 193 191 194 _TOC = _GPSweeks; 192 195 } … … 321 324 if (year < 100) year += 2000; 322 325 323 QDateTime dateTime(QDate(int(year), int(month), int(day)),324 QTime(int(hour), int(minute), int(second)), Qt::UTC);325 326 GPSweekFromDateAndTime( dateTime, _GPSweek, _GPSweeks);326 QDateTime* dateTime = new QDateTime(QDate(int(year), int(month), int(day)), 327 QTime(int(hour), int(minute), int(second)), Qt::UTC); 328 329 GPSweekFromDateAndTime(*dateTime, _GPSweek, _GPSweeks); 327 330 331 delete dateTime; 332 328 333 //// beg test 329 334 //// _gps_utc = 14.0;
Note:
See TracChangeset
for help on using the changeset viewer.