Classes | Public Member Functions | Private Member Functions | Private Attributes
absl::time_internal::cctz::TimeZoneInfo Class Reference

#include <time_zone_info.h>

Inheritance diagram for absl::time_internal::cctz::TimeZoneInfo:
Inheritance graph
[legend]

List of all members.

Classes

struct  Header

Public Member Functions

time_zone::absolute_lookup BreakTime (const time_point< seconds > &tp) const override
std::string Description () const override
bool Load (const std::string &name)
time_zone::civil_lookup MakeTime (const civil_second &cs) const override
bool NextTransition (const time_point< seconds > &tp, time_zone::civil_transition *trans) const override
TimeZoneInfooperator= (const TimeZoneInfo &)
bool PrevTransition (const time_point< seconds > &tp, time_zone::civil_transition *trans) const override
 TimeZoneInfo ()
 TimeZoneInfo (const TimeZoneInfo &)
std::string Version () const override

Private Member Functions

void CheckTransition (const std::string &name, const TransitionType &tt, std::int_fast32_t offset, bool is_dst, const std::string &abbr) const
bool EquivTransitions (std::uint_fast8_t tt1_index, std::uint_fast8_t tt2_index) const
void ExtendTransitions (const std::string &name, const Header &hdr)
bool Load (const std::string &name, ZoneInfoSource *zip)
time_zone::absolute_lookup LocalTime (std::int_fast64_t unix_time, const TransitionType &tt) const
time_zone::absolute_lookup LocalTime (std::int_fast64_t unix_time, const Transition &tr) const
bool ResetToBuiltinUTC (const seconds &offset)
time_zone::civil_lookup TimeLocal (const civil_second &cs, year_t c4_shift) const

Private Attributes

std::string abbreviations_
std::uint_fast8_t default_transition_type_
bool extended_
std::string future_spec_
year_t last_year_
std::atomic< std::size_t > local_time_hint_ = {}
std::atomic< std::size_t > time_local_hint_ = {}
std::vector< TransitionTypetransition_types_
std::vector< Transitiontransitions_
std::string version_

Detailed Description

Definition at line 63 of file time_zone_info.h.


Constructor & Destructor Documentation


Member Function Documentation

time_zone::absolute_lookup absl::time_internal::cctz::TimeZoneInfo::BreakTime ( const time_point< seconds > &  tp) const [override, virtual]

Implements absl::time_internal::cctz::TimeZoneIf.

Definition at line 787 of file time_zone_info.cc.

void absl::time_internal::cctz::TimeZoneInfo::CheckTransition ( const std::string &  name,
const TransitionType tt,
std::int_fast32_t  offset,
bool  is_dst,
const std::string &  abbr 
) const [private]

Definition at line 261 of file time_zone_info.cc.

std::string absl::time_internal::cctz::TimeZoneInfo::Description ( ) const [override, virtual]

Implements absl::time_internal::cctz::TimeZoneIf.

Definition at line 905 of file time_zone_info.cc.

bool absl::time_internal::cctz::TimeZoneInfo::EquivTransitions ( std::uint_fast8_t  tt1_index,
std::uint_fast8_t  tt2_index 
) const [private]

Definition at line 278 of file time_zone_info.cc.

void absl::time_internal::cctz::TimeZoneInfo::ExtendTransitions ( const std::string &  name,
const Header hdr 
) [private]

Definition at line 291 of file time_zone_info.cc.

bool absl::time_internal::cctz::TimeZoneInfo::Load ( const std::string &  name)

Reimplemented from absl::time_internal::cctz::TimeZoneIf.

Definition at line 726 of file time_zone_info.cc.

bool absl::time_internal::cctz::TimeZoneInfo::Load ( const std::string &  name,
ZoneInfoSource zip 
) [private]

Definition at line 393 of file time_zone_info.cc.

time_zone::absolute_lookup absl::time_internal::cctz::TimeZoneInfo::LocalTime ( std::int_fast64_t  unix_time,
const TransitionType tt 
) const [private]

Definition at line 747 of file time_zone_info.cc.

time_zone::absolute_lookup absl::time_internal::cctz::TimeZoneInfo::LocalTime ( std::int_fast64_t  unix_time,
const Transition tr 
) const [private]

Definition at line 757 of file time_zone_info.cc.

time_zone::civil_lookup absl::time_internal::cctz::TimeZoneInfo::MakeTime ( const civil_second &  cs) const [override, virtual]

Implements absl::time_internal::cctz::TimeZoneIf.

Definition at line 830 of file time_zone_info.cc.

bool absl::time_internal::cctz::TimeZoneInfo::NextTransition ( const time_point< seconds > &  tp,
time_zone::civil_transition trans 
) const [override, virtual]

Implements absl::time_internal::cctz::TimeZoneIf.

Definition at line 913 of file time_zone_info.cc.

TimeZoneInfo& absl::time_internal::cctz::TimeZoneInfo::operator= ( const TimeZoneInfo )
bool absl::time_internal::cctz::TimeZoneInfo::PrevTransition ( const time_point< seconds > &  tp,
time_zone::civil_transition trans 
) const [override, virtual]

Implements absl::time_internal::cctz::TimeZoneIf.

Definition at line 939 of file time_zone_info.cc.

Definition at line 182 of file time_zone_info.cc.

time_zone::civil_lookup absl::time_internal::cctz::TimeZoneInfo::TimeLocal ( const civil_second &  cs,
year_t  c4_shift 
) const [private]

Definition at line 767 of file time_zone_info.cc.

std::string absl::time_internal::cctz::TimeZoneInfo::Version ( ) const [override, virtual]

Implements absl::time_internal::cctz::TimeZoneIf.

Definition at line 901 of file time_zone_info.cc.


Member Data Documentation

Definition at line 118 of file time_zone_info.h.

Definition at line 117 of file time_zone_info.h.

Definition at line 122 of file time_zone_info.h.

Definition at line 121 of file time_zone_info.h.

Definition at line 123 of file time_zone_info.h.

std::atomic<std::size_t> absl::time_internal::cctz::TimeZoneInfo::local_time_hint_ = {} [mutable, private]

Definition at line 128 of file time_zone_info.h.

std::atomic<std::size_t> absl::time_internal::cctz::TimeZoneInfo::time_local_hint_ = {} [mutable, private]

Definition at line 129 of file time_zone_info.h.

Definition at line 116 of file time_zone_info.h.

Definition at line 115 of file time_zone_info.h.

Definition at line 120 of file time_zone_info.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:42:17