#include <civil_time_detail.h>
Public Member Functions | |
CONSTEXPR_M | civil_time (year_t y, diff_t m=1, diff_t d=1, diff_t hh=0, diff_t mm=0, diff_t ss=0) noexcept |
CONSTEXPR_M | civil_time () noexcept |
civil_time (const civil_time &) | |
template<typename U > | |
CONSTEXPR_M | civil_time (const civil_time< U > &ct, preserves_data< T, U > *=nullptr) noexcept |
template<typename U > | |
CONSTEXPR_M | civil_time (const civil_time< U > &ct, preserves_data< U, T > *=nullptr) noexcept |
CONSTEXPR_M int | day () const noexcept |
CONSTEXPR_M int | hour () const noexcept |
CONSTEXPR_M int | minute () const noexcept |
CONSTEXPR_M int | month () const noexcept |
CONSTEXPR_M civil_time & | operator++ () noexcept |
CONSTEXPR_M civil_time | operator++ (int) noexcept |
CONSTEXPR_M civil_time & | operator+= (diff_t n) noexcept |
CONSTEXPR_M civil_time & | operator-- () noexcept |
CONSTEXPR_M civil_time | operator-- (int) noexcept |
CONSTEXPR_M civil_time & | operator-= (diff_t n) noexcept |
civil_time & | operator= (const civil_time &) |
CONSTEXPR_M int | second () const noexcept |
CONSTEXPR_M year_t | year () const noexcept |
Static Public Member Functions | |
static CONSTEXPR_F civil_time() | max () |
static CONSTEXPR_F civil_time() | min () |
Private Member Functions | |
CONSTEXPR_M | civil_time (fields f) noexcept |
Friends | |
template<typename H > | |
H | AbslHashValue (H h, civil_time a) |
class | civil_time |
CONSTEXPR_F civil_time | operator+ (civil_time a, diff_t n) noexcept |
CONSTEXPR_F civil_time | operator+ (diff_t n, civil_time a) noexcept |
CONSTEXPR_F civil_time | operator- (civil_time a, diff_t n) noexcept |
CONSTEXPR_F diff_t | operator- (civil_time lhs, civil_time rhs) noexcept |
Definition at line 361 of file civil_time_detail.h.
CONSTEXPR_M absl::time_internal::cctz::detail::civil_time< T >::civil_time | ( | year_t | y, |
diff_t | m = 1 , |
||
diff_t | d = 1 , |
||
diff_t | hh = 0 , |
||
diff_t | mm = 0 , |
||
diff_t | ss = 0 |
||
) | [inline, explicit] |
Definition at line 363 of file civil_time_detail.h.
CONSTEXPR_M absl::time_internal::cctz::detail::civil_time< T >::civil_time | ( | ) | [inline] |
Definition at line 368 of file civil_time_detail.h.
absl::time_internal::cctz::detail::civil_time< T >::civil_time | ( | const civil_time< T > & | ) |
CONSTEXPR_M absl::time_internal::cctz::detail::civil_time< T >::civil_time | ( | const civil_time< U > & | ct, |
preserves_data< T, U > * | = nullptr |
||
) | [inline] |
Definition at line 380 of file civil_time_detail.h.
CONSTEXPR_M absl::time_internal::cctz::detail::civil_time< T >::civil_time | ( | const civil_time< U > & | ct, |
preserves_data< U, T > * | = nullptr |
||
) | [inline, explicit] |
Definition at line 384 of file civil_time_detail.h.
CONSTEXPR_M absl::time_internal::cctz::detail::civil_time< T >::civil_time | ( | fields | f | ) | [inline, explicit, private] |
Definition at line 462 of file civil_time_detail.h.
CONSTEXPR_M int absl::time_internal::cctz::detail::civil_time< T >::day | ( | ) | const [inline] |
Definition at line 401 of file civil_time_detail.h.
CONSTEXPR_M int absl::time_internal::cctz::detail::civil_time< T >::hour | ( | ) | const [inline] |
Definition at line 402 of file civil_time_detail.h.
static CONSTEXPR_F civil_time() absl::time_internal::cctz::detail::civil_time< T >::max | ( | ) | [inline, static] |
Definition at line 389 of file civil_time_detail.h.
static CONSTEXPR_F civil_time() absl::time_internal::cctz::detail::civil_time< T >::min | ( | ) | [inline, static] |
Definition at line 393 of file civil_time_detail.h.
CONSTEXPR_M int absl::time_internal::cctz::detail::civil_time< T >::minute | ( | ) | const [inline] |
Definition at line 403 of file civil_time_detail.h.
CONSTEXPR_M int absl::time_internal::cctz::detail::civil_time< T >::month | ( | ) | const [inline] |
Definition at line 400 of file civil_time_detail.h.
CONSTEXPR_M civil_time& absl::time_internal::cctz::detail::civil_time< T >::operator++ | ( | ) | [inline] |
Definition at line 419 of file civil_time_detail.h.
CONSTEXPR_M civil_time absl::time_internal::cctz::detail::civil_time< T >::operator++ | ( | int | ) | [inline] |
Definition at line 422 of file civil_time_detail.h.
CONSTEXPR_M civil_time& absl::time_internal::cctz::detail::civil_time< T >::operator+= | ( | diff_t | n | ) | [inline] |
Definition at line 407 of file civil_time_detail.h.
CONSTEXPR_M civil_time& absl::time_internal::cctz::detail::civil_time< T >::operator-- | ( | ) | [inline] |
Definition at line 427 of file civil_time_detail.h.
CONSTEXPR_M civil_time absl::time_internal::cctz::detail::civil_time< T >::operator-- | ( | int | ) | [inline] |
Definition at line 430 of file civil_time_detail.h.
CONSTEXPR_M civil_time& absl::time_internal::cctz::detail::civil_time< T >::operator-= | ( | diff_t | n | ) | [inline] |
Definition at line 411 of file civil_time_detail.h.
civil_time& absl::time_internal::cctz::detail::civil_time< T >::operator= | ( | const civil_time< T > & | ) |
CONSTEXPR_M int absl::time_internal::cctz::detail::civil_time< T >::second | ( | ) | const [inline] |
Definition at line 404 of file civil_time_detail.h.
CONSTEXPR_M year_t absl::time_internal::cctz::detail::civil_time< T >::year | ( | ) | const [inline] |
Definition at line 399 of file civil_time_detail.h.
Definition at line 451 of file civil_time_detail.h.
friend class civil_time [friend] |
Definition at line 459 of file civil_time_detail.h.
CONSTEXPR_F civil_time operator+ | ( | civil_time< T > | a, |
diff_t | n | ||
) | [friend] |
Definition at line 437 of file civil_time_detail.h.
CONSTEXPR_F civil_time operator+ | ( | diff_t | n, |
civil_time< T > | a | ||
) | [friend] |
Definition at line 440 of file civil_time_detail.h.
CONSTEXPR_F civil_time operator- | ( | civil_time< T > | a, |
diff_t | n | ||
) | [friend] |
Definition at line 443 of file civil_time_detail.h.
CONSTEXPR_F diff_t operator- | ( | civil_time< T > | lhs, |
civil_time< T > | rhs | ||
) | [friend] |
Definition at line 446 of file civil_time_detail.h.