Namespaces | |
| cctz | |
| cctz_extension | |
Classes | |
| struct | day_tag |
| struct | hour_tag |
| struct | minute_tag |
| struct | month_tag |
| struct | second_tag |
| struct | year_tag |
Typedefs | |
| template<typename T > | |
| using | EnableIfFloat = typename std::enable_if< std::is_floating_point< T >::value, int >::type |
| template<typename T > | |
| using | EnableIfIntegral = typename std::enable_if< std::is_integral< T >::value||std::is_enum< T >::value, int >::type |
Functions | |
| bool ()) | |
| template<typename Rep , typename Period > | |
| constexpr Duration | FromChrono (const std::chrono::duration< Rep, Period > &d) |
| template<std::intmax_t N> | |
| constexpr Duration | FromInt64 (int64_t v, std::ratio< 1, N >) |
| constexpr Duration | FromInt64 (int64_t v, std::ratio< 60 >) |
| constexpr Duration | FromInt64 (int64_t v, std::ratio< 3600 >) |
| constexpr Time | FromUnixDuration (Duration d) |
| constexpr int64_t | GetRepHi (Duration d) |
| constexpr uint32_t | GetRepLo (Duration d) |
| int64_t | IDivDuration (bool satq, const Duration num, const Duration den, Duration *rem) |
| constexpr bool | IsInfiniteDuration (Duration d) |
| template<typename T > | |
| constexpr auto | IsValidRep64 (int) -> decltype(int64_t |
| template<typename T > | |
| constexpr auto | IsValidRep64 (char) -> bool |
| TimeZone | LoadTimeZone (const std::string &name) |
| constexpr Duration | MakeDuration (int64_t hi, uint32_t lo) |
| constexpr Duration | MakeDuration (int64_t hi, int64_t lo) |
| constexpr Duration | MakeNormalizedDuration (int64_t sec, int64_t ticks) |
| Duration | MakePosDoubleDuration (double n) |
| constexpr int64_t | NegateAndSubtractOne (int64_t n) |
| std::ostream & | operator<< (std::ostream &os, CivilYear y) |
| constexpr Duration | OppositeInfinity (Duration d) |
| template<typename T > | |
| T | ToChronoDuration (Duration d) |
| template<typename Ratio > | |
| int64_t | ToInt64 (Duration d, Ratio) |
| int64_t | ToInt64 (Duration d, std::nano) |
| int64_t | ToInt64 (Duration d, std::micro) |
| int64_t | ToInt64 (Duration d, std::milli) |
| int64_t | ToInt64 (Duration d, std::ratio< 1 >) |
| int64_t | ToInt64 (Duration d, std::ratio< 60 >) |
| int64_t | ToInt64 (Duration d, std::ratio< 3600 >) |
| constexpr Duration | ToUnixDuration (Time t) |
Variables | |
| constexpr int64_t | kTicksPerNanosecond = 4 |
| constexpr int64_t | kTicksPerSecond = 1000 * 1000 * 1000 * kTicksPerNanosecond |
| using absl::time_internal::EnableIfFloat = typedef typename std::enable_if<std::is_floating_point<T>::value, int>::type |
| using absl::time_internal::EnableIfIntegral = typedef typename std::enable_if< std::is_integral<T>::value || std::is_enum<T>::value, int>::type |
| constexpr Duration absl::time_internal::FromChrono | ( | const std::chrono::duration< Rep, Period > & | d | ) |
| constexpr Duration absl::time_internal::FromInt64 | ( | int64_t | v, |
| std::ratio< 1, N > | |||
| ) |
| constexpr Duration absl::time_internal::FromInt64 | ( | int64_t | v, |
| std::ratio< 60 > | |||
| ) |
| constexpr Duration absl::time_internal::FromInt64 | ( | int64_t | v, |
| std::ratio< 3600 > | |||
| ) |
| constexpr int64_t absl::time_internal::GetRepHi | ( | Duration | d | ) |
| constexpr uint32_t absl::time_internal::GetRepLo | ( | Duration | d | ) |
| int64_t absl::time_internal::IDivDuration | ( | bool | satq, |
| const Duration | num, | ||
| const Duration | den, | ||
| Duration * | rem | ||
| ) |
Definition at line 350 of file duration.cc.
| constexpr auto absl::time_internal::IsValidRep64 | ( | int | ) | -> decltype(int64_t |
| constexpr auto absl::time_internal::IsValidRep64 | ( | char | ) | -> bool |
| absl::TimeZone absl::time_internal::LoadTimeZone | ( | const std::string & | name | ) |
Definition at line 29 of file test_util.cc.
| constexpr Duration absl::time_internal::MakeDuration | ( | int64_t | hi, |
| uint32_t | lo = 0 |
||
| ) |
| constexpr Duration absl::time_internal::MakeDuration | ( | int64_t | hi, |
| int64_t | lo | ||
| ) |
| constexpr Duration absl::time_internal::MakeNormalizedDuration | ( | int64_t | sec, |
| int64_t | ticks | ||
| ) |
|
inline |
| constexpr int64_t absl::time_internal::NegateAndSubtractOne | ( | int64_t | n | ) |
| std::ostream & absl::time_internal::operator<< | ( | std::ostream & | os, |
| CivilYear | y | ||
| ) |
Definition at line 62 of file civil_time.cc.
| T absl::time_internal::ToChronoDuration | ( | Duration | d | ) |
| int64_t absl::time_internal::ToInt64 | ( | Duration | d, |
| Ratio | |||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| constexpr int64_t absl::time_internal::kTicksPerNanosecond = 4 |
| constexpr int64_t absl::time_internal::kTicksPerSecond = 1000 * 1000 * 1000 * kTicksPerNanosecond |