Changeset 2809 in ntrip for trunk/BNC/bnctime.h


Ignore:
Timestamp:
Dec 18, 2010, 12:32:44 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnctime.h

    r2566 r2809  
    2222  void         civil_time (unsigned int& hour, unsigned int& min,
    2323                           double& sec) const;
    24 
    25   bool   operator!=(const bncTime &time1) const;
    26   double operator-(const bncTime &time1) const;
    27   bncTime operator-(double sec) const;
    28   bncTime operator+(double sec) const;
     24  bool         valid() const {return _mjd != 0 || _sec != 0.0;}
     25  bool         operator!=(const bncTime &time1) const;
     26  double       operator-(const bncTime &time1) const;
     27  bncTime      operator-(double sec) const;
     28  bncTime      operator+(double sec) const;
    2929
    3030  std::string timestr(unsigned numdec = 3, char sep = ':') const; 
Note: See TracChangeset for help on using the changeset viewer.