Changeset 2917 in ntrip
- Timestamp:
- Jan 27, 2011, 5:39:35 PM (14 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnctime.cpp
r2566 r2917 85 85 bool bncTime::operator!=(const bncTime &time1) const { 86 86 if ( ((*this) - time1) != 0 ) return 1; 87 return 0; 88 } 89 90 // 91 ////////////////////////////////////////////////////////////////////////////// 92 bool bncTime::operator==(const bncTime &time1) const { 93 if ( ((*this) - time1) == 0 ) return 1; 87 94 return 0; 88 95 } -
trunk/BNC/bnctime.h
r2809 r2917 23 23 double& sec) const; 24 24 bool valid() const {return _mjd != 0 || _sec != 0.0;} 25 bool operator==(const bncTime &time1) const; 25 26 bool operator!=(const bncTime &time1) const; 26 27 double operator-(const bncTime &time1) const;
Note:
See TracChangeset
for help on using the changeset viewer.