22 namespace time_internal {
32 return os << ss.str();
37 ss << std::setfill(
'0') << std::setw(2) << m.
month();
38 return os << ss.str();
43 ss << std::setfill(
'0') << std::setw(2) << d.
day();
44 return os << ss.str();
49 ss << std::setfill(
'0') << std::setw(2) << h.
hour();
50 return os << ss.str();
55 ss << std::setfill(
'0') << std::setw(2) << m.
minute();
56 return os << ss.str();
61 ss << std::setfill(
'0') << std::setw(2) << s.
second();
62 return os << ss.str();
70 return os <<
"Monday";
72 return os <<
"Tuesday";
74 return os <<
"Wednesday";
76 return os <<
"Thursday";
78 return os <<
"Friday";
80 return os <<
"Saturday";
82 return os <<
"Sunday";
CONSTEXPR_M int minute() const noexcept
CONSTEXPR_M int day() const noexcept
CONSTEXPR_M year_t year() const noexcept
civil_time< day_tag > civil_day
CONSTEXPR_M int month() const noexcept
civil_time< hour_tag > civil_hour
civil_time< month_tag > civil_month
civil_time< year_tag > civil_year
CONSTEXPR_M int second() const noexcept
CONSTEXPR_M int hour() const noexcept
std::ostream & operator<<(std::ostream &os, const civil_year &y)
civil_time< minute_tag > civil_minute