Changeset 2259 in ntrip
- Timestamp:
- Jan 16, 2010, 11:53:07 AM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/test_bnc_qt.cpp
r2254 r2259 57 57 int main(int /* argc */, char** /* argv */) { 58 58 59 int year = 2010; 60 int month = 1; 61 int day = 10; 62 int hour = 12; 63 int min = 30; 64 double sec = 0.0; 65 59 66 bncTime tt; 60 tt.set( 2010, 1, 10, 10, 30, 0.0);67 tt.set(year, month, day, hour, min, sec); 61 68 cout << tt.timestr() << " Moscow time (UTC + 3h)" << endl; 69 cout << "GPS-UTC: " << gnumleap(year, month, day) << endl; 70 62 71 63 72 int week = tt.gpsw(); -
trunk/BNC/test_bnc_qt.pro
r2253 r2259 3 3 4 4 CONFIG += release console 5 6 INCLUDEPATH = . ./RTCM3 5 7 6 8 HEADERS = bnctime.h RTCM3/rtcm3torinex.h RTCM3/timeutils.h
Note:
See TracChangeset
for help on using the changeset viewer.