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

◆ TimeZone() [1/3]

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

Definition at line 841 of file time.h.

◆ TimeZone() [2/3]

absl::TimeZone::TimeZone ( )
default

◆ TimeZone() [3/3]

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

Member Function Documentation

◆ At() [1/2]

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

Definition at line 345 of file time.cc.

◆ At() [2/2]

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

Definition at line 362 of file time.cc.

◆ name()

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

Definition at line 850 of file time.h.

◆ NextTransition()

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

Definition at line 384 of file time.cc.

◆ operator time_internal::cctz::time_zone()

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

Definition at line 848 of file time.h.

◆ operator=()

TimeZone& absl::TimeZone::operator= ( const TimeZone )
default

◆ PrevTransition()

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

Definition at line 388 of file time.cc.

Friends And Related Function Documentation

◆ AbslHashValue

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

Definition at line 983 of file time.h.

◆ operator!=

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

Definition at line 989 of file time.h.

◆ operator<<

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

Definition at line 990 of file time.h.

◆ operator==

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

Definition at line 988 of file time.h.

Member Data Documentation

◆ cz_

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 Mon Feb 28 2022 21:31:22