Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
absl::time_internal::cctz::detail::civil_time< T > Class Template Reference

#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_timeoperator++ () noexcept
 
CONSTEXPR_M civil_time operator++ (int) noexcept
 
CONSTEXPR_M civil_timeoperator+= (diff_t n) noexcept
 
CONSTEXPR_M civil_timeoperator-- () noexcept
 
CONSTEXPR_M civil_time operator-- (int) noexcept
 
CONSTEXPR_M civil_timeoperator-= (diff_t n) noexcept
 
civil_timeoperator= (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 >
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
 

Detailed Description

template<typename T>
class absl::time_internal::cctz::detail::civil_time< T >

Definition at line 361 of file civil_time_detail.h.

Member Typedef Documentation

template<typename T>
template<typename U , typename S >
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.

Constructor & Destructor Documentation

template<typename T>
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 
)
inlineexplicitnoexcept

Definition at line 363 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_M absl::time_internal::cctz::detail::civil_time< T >::civil_time ( )
inlinenoexcept

Definition at line 368 of file civil_time_detail.h.

template<typename T>
absl::time_internal::cctz::detail::civil_time< T >::civil_time ( const civil_time< T > &  )
default
template<typename T>
template<typename U >
CONSTEXPR_M absl::time_internal::cctz::detail::civil_time< T >::civil_time ( const civil_time< U > &  ct,
preserves_data< T, U > *  = nullptr 
)
inlinenoexcept

Definition at line 380 of file civil_time_detail.h.

template<typename T>
template<typename U >
CONSTEXPR_M absl::time_internal::cctz::detail::civil_time< T >::civil_time ( const civil_time< U > &  ct,
preserves_data< U, T > *  = nullptr 
)
inlineexplicitnoexcept

Definition at line 384 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_M absl::time_internal::cctz::detail::civil_time< T >::civil_time ( fields  f)
inlineexplicitprivatenoexcept

Definition at line 462 of file civil_time_detail.h.

Member Function Documentation

template<typename T>
CONSTEXPR_M int absl::time_internal::cctz::detail::civil_time< T >::day ( ) const
inlinenoexcept

Definition at line 401 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_M int absl::time_internal::cctz::detail::civil_time< T >::hour ( ) const
inlinenoexcept

Definition at line 402 of file civil_time_detail.h.

template<typename T>
static CONSTEXPR_F civil_time() absl::time_internal::cctz::detail::civil_time< T >::max ( )
inlinestatic

Definition at line 389 of file civil_time_detail.h.

template<typename T>
static CONSTEXPR_F civil_time() absl::time_internal::cctz::detail::civil_time< T >::min ( )
inlinestatic

Definition at line 393 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_M int absl::time_internal::cctz::detail::civil_time< T >::minute ( ) const
inlinenoexcept

Definition at line 403 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_M int absl::time_internal::cctz::detail::civil_time< T >::month ( ) const
inlinenoexcept

Definition at line 400 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_M civil_time& absl::time_internal::cctz::detail::civil_time< T >::operator++ ( )
inlinenoexcept

Definition at line 419 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_M civil_time absl::time_internal::cctz::detail::civil_time< T >::operator++ ( int  )
inlinenoexcept

Definition at line 422 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_M civil_time& absl::time_internal::cctz::detail::civil_time< T >::operator+= ( diff_t  n)
inlinenoexcept

Definition at line 407 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_M civil_time& absl::time_internal::cctz::detail::civil_time< T >::operator-- ( )
inlinenoexcept

Definition at line 427 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_M civil_time absl::time_internal::cctz::detail::civil_time< T >::operator-- ( int  )
inlinenoexcept

Definition at line 430 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_M civil_time& absl::time_internal::cctz::detail::civil_time< T >::operator-= ( diff_t  n)
inlinenoexcept

Definition at line 411 of file civil_time_detail.h.

template<typename T>
civil_time& absl::time_internal::cctz::detail::civil_time< T >::operator= ( const civil_time< T > &  )
default
template<typename T>
CONSTEXPR_M int absl::time_internal::cctz::detail::civil_time< T >::second ( ) const
inlinenoexcept

Definition at line 404 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_M year_t absl::time_internal::cctz::detail::civil_time< T >::year ( ) const
inlinenoexcept

Definition at line 399 of file civil_time_detail.h.

Friends And Related Function Documentation

template<typename T>
template<typename H >
H AbslHashValue ( h,
civil_time< T >  a 
)
friend

Definition at line 451 of file civil_time_detail.h.

template<typename T>
template<typename U >
friend class civil_time
friend

Definition at line 459 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_F civil_time operator+ ( civil_time< T >  a,
diff_t  n 
)
friend

Definition at line 437 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_F civil_time operator+ ( diff_t  n,
civil_time< T >  a 
)
friend

Definition at line 440 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_F civil_time operator- ( civil_time< T >  a,
diff_t  n 
)
friend

Definition at line 443 of file civil_time_detail.h.

template<typename T>
CONSTEXPR_F diff_t operator- ( civil_time< T >  lhs,
civil_time< T >  rhs 
)
friend

Definition at line 446 of file civil_time_detail.h.

Member Data Documentation

template<typename T>
fields absl::time_internal::cctz::detail::civil_time< T >::f_
private

Definition at line 464 of file civil_time_detail.h.


The documentation for this class was generated from the following file:


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:20:00