Changeset 3986 in ntrip for trunk/BNC/bnctime.cpp


Ignore:
Timestamp:
Apr 21, 2012, 6:59:29 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnctime.cpp

    r2923 r3986  
     1
     2#include <qdatetime.h>
    13#include <time.h>
    24#include <cmath>
     
    1618}
    1719 
     20// Constructor (from ISO String yyyy-mm-ddThh:mm:ss)
     21//////////////////////////////////////////////////////////////////////////////
     22bncTime::bncTime(const std::string& isoString) {
     23  if (!isoString.empty()) {
     24    QDateTime dateTime = QDateTime::fromString(isoString.c_str(), Qt::ISODate);
     25  }
     26}
     27
    1828//
    1929//////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.