Skip to main content

chrono::DateTime

Functions

DateTime()=default#

chrono::DateTime::DateTime ()=default

DateTime(const Construct &options)#

explicit

chrono::DateTime::DateTime (const Construct &options)

DateTime(MicroTime t)#

inline explicit

chrono::DateTime::DateTime (MicroTime t)

DateTime(time_t t)#

inline explicit

chrono::DateTime::DateTime (time_t t)

age() const#

inline

DateTime chrono::DateTime::age () const

Type: DateTime

ctime() const#

inline

time_t chrono::DateTime::ctime () const

Type: time_t

hour() const#

u32 chrono::DateTime::hour () const

Type: u32

is_valid() const#

inline

bool chrono::DateTime::is_valid () const

Type: bool

minute() const#

u32 chrono::DateTime::minute () const

Type: u32

operator!=(const DateTime &a) const#

inline

bool chrono::DateTime::operator!= (const DateTime &a) const

Type: bool

Parameters:

operator+(const DateTime &a) const#

inline

DateTime chrono::DateTime::operator+ (const DateTime &a) const

Type: DateTime

Parameters:

operator+=(const DateTime &a)#

DateTime & chrono::DateTime::operator+= (const DateTime &a)

Type: DateTime &

Parameters:

operator-(const DateTime &a) const#

inline

DateTime chrono::DateTime::operator- (const DateTime &a) const

Type: DateTime

Parameters:

operator-=(const DateTime &a)#

DateTime & chrono::DateTime::operator-= (const DateTime &a)

Type: DateTime &

Parameters:

operator<(const DateTime &a) const#

inline

bool chrono::DateTime::operator< (const DateTime &a) const

Type: bool

Parameters:

operator<=(const DateTime &a) const#

inline

bool chrono::DateTime::operator<= (const DateTime &a) const

Type: bool

Parameters:

operator==(const DateTime &a) const#

inline

bool chrono::DateTime::operator== (const DateTime &a) const

Type: bool

Parameters:

operator>(const DateTime &a) const#

inline

bool chrono::DateTime::operator> (const DateTime &a) const

Type: bool

Parameters:

operator>=(const DateTime &a) const#

inline

bool chrono::DateTime::operator>= (const DateTime &a) const

Type: bool

Parameters:

second() const#

u32 chrono::DateTime::second () const

Type: u32

set_system_time()#

DateTime & chrono::DateTime::set_system_time ()

Type: DateTime &

set_time(time_t tm)#

inline

DateTime & chrono::DateTime::set_time (time_t tm)

Type: DateTime &

Parameters:

  • time_t tm

to_string() const#

var::NumberString chrono::DateTime::to_string () const

Type: var::NumberString

Static Functions

get_system_time()#

static DateTime chrono::DateTime::get_system_time ()

Type: DateTime