chrono::Date
Types
#
Month- null
- january
- february
- march
- april
- may
- june
- july
- august
- september
- october
- november
- december
Functions
#
Date(const DateTime &date_time, const Construct &options=Construct())explicit
chrono::Date::Date (const DateTime &date_time, const Construct &options=Construct())
#
day() constinline
int chrono::Date::day () const
Type: int
#
get_tm() constinline
const struct tm & chrono::Date::get_tm () const
Type: const struct tm &
#
hour() constinline
int chrono::Date::hour () const
Type: int
#
minute() constinline
int chrono::Date::minute () const
Type: int
#
month() constinline
Month chrono::Date::month () const
Type: Month
#
second() constinline
int chrono::Date::second () const
Type: int
#
to_string(var::StringView format="%Y-%m-%d %H:%M:%S") constvar::GeneralString chrono::Date::to_string (var::StringView format="%Y-%m-%d %H:%M:%S") const
Type: var::GeneralString
Parameters:
- var::StringView
format
#
weekday() constinline
int chrono::Date::weekday () const
Type: int
#
year() constinline
int chrono::Date::year () const
Type: int
#
yearday() constinline
int chrono::Date::yearday () const
Type: int
Static Functions
#
to_cstring(Month value)static const char * chrono::Date::to_cstring (Month value)
Type: const char *
Parameters:
- Month
value