chrono::DateTime
Functions
#
DateTime()=defaultchrono::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() constinline
DateTime chrono::DateTime::age () const
Type: DateTime
#
ctime() constinline
time_t chrono::DateTime::ctime () const
Type: time_t
#
hour() constu32 chrono::DateTime::hour () const
Type: u32
#
is_valid() constinline
bool chrono::DateTime::is_valid () const
Type: bool
#
minute() constu32 chrono::DateTime::minute () const
Type: u32
#
operator!=(const DateTime &a) constinline
bool chrono::DateTime::operator!= (const DateTime &a) const
Type: bool
Parameters:
- const DateTime &
a
#
operator+(const DateTime &a) constinline
DateTime chrono::DateTime::operator+ (const DateTime &a) const
Type: DateTime
Parameters:
- const DateTime &
a
#
operator+=(const DateTime &a)DateTime & chrono::DateTime::operator+= (const DateTime &a)
Type: DateTime &
Parameters:
- const DateTime &
a
#
operator-(const DateTime &a) constinline
DateTime chrono::DateTime::operator- (const DateTime &a) const
Type: DateTime
Parameters:
- const DateTime &
a
#
operator-=(const DateTime &a)DateTime & chrono::DateTime::operator-= (const DateTime &a)
Type: DateTime &
Parameters:
- const DateTime &
a
#
operator<(const DateTime &a) constinline
bool chrono::DateTime::operator< (const DateTime &a) const
Type: bool
Parameters:
- const DateTime &
a
#
operator<=(const DateTime &a) constinline
bool chrono::DateTime::operator<= (const DateTime &a) const
Type: bool
Parameters:
- const DateTime &
a
#
operator==(const DateTime &a) constinline
bool chrono::DateTime::operator== (const DateTime &a) const
Type: bool
Parameters:
- const DateTime &
a
#
operator>(const DateTime &a) constinline
bool chrono::DateTime::operator> (const DateTime &a) const
Type: bool
Parameters:
- const DateTime &
a
#
operator>=(const DateTime &a) constinline
bool chrono::DateTime::operator>= (const DateTime &a) const
Type: bool
Parameters:
- const DateTime &
a
#
second() constu32 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() constvar::NumberString chrono::DateTime::to_string () const
Type: var::NumberString
Static Functions
#
get_system_time()static DateTime chrono::DateTime::get_system_time ()
Type: DateTime