#include <civil_time_detail.h>
Public Types | |
template<typename U , typename S > | |
using | preserves_data = typename std::enable_if< std::is_base_of< U, S >::value >::type |
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 &)=default | |
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 &)=default |
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 |
Private Attributes | |
fields | f_ |
Friends | |
template<typename H > | |
H | AbslHashValue (H h, civil_time a) |
template<typename U > | |
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.
using absl::time_internal::cctz::detail::civil_time< T >::preserves_data = typename std::enable_if<std::is_base_of<U, S>::value>::type |
Definition at line 378 of file civil_time_detail.h.
|
inlineexplicitnoexcept |
Definition at line 363 of file civil_time_detail.h.
|
inlinenoexcept |
Definition at line 368 of file civil_time_detail.h.
|
default |
|
inlinenoexcept |
Definition at line 380 of file civil_time_detail.h.
|
inlineexplicitnoexcept |
Definition at line 384 of file civil_time_detail.h.
|
inlineexplicitprivatenoexcept |
Definition at line 462 of file civil_time_detail.h.
|
inlinenoexcept |
Definition at line 401 of file civil_time_detail.h.
|
inlinenoexcept |
Definition at line 402 of file civil_time_detail.h.
|
inlinestatic |
Definition at line 389 of file civil_time_detail.h.
|
inlinestatic |
Definition at line 393 of file civil_time_detail.h.
|
inlinenoexcept |
Definition at line 403 of file civil_time_detail.h.
|
inlinenoexcept |
Definition at line 400 of file civil_time_detail.h.
|
inlinenoexcept |
Definition at line 419 of file civil_time_detail.h.
|
inlinenoexcept |
Definition at line 422 of file civil_time_detail.h.
|
inlinenoexcept |
Definition at line 407 of file civil_time_detail.h.
|
inlinenoexcept |
Definition at line 427 of file civil_time_detail.h.
|
inlinenoexcept |
Definition at line 430 of file civil_time_detail.h.
|
inlinenoexcept |
Definition at line 411 of file civil_time_detail.h.
|
default |
|
inlinenoexcept |
Definition at line 404 of file civil_time_detail.h.
|
inlinenoexcept |
Definition at line 399 of file civil_time_detail.h.
Definition at line 451 of file civil_time_detail.h.
Definition at line 459 of file civil_time_detail.h.
|
friend |
Definition at line 437 of file civil_time_detail.h.
|
friend |
Definition at line 440 of file civil_time_detail.h.
|
friend |
Definition at line 443 of file civil_time_detail.h.
|
friend |
Definition at line 446 of file civil_time_detail.h.
|
private |
Definition at line 464 of file civil_time_detail.h.