Namespaces | |
namespace | cctz |
namespace | cctz_extension |
Classes | |
struct | day_tag |
struct | hour_tag |
struct | minute_tag |
struct | month_tag |
struct | second_tag |
struct | year_tag |
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) |
std::ostream & | operator<< (std::ostream &os, CivilMonth m) |
std::ostream & | operator<< (std::ostream &os, CivilDay d) |
std::ostream & | operator<< (std::ostream &os, CivilHour h) |
std::ostream & | operator<< (std::ostream &os, CivilMinute m) |
std::ostream & | operator<< (std::ostream &os, CivilSecond s) |
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 |
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 Time absl::time_internal::FromUnixDuration | ( | Duration | d | ) |
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 bool absl::time_internal::IsInfiniteDuration | ( | Duration | d | ) |
constexpr auto absl::time_internal::IsValidRep64 | ( | int | ) |
constexpr auto absl::time_internal::IsValidRep64 | ( | char | ) |
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 | ||
) |
Duration absl::time_internal::MakePosDoubleDuration | ( | double | n | ) | [inline] |
constexpr int64_t absl::time_internal::NegateAndSubtractOne | ( | int64_t | n | ) |
std::ostream& absl::time_internal::operator<< | ( | std::ostream & | os, |
CivilYear | y | ||
) | [static] |
Definition at line 62 of file civil_time.cc.
std::ostream & absl::time_internal::operator<< | ( | std::ostream & | os, |
CivilMonth | m | ||
) |
Definition at line 65 of file civil_time.cc.
std::ostream & absl::time_internal::operator<< | ( | std::ostream & | os, |
CivilDay | d | ||
) |
Definition at line 68 of file civil_time.cc.
std::ostream & absl::time_internal::operator<< | ( | std::ostream & | os, |
CivilHour | h | ||
) |
Definition at line 71 of file civil_time.cc.
std::ostream & absl::time_internal::operator<< | ( | std::ostream & | os, |
CivilMinute | m | ||
) |
Definition at line 74 of file civil_time.cc.
std::ostream & absl::time_internal::operator<< | ( | std::ostream & | os, |
CivilSecond | s | ||
) |
Definition at line 77 of file civil_time.cc.
constexpr Duration absl::time_internal::OppositeInfinity | ( | Duration | d | ) |
T absl::time_internal::ToChronoDuration | ( | Duration | d | ) |
int64_t absl::time_internal::ToInt64 | ( | Duration | d, |
Ratio | |||
) |
int64_t absl::time_internal::ToInt64 | ( | Duration | d, |
std::nano | |||
) | [inline] |
int64_t absl::time_internal::ToInt64 | ( | Duration | d, |
std::micro | |||
) | [inline] |
int64_t absl::time_internal::ToInt64 | ( | Duration | d, |
std::milli | |||
) | [inline] |
int64_t absl::time_internal::ToInt64 | ( | Duration | d, |
std::ratio< 1 > | |||
) | [inline] |
int64_t absl::time_internal::ToInt64 | ( | Duration | d, |
std::ratio< 60 > | |||
) | [inline] |
int64_t absl::time_internal::ToInt64 | ( | Duration | d, |
std::ratio< 3600 > | |||
) | [inline] |
constexpr Duration absl::time_internal::ToUnixDuration | ( | Time | t | ) |
constexpr int64_t absl::time_internal::kTicksPerNanosecond = 4 |
constexpr int64_t absl::time_internal::kTicksPerSecond = 1000 * 1000 * 1000 * kTicksPerNanosecond |