Namespaces | Classes | Functions | Variables
absl::time_internal Namespace Reference

Namespaces

namespace  cctz
namespace  cctz_extension

Classes

struct  day_tag
struct  hour_tag
struct  minute_tag
struct  month_tag
struct  second_tag
struct  year_tag

Functions

 bool ())
template<typename Rep , typename Period >
constexpr Duration FromChrono (const std::chrono::duration< Rep, Period > &d)
template<std::intmax_t N>
constexpr Duration FromInt64 (int64_t v, std::ratio< 1, N >)
constexpr Duration FromInt64 (int64_t v, std::ratio< 60 >)
constexpr Duration FromInt64 (int64_t v, std::ratio< 3600 >)
constexpr Time FromUnixDuration (Duration d)
constexpr int64_t GetRepHi (Duration d)
constexpr uint32_t GetRepLo (Duration d)
int64_t IDivDuration (bool satq, const Duration num, const Duration den, Duration *rem)
constexpr bool IsInfiniteDuration (Duration d)
template<typename T >
constexpr auto IsValidRep64 (int)-> decltype(int64_t
template<typename T >
constexpr auto IsValidRep64 (char)-> bool
TimeZone LoadTimeZone (const std::string &name)
constexpr Duration MakeDuration (int64_t hi, uint32_t lo)
constexpr Duration MakeDuration (int64_t hi, int64_t lo)
constexpr Duration MakeNormalizedDuration (int64_t sec, int64_t ticks)
Duration MakePosDoubleDuration (double n)
constexpr int64_t NegateAndSubtractOne (int64_t n)
std::ostream & operator<< (std::ostream &os, CivilYear y)
std::ostream & operator<< (std::ostream &os, CivilMonth m)
std::ostream & operator<< (std::ostream &os, CivilDay d)
std::ostream & operator<< (std::ostream &os, CivilHour h)
std::ostream & operator<< (std::ostream &os, CivilMinute m)
std::ostream & operator<< (std::ostream &os, CivilSecond s)
constexpr Duration OppositeInfinity (Duration d)
template<typename T >
ToChronoDuration (Duration d)
template<typename Ratio >
int64_t ToInt64 (Duration d, Ratio)
int64_t ToInt64 (Duration d, std::nano)
int64_t ToInt64 (Duration d, std::micro)
int64_t ToInt64 (Duration d, std::milli)
int64_t ToInt64 (Duration d, std::ratio< 1 >)
int64_t ToInt64 (Duration d, std::ratio< 60 >)
int64_t ToInt64 (Duration d, std::ratio< 3600 >)
constexpr Duration ToUnixDuration (Time t)

Variables

constexpr int64_t kTicksPerNanosecond = 4
constexpr int64_t kTicksPerSecond = 1000 * 1000 * 1000 * kTicksPerNanosecond

Function Documentation

Definition at line 1395 of file time.h.

template<typename Rep , typename Period >
constexpr Duration absl::time_internal::FromChrono ( const std::chrono::duration< Rep, Period > &  d)

Definition at line 1405 of file time.h.

template<std::intmax_t N>
constexpr Duration absl::time_internal::FromInt64 ( int64_t  v,
std::ratio< 1, N >   
)

Definition at line 1372 of file time.h.

constexpr Duration absl::time_internal::FromInt64 ( int64_t  v,
std::ratio< 60 >   
)

Definition at line 1378 of file time.h.

constexpr Duration absl::time_internal::FromInt64 ( int64_t  v,
std::ratio< 3600 >   
)

Definition at line 1384 of file time.h.

constexpr Time absl::time_internal::FromUnixDuration ( Duration  d)

Definition at line 1368 of file time.h.

constexpr int64_t absl::time_internal::GetRepHi ( Duration  d)

Definition at line 1343 of file time.h.

constexpr uint32_t absl::time_internal::GetRepLo ( Duration  d)

Definition at line 1344 of file time.h.

int64_t absl::time_internal::IDivDuration ( bool  satq,
const Duration  num,
const Duration  den,
Duration *  rem 
)

Definition at line 350 of file duration.cc.

constexpr bool absl::time_internal::IsInfiniteDuration ( Duration  d)

Definition at line 1347 of file time.h.

template<typename T >
constexpr auto absl::time_internal::IsValidRep64 ( int  )

Definition at line 1394 of file time.h.

template<typename T >
constexpr auto absl::time_internal::IsValidRep64 ( char  )

Definition at line 1399 of file time.h.

absl::TimeZone absl::time_internal::LoadTimeZone ( const std::string &  name)

Definition at line 29 of file test_util.cc.

constexpr Duration absl::time_internal::MakeDuration ( int64_t  hi,
uint32_t  lo = 0 
)

Definition at line 1313 of file time.h.

constexpr Duration absl::time_internal::MakeDuration ( int64_t  hi,
int64_t  lo 
)

Definition at line 1317 of file time.h.

constexpr Duration absl::time_internal::MakeNormalizedDuration ( int64_t  sec,
int64_t  ticks 
)

Definition at line 1337 of file time.h.

Definition at line 1324 of file time.h.

constexpr int64_t absl::time_internal::NegateAndSubtractOne ( int64_t  n)

Definition at line 1358 of file time.h.

std::ostream& absl::time_internal::operator<< ( std::ostream &  os,
CivilYear  y 
) [static]

Definition at line 62 of file civil_time.cc.

std::ostream & absl::time_internal::operator<< ( std::ostream &  os,
CivilMonth  m 
)

Definition at line 65 of file civil_time.cc.

std::ostream & absl::time_internal::operator<< ( std::ostream &  os,
CivilDay  d 
)

Definition at line 68 of file civil_time.cc.

std::ostream & absl::time_internal::operator<< ( std::ostream &  os,
CivilHour  h 
)

Definition at line 71 of file civil_time.cc.

std::ostream & absl::time_internal::operator<< ( std::ostream &  os,
CivilMinute  m 
)

Definition at line 74 of file civil_time.cc.

std::ostream & absl::time_internal::operator<< ( std::ostream &  os,
CivilSecond  s 
)

Definition at line 77 of file civil_time.cc.

Definition at line 1351 of file time.h.

template<typename T >
T absl::time_internal::ToChronoDuration ( Duration  d)

Definition at line 1438 of file time.h.

template<typename Ratio >
int64_t absl::time_internal::ToInt64 ( Duration  d,
Ratio   
)

Definition at line 1411 of file time.h.

int64_t absl::time_internal::ToInt64 ( Duration  d,
std::nano   
) [inline]

Definition at line 1417 of file time.h.

int64_t absl::time_internal::ToInt64 ( Duration  d,
std::micro   
) [inline]

Definition at line 1420 of file time.h.

int64_t absl::time_internal::ToInt64 ( Duration  d,
std::milli   
) [inline]

Definition at line 1423 of file time.h.

int64_t absl::time_internal::ToInt64 ( Duration  d,
std::ratio< 1 >   
) [inline]

Definition at line 1426 of file time.h.

int64_t absl::time_internal::ToInt64 ( Duration  d,
std::ratio< 60 >   
) [inline]

Definition at line 1429 of file time.h.

int64_t absl::time_internal::ToInt64 ( Duration  d,
std::ratio< 3600 >   
) [inline]

Definition at line 1432 of file time.h.

Definition at line 1369 of file time.h.


Variable Documentation

Definition at line 98 of file time.h.

constexpr int64_t absl::time_internal::kTicksPerSecond = 1000 * 1000 * 1000 * kTicksPerNanosecond

Definition at line 99 of file time.h.



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