BaseClass class and root of the type system. More...
#include <TimeInfo.h>
Public Member Functions | |
unsigned short | getMiliseconds (void) const |
uint64_t | getSeconds (void) const |
bool | isNull () const |
bool | operator!= (const TimeInfo &time) const |
bool | operator< (const TimeInfo &time) const |
bool | operator<= (const TimeInfo &time) const |
bool | operator== (const TimeInfo &time) const |
bool | operator> (const TimeInfo &time) const |
bool | operator>= (const TimeInfo &time) const |
void | setCurrent (void) |
sets the object to the actual system time More... | |
void | setTime_t (uint64_t seconds) |
TimeInfo () | |
Construction. More... | |
virtual | ~TimeInfo () |
Destruction. More... | |
Static Public Member Functions | |
static std::string | currentDateTimeString () |
static std::string | diffTime (const TimeInfo &timeStart, const TimeInfo &timeEnd=TimeInfo()) |
static float | diffTimeF (const TimeInfo &timeStart, const TimeInfo &timeEnd=TimeInfo()) |
static TimeInfo | null () |
Detailed Description
BaseClass class and root of the type system.
Constructor & Destructor Documentation
◆ TimeInfo()
TimeInfo::TimeInfo | ( | ) |
Construction.
A constructor.
A more elaborate description of the constructor.
References setCurrent().
◆ ~TimeInfo()
|
virtual |
Destruction.
A destructor.
A more elaborate description of the destructor.
Member Function Documentation
◆ currentDateTimeString()
|
static |
Referenced by Cloud::Module::cloudSave(), App::Document::Document(), and App::Document::save().
◆ diffTime()
|
static |
References diffTimeF().
Referenced by Sketcher::Sketch::setUpSketch(), and Sketcher::Sketch::solve().
◆ diffTimeF()
◆ getMiliseconds()
unsigned short Base::TimeInfo::getMiliseconds | ( | void | ) | const |
Referenced by diffTimeF().
◆ getSeconds()
uint64_t Base::TimeInfo::getSeconds | ( | void | ) | const |
Referenced by diffTimeF().
◆ isNull()
◆ null()
|
static |
Referenced by isNull(), Base::FileInfo::lastModified(), and Base::FileInfo::lastRead().
◆ operator!=()
◆ operator<()
◆ operator<=()
◆ operator==()
◆ operator>()
◆ operator>=()
◆ setCurrent()
void TimeInfo::setCurrent | ( | void | ) |
sets the object to the actual system time
Referenced by TimeInfo().
◆ setTime_t()
void TimeInfo::setTime_t | ( | uint64_t | seconds | ) |
Referenced by Base::FileInfo::lastModified(), and Base::FileInfo::lastRead().
The documentation for this class was generated from the following files:
- src/Base/TimeInfo.h
- src/Base/TimeInfo.cpp