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

#include <time.h>

Classes

struct  Breakdown
 

Public Member Functions

Breakdown In (TimeZone tz) const
 
Timeoperator+= (Duration d)
 
Timeoperator-= (Duration d)
 
Timeoperator= (const Time &t)=default
 
constexpr Time ()=default
 
constexpr Time (const Time &t)=default
 

Private Member Functions

constexpr Time (Duration rep)
 

Private Attributes

Duration rep_
 

Friends

template<typename H >
AbslHashValue (H h, Time t)
 
constexpr Time InfiniteFuture ()
 
constexpr Time InfinitePast ()
 
Duration operator- (Time lhs, Time rhs)
 
constexpr bool operator< (Time lhs, Time rhs)
 
constexpr bool operator== (Time lhs, Time rhs)
 
constexpr Time time_internal::FromUnixDuration (Duration d)
 
constexpr Duration time_internal::ToUnixDuration (Time t)
 
constexpr Time UniversalEpoch ()
 

Detailed Description

Definition at line 584 of file time.h.

Constructor & Destructor Documentation

constexpr absl::Time::Time ( )
default
constexpr absl::Time::Time ( const Time t)
default
constexpr absl::Time::Time ( Duration  rep)
inlineexplicitprivate

Definition at line 665 of file time.h.

Member Function Documentation

absl::Time::Breakdown absl::Time::In ( absl::TimeZone  tz) const

Definition at line 200 of file time.cc.

Time& absl::Time::operator+= ( Duration  d)
inline

Definition at line 604 of file time.h.

Time& absl::Time::operator-= ( Duration  d)
inline

Definition at line 608 of file time.h.

Time& absl::Time::operator= ( const Time t)
default

Friends And Related Function Documentation

template<typename H >
H AbslHashValue ( h,
Time  t 
)
friend

Definition at line 652 of file time.h.

constexpr Time InfiniteFuture ( )
friend

Definition at line 701 of file time.h.

constexpr Time InfinitePast ( )
friend

Definition at line 709 of file time.h.

Duration operator- ( Time  lhs,
Time  rhs 
)
friend

Definition at line 681 of file time.h.

constexpr bool operator< ( Time  lhs,
Time  rhs 
)
friend

Definition at line 670 of file time.h.

constexpr bool operator== ( Time  lhs,
Time  rhs 
)
friend

Definition at line 674 of file time.h.

constexpr Duration time_internal::ToUnixDuration ( Time  t)
friend
constexpr Time UniversalEpoch ( )
friend

Definition at line 692 of file time.h.

Member Data Documentation

Duration absl::Time::rep_
private

Definition at line 666 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