GestureRecognitionToolkit  Version: 0.2.5
The Gesture Recognition Toolkit (GRT) is a cross-platform, open-source, c++ machine learning library for real-time gesture recognition.
TimeStamp Class Reference

Public Member Functions

 TimeStamp (unsigned int year=0, unsigned int month=0, unsigned int day=0, unsigned int hour=0, unsigned int minute=0, unsigned int second=0, unsigned int millisecond=0)
 
 TimeStamp (const TimeStamp &rhs)
 
 TimeStamp (const std::string &timeStampAsString)
 
TimeStampoperator= (const TimeStamp &rhs)
 
bool operator> (const TimeStamp &rhs) const
 
bool operator>= (const TimeStamp &rhs) const
 
bool operator< (const TimeStamp &rhs) const
 
bool operator<= (const TimeStamp &rhs) const
 
TimeStamp operator+ (const TimeStamp &rhs)
 
TimeStampoperator+= (const TimeStamp &rhs)
 
TimeStamp operator- (const TimeStamp &rhs)
 
TimeStampoperator-= (const TimeStamp &rhs)
 
unsigned long long getTimeInMilliseconds () const
 
unsigned int getDayTimeInMilliseconds () const
 
bool setTimeStampAsNow ()
 
bool setTimeStampFromString (const std::string &timeString)
 
std::string getTimeStampAsString (const bool includeDate=true) const
 
std::string getTimeStampAsJSONString () const
 
std::string getTimeAsISOString () const
 
unsigned int getNumDaysInMonth (const unsigned int month)
 
std::string pad (const std::string &s) const
 

Public Attributes

unsigned int year
 
unsigned int month
 
unsigned int day
 
unsigned int hour
 
unsigned int minute
 
unsigned int second
 
unsigned int millisecond
 
ErrorLog errorLog
 
WarningLog warningLog
 

Detailed Description

Definition at line 30 of file TimeStamp.h.


The documentation for this class was generated from the following file: