Changeset 5742 in ntrip for trunk/BNC/src/bnctime.h


Ignore:
Timestamp:
Aug 2, 2014, 4:23:36 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bnctime.h

    r4586 r5742  
    2828                           double& sec) const;
    2929  bool         valid() const {return _mjd != 0 || _sec != 0.0;}
     30  bool         undef() const {return !valid();}
    3031  bool         operator==(const bncTime &time1) const;
    3132  bool         operator!=(const bncTime &time1) const;
     
    3738  bncTime      operator-(double sec) const;
    3839  bncTime      operator+(double sec) const;
     40  bncTime&     operator+=(double sec);
    3941
    4042  std::string timestr(unsigned numdec = 3, char sep = ':') const; 
    4143  std::string datestr(char sep = '-') const; 
     44  operator std::string() const;
    4245
    4346 private:
Note: See TracChangeset for help on using the changeset viewer.