Euphoria
|
eu::core::TimetWrapper Struct Reference
#include <datetime.h>
Public Member Functions | |
TimetWrapper (time_t time) | |
StructTmWrapper | to_local_time () const |
StructTmWrapper | to_gmt () const |
Static Public Member Functions | |
static TimetWrapper | from_local_time (const StructTmWrapper &dt) |
static TimetWrapper | from_gmt (const StructTmWrapper &dt) |
static TimetWrapper | from_current_time () |
static double | get_difference (const TimetWrapper &start, const TimetWrapper &end) |
Public Attributes | |
time_t | time |
Detailed Description
Definition at line 33 of file datetime.h.
Constructor & Destructor Documentation
◆ TimetWrapper()
|
explicit |
Definition at line 36 of file datetime.cc.
Member Function Documentation
◆ from_current_time()
|
static |
Definition at line 59 of file datetime.cc.
◆ from_gmt()
|
static |
Definition at line 51 of file datetime.cc.
◆ from_local_time()
|
static |
Definition at line 43 of file datetime.cc.
◆ get_difference()
|
static |
Definition at line 66 of file datetime.cc.
◆ to_gmt()
StructTmWrapper eu::core::TimetWrapper::to_gmt | ( | ) | const |
Definition at line 80 of file datetime.cc.
◆ to_local_time()
StructTmWrapper eu::core::TimetWrapper::to_local_time | ( | ) | const |
Definition at line 73 of file datetime.cc.
Member Data Documentation
◆ time
time_t eu::core::TimetWrapper::time |
Definition at line 35 of file datetime.h.
The documentation for this struct was generated from the following files:
- libs/core/src/core/datetime.h
- libs/core/src/core/datetime.cc