Namespaces | |
namespace | impl |
Classes | |
class | civil_time |
struct | day_tag |
struct | fields |
struct | hour_tag |
struct | minute_tag |
struct | month_tag |
struct | second_tag |
struct | year_tag |
Enumerations | |
enum | weekday { monday, tuesday, wednesday, thursday, friday, saturday, sunday } |
Functions | |
CONSTEXPR_F fields | align (second_tag, fields f) noexcept |
CONSTEXPR_F fields | align (minute_tag, fields f) noexcept |
CONSTEXPR_F fields | align (hour_tag, fields f) noexcept |
CONSTEXPR_F fields | align (day_tag, fields f) noexcept |
CONSTEXPR_F fields | align (month_tag, fields f) noexcept |
CONSTEXPR_F fields | align (year_tag, fields f) noexcept |
CONSTEXPR_F diff_t | difference (year_tag, fields f1, fields f2) noexcept |
CONSTEXPR_F diff_t | difference (month_tag, fields f1, fields f2) noexcept |
CONSTEXPR_F diff_t | difference (day_tag, fields f1, fields f2) noexcept |
CONSTEXPR_F diff_t | difference (hour_tag, fields f1, fields f2) noexcept |
CONSTEXPR_F diff_t | difference (minute_tag, fields f1, fields f2) noexcept |
CONSTEXPR_F diff_t | difference (second_tag, fields f1, fields f2) noexcept |
std::string | format (const std::string &, const time_point< seconds > &, const femtoseconds &, const time_zone &) |
CONSTEXPR_F weekday | get_weekday (const civil_day &cd) noexcept |
CONSTEXPR_F int | get_yearday (const civil_day &cd) noexcept |
CONSTEXPR_F civil_day | next_weekday (civil_day cd, weekday wd) noexcept |
template<typename T1 , typename T2 > | |
CONSTEXPR_F bool | operator!= (const civil_time< T1 > &lhs, const civil_time< T2 > &rhs) noexcept |
template<typename T , typename U > | |
CONSTEXPR_F diff_t | operator- (civil_time< T >, civil_time< U >) |
template<typename T1 , typename T2 > | |
CONSTEXPR_F bool | operator< (const civil_time< T1 > &lhs, const civil_time< T2 > &rhs) noexcept |
std::ostream & | operator<< (std::ostream &os, const civil_year &y) |
std::ostream & | operator<< (std::ostream &os, const civil_month &m) |
std::ostream & | operator<< (std::ostream &os, const civil_day &d) |
std::ostream & | operator<< (std::ostream &os, const civil_hour &h) |
std::ostream & | operator<< (std::ostream &os, const civil_minute &m) |
std::ostream & | operator<< (std::ostream &os, const civil_second &s) |
std::ostream & | operator<< (std::ostream &os, weekday wd) |
template<typename T1 , typename T2 > | |
CONSTEXPR_F bool | operator<= (const civil_time< T1 > &lhs, const civil_time< T2 > &rhs) noexcept |
template<typename T1 , typename T2 > | |
CONSTEXPR_F bool | operator== (const civil_time< T1 > &lhs, const civil_time< T2 > &rhs) noexcept |
template<typename T1 , typename T2 > | |
CONSTEXPR_F bool | operator> (const civil_time< T1 > &lhs, const civil_time< T2 > &rhs) noexcept |
template<typename T1 , typename T2 > | |
CONSTEXPR_F bool | operator>= (const civil_time< T1 > &lhs, const civil_time< T2 > &rhs) noexcept |
bool | parse (const std::string &, const std::string &, const time_zone &, time_point< seconds > *, femtoseconds *, std::string *err=nullptr) |
CONSTEXPR_F civil_day | prev_weekday (civil_day cd, weekday wd) noexcept |
template<typename D > | |
std::pair< time_point< seconds > , D > | split_seconds (const time_point< D > &tp) |
std::pair< time_point< seconds > , seconds > | split_seconds (const time_point< seconds > &tp) |
CONSTEXPR_F fields | step (second_tag, fields f, diff_t n) noexcept |
CONSTEXPR_F fields | step (minute_tag, fields f, diff_t n) noexcept |
CONSTEXPR_F fields | step (hour_tag, fields f, diff_t n) noexcept |
CONSTEXPR_F fields | step (day_tag, fields f, diff_t n) noexcept |
CONSTEXPR_F fields | step (month_tag, fields f, diff_t n) noexcept |
CONSTEXPR_F fields | step (year_tag, fields f, diff_t n) noexcept |
Definition at line 528 of file civil_time_detail.h.
CONSTEXPR_F fields absl::time_internal::cctz::detail::align | ( | second_tag | , |
fields | f | ||
) |
Definition at line 308 of file civil_time_detail.h.
CONSTEXPR_F fields absl::time_internal::cctz::detail::align | ( | minute_tag | , |
fields | f | ||
) |
Definition at line 311 of file civil_time_detail.h.
CONSTEXPR_F fields absl::time_internal::cctz::detail::align | ( | hour_tag | , |
fields | f | ||
) |
Definition at line 314 of file civil_time_detail.h.
CONSTEXPR_F fields absl::time_internal::cctz::detail::align | ( | day_tag | , |
fields | f | ||
) |
Definition at line 317 of file civil_time_detail.h.
CONSTEXPR_F fields absl::time_internal::cctz::detail::align | ( | month_tag | , |
fields | f | ||
) |
Definition at line 320 of file civil_time_detail.h.
CONSTEXPR_F fields absl::time_internal::cctz::detail::align | ( | year_tag | , |
fields | f | ||
) |
Definition at line 323 of file civil_time_detail.h.
CONSTEXPR_F diff_t absl::time_internal::cctz::detail::difference | ( | year_tag | , |
fields | f1, | ||
fields | f2 | ||
) |
Definition at line 286 of file civil_time_detail.h.
CONSTEXPR_F diff_t absl::time_internal::cctz::detail::difference | ( | month_tag | , |
fields | f1, | ||
fields | f2 | ||
) |
Definition at line 289 of file civil_time_detail.h.
CONSTEXPR_F diff_t absl::time_internal::cctz::detail::difference | ( | day_tag | , |
fields | f1, | ||
fields | f2 | ||
) |
Definition at line 292 of file civil_time_detail.h.
CONSTEXPR_F diff_t absl::time_internal::cctz::detail::difference | ( | hour_tag | , |
fields | f1, | ||
fields | f2 | ||
) |
Definition at line 295 of file civil_time_detail.h.
CONSTEXPR_F diff_t absl::time_internal::cctz::detail::difference | ( | minute_tag | , |
fields | f1, | ||
fields | f2 | ||
) |
Definition at line 298 of file civil_time_detail.h.
CONSTEXPR_F diff_t absl::time_internal::cctz::detail::difference | ( | second_tag | , |
fields | f1, | ||
fields | f2 | ||
) |
Definition at line 301 of file civil_time_detail.h.
std::string absl::time_internal::cctz::detail::format | ( | const std::string & | format, |
const time_point< seconds > & | tp, | ||
const femtoseconds & | fs, | ||
const time_zone & | tz | ||
) |
Definition at line 293 of file time_zone_format.cc.
CONSTEXPR_F weekday absl::time_internal::cctz::detail::get_weekday | ( | const civil_day & | cd | ) |
Definition at line 538 of file civil_time_detail.h.
CONSTEXPR_F int absl::time_internal::cctz::detail::get_yearday | ( | const civil_day & | cd | ) |
Definition at line 597 of file civil_time_detail.h.
CONSTEXPR_F civil_day absl::time_internal::cctz::detail::next_weekday | ( | civil_day | cd, |
weekday | wd | ||
) |
Definition at line 557 of file civil_time_detail.h.
CONSTEXPR_F bool absl::time_internal::cctz::detail::operator!= | ( | const civil_time< T1 > & | lhs, |
const civil_time< T2 > & | rhs | ||
) |
Definition at line 521 of file civil_time_detail.h.
CONSTEXPR_F diff_t absl::time_internal::cctz::detail::operator- | ( | civil_time< T > | , |
civil_time< U > | |||
) |
CONSTEXPR_F bool absl::time_internal::cctz::detail::operator< | ( | const civil_time< T1 > & | lhs, |
const civil_time< T2 > & | rhs | ||
) |
Definition at line 484 of file civil_time_detail.h.
std::ostream & absl::time_internal::cctz::detail::operator<< | ( | std::ostream & | os, |
const civil_year & | y | ||
) |
Definition at line 29 of file civil_time_detail.cc.
std::ostream & absl::time_internal::cctz::detail::operator<< | ( | std::ostream & | os, |
const civil_month & | m | ||
) |
Definition at line 34 of file civil_time_detail.cc.
std::ostream & absl::time_internal::cctz::detail::operator<< | ( | std::ostream & | os, |
const civil_day & | d | ||
) |
Definition at line 40 of file civil_time_detail.cc.
std::ostream & absl::time_internal::cctz::detail::operator<< | ( | std::ostream & | os, |
const civil_hour & | h | ||
) |
Definition at line 46 of file civil_time_detail.cc.
std::ostream & absl::time_internal::cctz::detail::operator<< | ( | std::ostream & | os, |
const civil_minute & | m | ||
) |
Definition at line 52 of file civil_time_detail.cc.
std::ostream & absl::time_internal::cctz::detail::operator<< | ( | std::ostream & | os, |
const civil_second & | s | ||
) |
Definition at line 58 of file civil_time_detail.cc.
std::ostream & absl::time_internal::cctz::detail::operator<< | ( | std::ostream & | os, |
weekday | wd | ||
) |
Definition at line 67 of file civil_time_detail.cc.
CONSTEXPR_F bool absl::time_internal::cctz::detail::operator<= | ( | const civil_time< T1 > & | lhs, |
const civil_time< T2 > & | rhs | ||
) |
Definition at line 499 of file civil_time_detail.h.
CONSTEXPR_F bool absl::time_internal::cctz::detail::operator== | ( | const civil_time< T1 > & | lhs, |
const civil_time< T2 > & | rhs | ||
) |
Definition at line 514 of file civil_time_detail.h.
CONSTEXPR_F bool absl::time_internal::cctz::detail::operator> | ( | const civil_time< T1 > & | lhs, |
const civil_time< T2 > & | rhs | ||
) |
Definition at line 509 of file civil_time_detail.h.
CONSTEXPR_F bool absl::time_internal::cctz::detail::operator>= | ( | const civil_time< T1 > & | lhs, |
const civil_time< T2 > & | rhs | ||
) |
Definition at line 504 of file civil_time_detail.h.
bool absl::time_internal::cctz::detail::parse | ( | const std::string & | format, |
const std::string & | input, | ||
const time_zone & | tz, | ||
time_point< seconds > * | sec, | ||
detail::femtoseconds * | fs, | ||
std::string * | err = nullptr |
||
) |
Definition at line 608 of file time_zone_format.cc.
CONSTEXPR_F civil_day absl::time_internal::cctz::detail::prev_weekday | ( | civil_day | cd, |
weekday | wd | ||
) |
Definition at line 577 of file civil_time_detail.h.
std::pair<time_point<seconds>, D> absl::time_internal::cctz::detail::split_seconds | ( | const time_point< D > & | tp | ) | [inline] |
Definition at line 43 of file time_zone.h.
std::pair<time_point<seconds>, seconds> absl::time_internal::cctz::detail::split_seconds | ( | const time_point< seconds > & | tp | ) | [inline] |
Definition at line 53 of file time_zone.h.
CONSTEXPR_F fields absl::time_internal::cctz::detail::step | ( | second_tag | , |
fields | f, | ||
diff_t | n | ||
) |
Definition at line 223 of file civil_time_detail.h.
CONSTEXPR_F fields absl::time_internal::cctz::detail::step | ( | minute_tag | , |
fields | f, | ||
diff_t | n | ||
) |
Definition at line 226 of file civil_time_detail.h.
CONSTEXPR_F fields absl::time_internal::cctz::detail::step | ( | hour_tag | , |
fields | f, | ||
diff_t | n | ||
) |
Definition at line 229 of file civil_time_detail.h.
CONSTEXPR_F fields absl::time_internal::cctz::detail::step | ( | day_tag | , |
fields | f, | ||
diff_t | n | ||
) |
Definition at line 232 of file civil_time_detail.h.
CONSTEXPR_F fields absl::time_internal::cctz::detail::step | ( | month_tag | , |
fields | f, | ||
diff_t | n | ||
) |
Definition at line 235 of file civil_time_detail.h.
CONSTEXPR_F fields absl::time_internal::cctz::detail::step | ( | year_tag | , |
fields | f, | ||
diff_t | n | ||
) |
Definition at line 238 of file civil_time_detail.h.