Euphoria
|
#include <datetime.h>
Public Member Functions | |
StructTmWrapper (struct tm time) | |
StructTmWrapper (int year, core::Month month, int day) | |
StructTmWrapper (int year, core::Month month, int day, int hour, int minute, int second, bool dst=false) | |
void | set_seconds (int seconds) |
void | set_minutes (int minutes) |
void | set_hour (int hour) |
void | set_day_of_moth (int day_of_moth) |
void | set_month (core::Month month) |
void | set_year (int year) |
void | set_dst (DstInfo dst) |
int | get_seconds () const |
int | get_minutes () const |
int | get_hour () const |
int | get_day_of_moth () const |
Month | get_month () const |
int | get_year () const |
DstInfo | get_dst () const |
std::string | to_debug_string () const |
Public Attributes | |
struct tm | time |
Detailed Description
Definition at line 50 of file datetime.h.
Constructor & Destructor Documentation
◆ StructTmWrapper() [1/3]
|
explicit |
Definition at line 89 of file datetime.cc.
◆ StructTmWrapper() [2/3]
eu::core::StructTmWrapper::StructTmWrapper | ( | int | year, |
core::Month | month, | ||
int | day | ||
) |
Definition at line 95 of file datetime.cc.
◆ StructTmWrapper() [3/3]
eu::core::StructTmWrapper::StructTmWrapper | ( | int | year, |
core::Month | month, | ||
int | day, | ||
int | hour, | ||
int | minute, | ||
int | second, | ||
bool | dst = false |
||
) |
Definition at line 108 of file datetime.cc.
Member Function Documentation
◆ get_day_of_moth()
int eu::core::StructTmWrapper::get_day_of_moth | ( | ) | const |
Definition at line 205 of file datetime.cc.
◆ get_dst()
DstInfo eu::core::StructTmWrapper::get_dst | ( | ) | const |
Definition at line 225 of file datetime.cc.
◆ get_hour()
int eu::core::StructTmWrapper::get_hour | ( | ) | const |
Definition at line 198 of file datetime.cc.
◆ get_minutes()
int eu::core::StructTmWrapper::get_minutes | ( | ) | const |
Definition at line 192 of file datetime.cc.
◆ get_month()
Month eu::core::StructTmWrapper::get_month | ( | ) | const |
Definition at line 212 of file datetime.cc.
◆ get_seconds()
int eu::core::StructTmWrapper::get_seconds | ( | ) | const |
Definition at line 185 of file datetime.cc.
◆ get_year()
int eu::core::StructTmWrapper::get_year | ( | ) | const |
Definition at line 218 of file datetime.cc.
◆ set_day_of_moth()
void eu::core::StructTmWrapper::set_day_of_moth | ( | int | day_of_moth | ) |
Definition at line 144 of file datetime.cc.
◆ set_dst()
void eu::core::StructTmWrapper::set_dst | ( | DstInfo | dst | ) |
Definition at line 165 of file datetime.cc.
◆ set_hour()
void eu::core::StructTmWrapper::set_hour | ( | int | hour | ) |
Definition at line 137 of file datetime.cc.
◆ set_minutes()
void eu::core::StructTmWrapper::set_minutes | ( | int | minutes | ) |
Definition at line 130 of file datetime.cc.
◆ set_month()
void eu::core::StructTmWrapper::set_month | ( | core::Month | month | ) |
Definition at line 151 of file datetime.cc.
◆ set_seconds()
void eu::core::StructTmWrapper::set_seconds | ( | int | seconds | ) |
Definition at line 123 of file datetime.cc.
◆ set_year()
void eu::core::StructTmWrapper::set_year | ( | int | year | ) |
Definition at line 158 of file datetime.cc.
◆ to_debug_string()
std::string eu::core::StructTmWrapper::to_debug_string | ( | ) | const |
Definition at line 243 of file datetime.cc.
Member Data Documentation
◆ time
struct tm eu::core::StructTmWrapper::time |
Definition at line 46 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