BaseClass class and root of the type system. More...
#include <TimeInfo.h>
Public Member Functions | |
unsigned short | getMiliseconds () const |
int64_t | getSeconds () const |
bool | isNull () const |
bool | operator!= (const TimeInfo &time) const |
bool | operator< (const TimeInfo &time) const |
bool | operator<= (const TimeInfo &time) const |
void | operator= (const TimeInfo &time) |
bool | operator== (const TimeInfo &time) const |
bool | operator> (const TimeInfo &time) const |
bool | operator>= (const TimeInfo &time) const |
void | setCurrent () |
sets the object to the actual system time More... | |
void | setTime_t (int64_t seconds) |
TimeInfo () | |
Construction. More... | |
TimeInfo (const TimeInfo &)=default | |
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 () |
BaseClass class and root of the type system.
TimeInfo::TimeInfo | ( | ) |
Construction.
A constructor.
A more elaborate description of the constructor.
References setCurrent().
|
default |
|
virtual |
Destruction.
A destructor.
A more elaborate description of the destructor.
|
static |
Referenced by Cloud::Module::cloudSave(), App::Document::Document(), and App::Document::save().
|
static |
References diffTimeF().
Referenced by Sketcher::Sketch::setUpSketch(), and Sketcher::Sketch::solve().
|
static |
References getMiliseconds(), and getSeconds().
Referenced by FemGui::ViewProviderFEMMeshBuilder::createMesh(), GCS::System::diagnose(), diffTime(), Fem::FemVTKTools::readResult(), Fem::FemVTKTools::readVTKMesh(), Sketcher::Sketch::solve(), PartGui::ViewProviderPartExt::updateVisual(), Fem::FemVTKTools::writeResult(), and Fem::FemVTKTools::writeVTKMesh().
unsigned short Base::TimeInfo::getMiliseconds | ( | ) | const |
Referenced by diffTimeF().
int64_t Base::TimeInfo::getSeconds | ( | ) | const |
Referenced by diffTimeF().
|
static |
Referenced by isNull(), Base::FileInfo::lastModified(), and Base::FileInfo::lastRead().
void Base::TimeInfo::operator= | ( | const TimeInfo & | time | ) |
void TimeInfo::setCurrent | ( | ) |
sets the object to the actual system time
Referenced by TimeInfo().
void TimeInfo::setTime_t | ( | int64_t | seconds | ) |
Referenced by Base::FileInfo::lastModified(), and Base::FileInfo::lastRead().