Namespaces | |
namespace | detail |
Classes | |
struct | HasDifference |
struct | PosixTimeZone |
struct | PosixTransition |
class | time_zone |
class | TimeZoneIf |
class | TimeZoneInfo |
class | TimeZoneLibC |
struct | Transition |
struct | TransitionType |
class | ZoneInfoSource |
Functions | |
template<typename D > | |
civil_second | convert (const time_point< D > &tp, const time_zone &tz) |
time_point< seconds > | convert (const civil_second &cs, const time_zone &tz) |
time_zone | fixed_time_zone (const seconds &offset) |
bool | FixedOffsetFromName (const std::string &name, seconds *offset) |
std::string | FixedOffsetToAbbr (const seconds &offset) |
std::string | FixedOffsetToName (const seconds &offset) |
template<typename D > | |
std::string | format (const std::string &fmt, const time_point< D > &tp, const time_zone &tz) |
time_point< seconds > | FromUnixSeconds (std::int_fast64_t t) |
bool | load_time_zone (const std::string &name, time_zone *tz) |
time_zone | local_time_zone () |
template<typename D > | |
bool | parse (const std::string &fmt, const std::string &input, const time_zone &tz, time_point< D > *tpp) |
bool | ParsePosixSpec (const std::string &spec, PosixTimeZone *res) |
TEST (Format, TimePointResolution) | |
TEST (Format, TimePointExtendedResolution) | |
TEST (Format, Basics) | |
TEST (Format, PosixConversions) | |
TEST (Format, LocaleSpecific) | |
TEST (Format, Escaping) | |
TEST (Format, ExtendedSeconds) | |
TEST (Format, ExtendedSubeconds) | |
TEST (CivilTime, DefaultConstruction) | |
TEST (CivilTime, StructMember) | |
TEST (CivilTime, FieldsConstruction) | |
TEST (Format, CompareExtendSecondsVsSubseconds) | |
TEST (CivilTime, FieldsConstructionLimits) | |
TEST (CivilTime, ImplicitCrossAlignment) | |
TEST (Format, ExtendedOffset) | |
TEST (CivilTime, ExplicitCrossAlignment) | |
TEST (Format, ExtendedSecondOffset) | |
TEST (CivilTime, DisallowCrossAlignedDifference) | |
TEST (CivilTime, ValueSemantics) | |
TEST (CivilTime, Relational) | |
TEST (Format, ExtendedYears) | |
TEST (Format, RFC3339Format) | |
TEST (CivilTime, Arithmetic) | |
TEST (TimeZones, LoadZonesConcurrently) | |
TEST (Format, RFC1123Format) | |
TEST (Parse, TimePointResolution) | |
TEST (CivilTime, ArithmeticLimits) | |
TEST (TimeZone, NamedTimeZones) | |
TEST (Parse, TimePointExtendedResolution) | |
TEST (TimeZone, Failures) | |
TEST (Parse, Basics) | |
TEST (TimeZone, Equality) | |
TEST (CivilTime, ArithmeticDifference) | |
TEST (Parse, WithTimeZone) | |
TEST (Parse, LeapSecond) | |
TEST (CivilTime, DifferenceLimits) | |
TEST (StdChronoTimePoint, TimeTAlignment) | |
TEST (Parse, ErrorCases) | |
TEST (BreakTime, TimePointResolution) | |
TEST (CivilTime, Properties) | |
TEST (BreakTime, LocalTimeInUTC) | |
TEST (BreakTime, LocalTimeInUTCUnaligned) | |
TEST (BreakTime, LocalTimePosix) | |
TEST (Parse, PosixConversions) | |
TEST (TimeZoneImpl, LocalTimeInFixed) | |
TEST (BreakTime, LocalTimeInNewYork) | |
TEST (CivilTime, OutputStream) | |
TEST (BreakTime, LocalTimeInMTV) | |
TEST (BreakTime, LocalTimeInSydney) | |
TEST (MakeTime, TimePointResolution) | |
TEST (CivilTime, OutputStreamLeftFillWidth) | |
TEST (MakeTime, Normalization) | |
TEST (MakeTime, SysSecondsLimits) | |
TEST (CivilTime, NextPrevWeekday) | |
TEST (Parse, LocaleSpecific) | |
TEST (CivilTime, NormalizeWithHugeYear) | |
TEST (CivilTime, LeapYears) | |
TEST (MakeTime, LocalTimeLibC) | |
TEST (CivilTime, FirstThursdayInMonth) | |
TEST (Parse, ExtendedSeconds) | |
TEST (NextTransition, UTC) | |
TEST (PrevTransition, UTC) | |
TEST (NextTransition, AmericaNewYork) | |
TEST (PrevTransition, AmericaNewYork) | |
TEST (Parse, ExtendedSecondsScan) | |
TEST (TimeZoneEdgeCase, AmericaNewYork) | |
TEST (TimeZoneEdgeCase, AmericaLosAngeles) | |
TEST (Parse, ExtendedSubeconds) | |
TEST (TimeZoneEdgeCase, ArizonaNoTransition) | |
TEST (TimeZoneEdgeCase, AsiaKathmandu) | |
TEST (TimeZoneEdgeCase, PacificChatham) | |
TEST (Parse, ExtendedSubecondsScan) | |
TEST (TimeZoneEdgeCase, AustraliaLordHowe) | |
TEST (TimeZoneEdgeCase, PacificApia) | |
TEST (Parse, ExtendedOffset) | |
TEST (TimeZoneEdgeCase, AfricaCairo) | |
TEST (Parse, ExtendedSecondOffset) | |
TEST (TimeZoneEdgeCase, AfricaMonrovia) | |
TEST (TimeZoneEdgeCase, AmericaJamaica) | |
TEST (Parse, ExtendedYears) | |
TEST (TimeZoneEdgeCase, WET) | |
TEST (Parse, RFC3339Format) | |
TEST (TimeZoneEdgeCase, FixedOffsets) | |
TEST (Parse, MaxRange) | |
TEST (TimeZoneEdgeCase, NegativeYear) | |
TEST (TimeZoneEdgeCase, UTC32bitLimit) | |
TEST (TimeZoneEdgeCase, UTC5DigitYear) | |
TEST (FormatParse, RoundTrip) | |
TEST (FormatParse, RoundTripDistantFuture) | |
TEST (FormatParse, RoundTripDistantPast) | |
std::int_fast64_t | ToUnixSeconds (const time_point< seconds > &tp) |
time_zone | utc_time_zone () |
civil_second absl::time_internal::cctz::convert | ( | const time_point< D > & | tp, |
const time_zone & | tz | ||
) | [inline] |
Definition at line 262 of file time_zone.h.
time_point<seconds> absl::time_internal::cctz::convert | ( | const civil_second & | cs, |
const time_zone & | tz | ||
) | [inline] |
Definition at line 271 of file time_zone.h.
time_zone absl::time_internal::cctz::fixed_time_zone | ( | const seconds & | offset | ) |
Definition at line 117 of file time_zone_lookup.cc.
bool absl::time_internal::cctz::FixedOffsetFromName | ( | const std::string & | name, |
seconds * | offset | ||
) |
Definition at line 52 of file time_zone_fixed.cc.
std::string absl::time_internal::cctz::FixedOffsetToAbbr | ( | const seconds & | offset | ) |
Definition at line 119 of file time_zone_fixed.cc.
std::string absl::time_internal::cctz::FixedOffsetToName | ( | const seconds & | offset | ) |
Definition at line 83 of file time_zone_fixed.cc.
std::string absl::time_internal::cctz::format | ( | const std::string & | fmt, |
const time_point< D > & | tp, | ||
const time_zone & | tz | ||
) | [inline] |
Definition at line 315 of file time_zone.h.
time_point<seconds> absl::time_internal::cctz::FromUnixSeconds | ( | std::int_fast64_t | t | ) | [inline] |
Definition at line 63 of file time_zone_if.h.
bool absl::time_internal::cctz::load_time_zone | ( | const std::string & | name, |
time_zone * | tz | ||
) |
Definition at line 109 of file time_zone_lookup.cc.
Definition at line 123 of file time_zone_lookup.cc.
bool absl::time_internal::cctz::parse | ( | const std::string & | fmt, |
const std::string & | input, | ||
const time_zone & | tz, | ||
time_point< D > * | tpp | ||
) | [inline] |
Definition at line 368 of file time_zone.h.
bool absl::time_internal::cctz::ParsePosixSpec | ( | const std::string & | spec, |
PosixTimeZone * | res | ||
) |
Definition at line 133 of file time_zone_posix.cc.
absl::time_internal::cctz::TEST | ( | Format | , |
TimePointResolution | |||
) |
Definition at line 73 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | Format | , |
TimePointExtendedResolution | |||
) |
Definition at line 99 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | Format | , |
Basics | |||
) |
Definition at line 128 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | Format | , |
PosixConversions | |||
) |
Definition at line 153 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | Format | , |
LocaleSpecific | |||
) |
Definition at line 195 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | Format | , |
Escaping | |||
) |
Definition at line 244 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | Format | , |
ExtendedSeconds | |||
) |
Definition at line 263 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | Format | , |
ExtendedSubeconds | |||
) |
Definition at line 325 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
DefaultConstruction | |||
) |
Definition at line 326 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
StructMember | |||
) |
Definition at line 346 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
FieldsConstruction | |||
) |
Definition at line 354 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | Format | , |
CompareExtendSecondsVsSubseconds | |||
) |
Definition at line 387 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
FieldsConstructionLimits | |||
) |
Definition at line 398 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
ImplicitCrossAlignment | |||
) |
Definition at line 426 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | Format | , |
ExtendedOffset | |||
) |
Definition at line 429 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
ExplicitCrossAlignment | |||
) |
Definition at line 491 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | Format | , |
ExtendedSecondOffset | |||
) |
Definition at line 510 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
DisallowCrossAlignedDifference | |||
) |
Definition at line 544 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
ValueSemantics | |||
) |
Definition at line 575 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
Relational | |||
) |
Definition at line 584 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | Format | , |
ExtendedYears | |||
) |
Definition at line 591 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | Format | , |
RFC3339Format | |||
) |
Definition at line 624 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
Arithmetic | |||
) |
Definition at line 630 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZones | , |
LoadZonesConcurrently | |||
) |
Definition at line 671 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | Format | , |
RFC1123Format | |||
) |
Definition at line 671 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
TimePointResolution | |||
) |
Definition at line 684 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
ArithmeticLimits | |||
) |
Definition at line 698 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZone | , |
NamedTimeZones | |||
) |
Definition at line 720 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
TimePointExtendedResolution | |||
) |
Definition at line 725 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZone | , |
Failures | |||
) |
Definition at line 737 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
Basics | |||
) |
Definition at line 745 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZone | , |
Equality | |||
) |
Definition at line 759 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
ArithmeticDifference | |||
) |
Definition at line 763 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
WithTimeZone | |||
) |
Definition at line 763 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
LeapSecond | |||
) |
Definition at line 788 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
DifferenceLimits | |||
) |
Definition at line 795 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | StdChronoTimePoint | , |
TimeTAlignment | |||
) |
Definition at line 806 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
ErrorCases | |||
) |
Definition at line 813 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | BreakTime | , |
TimePointResolution | |||
) |
Definition at line 815 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
Properties | |||
) |
Definition at line 816 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | BreakTime | , |
LocalTimeInUTC | |||
) |
Definition at line 835 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | BreakTime | , |
LocalTimeInUTCUnaligned | |||
) |
Definition at line 842 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | BreakTime | , |
LocalTimePosix | |||
) |
Definition at line 850 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
PosixConversions | |||
) |
Definition at line 856 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneImpl | , |
LocalTimeInFixed | |||
) |
Definition at line 858 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | BreakTime | , |
LocalTimeInNewYork | |||
) |
Definition at line 868 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
OutputStream | |||
) |
Definition at line 868 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | BreakTime | , |
LocalTimeInMTV | |||
) |
Definition at line 875 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | BreakTime | , |
LocalTimeInSydney | |||
) |
Definition at line 882 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | MakeTime | , |
TimePointResolution | |||
) |
Definition at line 889 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
OutputStreamLeftFillWidth | |||
) |
Definition at line 892 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | MakeTime | , |
Normalization | |||
) |
Definition at line 920 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | MakeTime | , |
SysSecondsLimits | |||
) |
Definition at line 934 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
NextPrevWeekday | |||
) |
Definition at line 944 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
LocaleSpecific | |||
) |
Definition at line 969 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
NormalizeWithHugeYear | |||
) |
Definition at line 985 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
LeapYears | |||
) |
Definition at line 997 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | MakeTime | , |
LocalTimeLibC | |||
) |
Definition at line 1017 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | CivilTime | , |
FirstThursdayInMonth | |||
) |
Definition at line 1036 of file internal/cctz/src/civil_time_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
ExtendedSeconds | |||
) |
Definition at line 1100 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | NextTransition | , |
UTC | |||
) |
Definition at line 1100 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | PrevTransition | , |
UTC | |||
) |
Definition at line 1111 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | NextTransition | , |
AmericaNewYork | |||
) |
Definition at line 1122 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | PrevTransition | , |
AmericaNewYork | |||
) |
Definition at line 1146 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
ExtendedSecondsScan | |||
) |
Definition at line 1162 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
AmericaNewYork | |||
) |
Definition at line 1163 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
AmericaLosAngeles | |||
) |
Definition at line 1179 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
ExtendedSubeconds | |||
) |
Definition at line 1182 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
ArizonaNoTransition | |||
) |
Definition at line 1195 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
AsiaKathmandu | |||
) |
Definition at line 1211 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
PacificChatham | |||
) |
Definition at line 1224 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
ExtendedSubecondsScan | |||
) |
Definition at line 1239 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
AustraliaLordHowe | |||
) |
Definition at line 1244 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
PacificApia | |||
) |
Definition at line 1264 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
ExtendedOffset | |||
) |
Definition at line 1264 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
AfricaCairo | |||
) |
Definition at line 1283 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
ExtendedSecondOffset | |||
) |
Definition at line 1295 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
AfricaMonrovia | |||
) |
Definition at line 1298 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
AmericaJamaica | |||
) |
Definition at line 1313 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
ExtendedYears | |||
) |
Definition at line 1342 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
WET | |||
) |
Definition at line 1354 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
RFC3339Format | |||
) |
Definition at line 1374 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
FixedOffsets | |||
) |
Definition at line 1385 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | Parse | , |
MaxRange | |||
) |
Definition at line 1386 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
NegativeYear | |||
) |
Definition at line 1397 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
UTC32bitLimit | |||
) |
Definition at line 1408 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | TimeZoneEdgeCase | , |
UTC5DigitYear | |||
) |
Definition at line 1421 of file time_zone_lookup_test.cc.
absl::time_internal::cctz::TEST | ( | FormatParse | , |
RoundTrip | |||
) |
Definition at line 1433 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | FormatParse | , |
RoundTripDistantFuture | |||
) |
Definition at line 1475 of file time_zone_format_test.cc.
absl::time_internal::cctz::TEST | ( | FormatParse | , |
RoundTripDistantPast | |||
) |
Definition at line 1484 of file time_zone_format_test.cc.
std::int_fast64_t absl::time_internal::cctz::ToUnixSeconds | ( | const time_point< seconds > & | tp | ) | [inline] |
Definition at line 59 of file time_zone_if.h.
Definition at line 113 of file time_zone_lookup.cc.