Changeset 6812 in ntrip for trunk/BNC/src/bncutils.h
- Timestamp:
- May 5, 2015, 3:44:39 PM (9 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src
- Property svn:ignore
-
old new 5 5 debug 6 6 release 7 html
-
- Property svn:ignore
-
trunk/BNC/src/bncutils.h
r6799 r6812 36 36 37 37 void expandEnvVar(QString& str); 38 39 /** 40 * Return GPS leap seconds for a given UTC time 41 * @param year 4 digit year 42 * @param month month in year (1-12) 43 * @param day day in month (1-31) 44 * @return number of leap seconds since 6.1.1980 45 */ 46 int gnumleap(int year, int month, int day); 47 48 /** 49 * Convert Moscow time into GPS or UTC. Note that parts of a second are not preserved 50 * and must be handled separately. 51 * @param week GPS week number (must be prefilled, contains fixed value afterwards) 52 * @param secOfWeek seconds in GPS week (must be prefilled, contains fixed value afterwards) 53 * @param mSecOfWeek milli seconds in GLONASS time 54 * @param fixnumleap when <code>true</code> then result is UTC time, otherwise it is GPS 55 * @return does not return a value, but updates first two arguments 56 */ 57 void updatetime(int *week, int *secOfWeek, int mSecOfWeek, bool fixnumleap); 38 58 39 59 QDateTime dateAndTimeFromGPSweek(int GPSWeek, double GPSWeeks);
Note:
See TracChangeset
for help on using the changeset viewer.