Classes | Public Member Functions | Private Attributes | Friends | List of all members
absl::TimeZone Class Reference

#include <time.h>

Classes

struct  CivilInfo
 
struct  CivilTransition
 
struct  TimeInfo
 

Public Member Functions

CivilInfo At (Time t) const
 
TimeInfo At (CivilSecond ct) const
 
std::string name () const
 
bool NextTransition (Time t, CivilTransition *trans) const
 
 operator time_internal::cctz::time_zone () const
 
TimeZoneoperator= (const TimeZone &)=default
 
bool PrevTransition (Time t, CivilTransition *trans) const
 
 TimeZone (time_internal::cctz::time_zone tz)
 
 TimeZone ()=default
 
 TimeZone (const TimeZone &)=default
 

Private Attributes

time_internal::cctz::time_zone cz_
 

Friends

template<typename H >
AbslHashValue (H h, TimeZone tz)
 
bool operator!= (TimeZone a, TimeZone b)
 
std::ostream & operator<< (std::ostream &os, TimeZone tz)
 
bool operator== (TimeZone a, TimeZone b)
 

Detailed Description

Definition at line 839 of file time.h.

Constructor & Destructor Documentation

absl::TimeZone::TimeZone ( time_internal::cctz::time_zone  tz)
inlineexplicit

Definition at line 841 of file time.h.

absl::TimeZone::TimeZone ( )
default
absl::TimeZone::TimeZone ( const TimeZone )
default

Member Function Documentation

absl::TimeZone::CivilInfo absl::TimeZone::At ( Time  t) const

Definition at line 345 of file time.cc.

absl::TimeZone::TimeInfo absl::TimeZone::At ( CivilSecond  ct) const

Definition at line 362 of file time.cc.

std::string absl::TimeZone::name ( ) const
inline

Definition at line 850 of file time.h.

bool absl::TimeZone::NextTransition ( Time  t,
CivilTransition trans 
) const

Definition at line 384 of file time.cc.

absl::TimeZone::operator time_internal::cctz::time_zone ( ) const
inlineexplicit

Definition at line 848 of file time.h.

TimeZone& absl::TimeZone::operator= ( const TimeZone )
default
bool absl::TimeZone::PrevTransition ( Time  t,
CivilTransition trans 
) const

Definition at line 388 of file time.cc.

Friends And Related Function Documentation

template<typename H >
H AbslHashValue ( h,
TimeZone  tz 
)
friend

Definition at line 983 of file time.h.

bool operator!= ( TimeZone  a,
TimeZone  b 
)
friend

Definition at line 989 of file time.h.

std::ostream& operator<< ( std::ostream &  os,
TimeZone  tz 
)
friend

Definition at line 990 of file time.h.

bool operator== ( TimeZone  a,
TimeZone  b 
)
friend

Definition at line 988 of file time.h.

Member Data Documentation

time_internal::cctz::time_zone absl::TimeZone::cz_
private

Definition at line 994 of file time.h.


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


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