Changeset 10533 in ntrip for trunk/BNC/src/bncutils.cpp


Ignore:
Timestamp:
Sep 17, 2024, 4:55:28 PM (8 weeks ago)
Author:
stuerze
Message:

Service and RTCM CRS encoding and decoding as well as Helmert parameter decoding added + some re-organisation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncutils.cpp

    r10330 r10533  
    9595#define GPSLEAPSTART    19 /* 19 leap seconds existed at 6.1.1980 */
    9696
    97 static int longyear(int year, int month)
    98 {
     97static int longyear(int year, int month) {
    9998  if(!(year % 4) && (!(year % 400) || (year % 100)))
    10099  {
     
    105104}
    106105
    107 int gnumleap(int year, int month, int day)
    108 {
     106int gnumleap(int year, int month, int day) {
    109107  int ls = 0;
    110108  const struct leapseconds *l;
     
    119117
    120118/* Convert Moscow time into UTC (fixnumleap == 1) or GPS (fixnumleap == 0) */
    121 void updatetime(int *week, int *secOfWeek, int mSecOfWeek, bool fixnumleap)
    122 {
     119void updatetime(int *week, int *secOfWeek, int mSecOfWeek, bool fixnumleap) {
    123120  int y,m,d,k,l, nul;
    124121  unsigned int j = *week*(7*24*60*60) + *secOfWeek + 5*24*60*60+3*60*60;
Note: See TracChangeset for help on using the changeset viewer.