- Timestamp:
- Apr 21, 2012, 6:59:29 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnctime.cpp
r2923 r3986 1 2 #include <qdatetime.h> 1 3 #include <time.h> 2 4 #include <cmath> … … 16 18 } 17 19 20 // Constructor (from ISO String yyyy-mm-ddThh:mm:ss) 21 ////////////////////////////////////////////////////////////////////////////// 22 bncTime::bncTime(const std::string& isoString) { 23 if (!isoString.empty()) { 24 QDateTime dateTime = QDateTime::fromString(isoString.c_str(), Qt::ISODate); 25 } 26 } 27 18 28 // 19 29 ////////////////////////////////////////////////////////////////////////////// -
trunk/BNC/bnctime.h
r3752 r3986 9 9 bncTime() {this->reset();} 10 10 bncTime(int gpsw, double gpssec); 11 bncTime(const std::string& isoString); 11 12 12 13 bncTime& set(int gpsw, double gpssec);
Note:
See TracChangeset
for help on using the changeset viewer.