Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
absl::time_internal::cctz::TimeZoneInfo Class Reference

#include <time_zone_info.h>

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

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 &)=delete
 
bool PrevTransition (const time_point< seconds > &tp, time_zone::civil_transition *trans) const override
 
 TimeZoneInfo ()=default
 
 TimeZoneInfo (const TimeZoneInfo &)=delete
 
std::string Version () const override
 
- Public Member Functions inherited from absl::time_internal::cctz::TimeZoneIf
virtual ~TimeZoneIf ()
 

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_
 

Additional Inherited Members

- Static Public Member Functions inherited from absl::time_internal::cctz::TimeZoneIf
static std::unique_ptr< TimeZoneIfLoad (const std::string &name)
 
- Protected Member Functions inherited from absl::time_internal::cctz::TimeZoneIf
 TimeZoneIf ()
 

Detailed Description

Definition at line 63 of file time_zone_info.h.

Constructor & Destructor Documentation

absl::time_internal::cctz::TimeZoneInfo::TimeZoneInfo ( )
default
absl::time_internal::cctz::TimeZoneInfo::TimeZoneInfo ( const TimeZoneInfo )
delete

Member Function Documentation

time_zone::absolute_lookup absl::time_internal::cctz::TimeZoneInfo::BreakTime ( const time_point< seconds > &  tp) const
overridevirtual

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
overridevirtual

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)

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
overridevirtual

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
overridevirtual

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 )
delete
bool absl::time_internal::cctz::TimeZoneInfo::PrevTransition ( const time_point< seconds > &  tp,
time_zone::civil_transition trans 
) const
overridevirtual

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

Definition at line 939 of file time_zone_info.cc.

bool absl::time_internal::cctz::TimeZoneInfo::ResetToBuiltinUTC ( const seconds offset)
private

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
overridevirtual

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

Definition at line 901 of file time_zone_info.cc.

Member Data Documentation

std::string absl::time_internal::cctz::TimeZoneInfo::abbreviations_
private

Definition at line 118 of file time_zone_info.h.

std::uint_fast8_t absl::time_internal::cctz::TimeZoneInfo::default_transition_type_
private

Definition at line 117 of file time_zone_info.h.

bool absl::time_internal::cctz::TimeZoneInfo::extended_
private

Definition at line 122 of file time_zone_info.h.

std::string absl::time_internal::cctz::TimeZoneInfo::future_spec_
private

Definition at line 121 of file time_zone_info.h.

year_t absl::time_internal::cctz::TimeZoneInfo::last_year_
private

Definition at line 123 of file time_zone_info.h.

std::atomic<std::size_t> absl::time_internal::cctz::TimeZoneInfo::local_time_hint_ = {}
mutableprivate

Definition at line 128 of file time_zone_info.h.

std::atomic<std::size_t> absl::time_internal::cctz::TimeZoneInfo::time_local_hint_ = {}
mutableprivate

Definition at line 129 of file time_zone_info.h.

std::vector<TransitionType> absl::time_internal::cctz::TimeZoneInfo::transition_types_
private

Definition at line 116 of file time_zone_info.h.

std::vector<Transition> absl::time_internal::cctz::TimeZoneInfo::transitions_
private

Definition at line 115 of file time_zone_info.h.

std::string absl::time_internal::cctz::TimeZoneInfo::version_
private

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:20:00