15 #ifndef ABSL_TIME_INTERNAL_CCTZ_TIME_ZONE_IMPL_H_ 16 #define ABSL_TIME_INTERNAL_CCTZ_TIME_ZONE_IMPL_H_ 27 namespace time_internal {
45 const std::string&
Name()
const {
52 return zone_->BreakTime(tp);
59 return zone_->MakeTime(cs);
65 return zone_->NextTransition(tp, trans);
69 return zone_->PrevTransition(tp, trans);
79 explicit Impl(
const std::string& name);
83 std::unique_ptr<TimeZoneIf>
zone_;
90 #endif // ABSL_TIME_INTERNAL_CCTZ_TIME_ZONE_IMPL_H_
static bool LoadTimeZone(const std::string &name, time_zone *tz)
bool NextTransition(const time_point< seconds > &tp, time_zone::civil_transition *trans) const
Impl(const std::string &name)
std::unique_ptr< TimeZoneIf > zone_
time_zone::absolute_lookup BreakTime(const time_point< seconds > &tp) const
static void ClearTimeZoneMapTestOnly()
static const Impl * UTCImpl()
std::string Version() const
time_zone::civil_lookup MakeTime(const civil_second &cs) const
std::string Description() const
std::chrono::time_point< std::chrono::system_clock, D > time_point
const std::string & Name() const
bool PrevTransition(const time_point< seconds > &tp, time_zone::civil_transition *trans) const