Changeset 2259 in ntrip


Ignore:
Timestamp:
Jan 16, 2010, 11:53:07 AM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/test_bnc_qt.cpp

    r2254 r2259  
    5757int main(int /* argc */, char** /* argv */) {
    5858
     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
    5966  bncTime tt;
    60   tt.set(2010, 1, 10, 10, 30, 0.0);
     67  tt.set(year, month, day, hour, min, sec);
    6168  cout << tt.timestr() << " Moscow time (UTC + 3h)" << endl;
     69  cout << "GPS-UTC: " << gnumleap(year, month, day) << endl;
     70
    6271
    6372  int week = tt.gpsw();
  • trunk/BNC/test_bnc_qt.pro

    r2253 r2259  
    33
    44CONFIG += release console
     5
     6INCLUDEPATH = . ./RTCM3
    57
    68HEADERS = bnctime.h   RTCM3/rtcm3torinex.h RTCM3/timeutils.h
Note: See TracChangeset for help on using the changeset viewer.