Namespaces | Classes | Typedefs | Enumerations | Functions
absl::time_internal::cctz::detail Namespace Reference

Namespaces

 impl
 

Classes

class  civil_time
 
struct  day_tag
 
struct  fields
 
struct  hour_tag
 
struct  minute_tag
 
struct  month_tag
 
struct  second_tag
 
struct  year_tag
 

Typedefs

using civil_day = civil_time< day_tag >
 
using civil_hour = civil_time< hour_tag >
 
using civil_minute = civil_time< minute_tag >
 
using civil_month = civil_time< month_tag >
 
using civil_second = civil_time< second_tag >
 
using civil_year = civil_time< year_tag >
 
using day_t = std::int_fast8_t
 
using femtoseconds = std::chrono::duration< std::int_fast64_t, std::femto >
 
using hour_t = std::int_fast8_t
 
using minute_t = std::int_fast8_t
 
using month_t = std::int_fast8_t
 
using second_t = std::int_fast8_t
 

Enumerations

enum  weekday {
  weekday::monday, weekday::tuesday, weekday::wednesday, weekday::thursday,
  weekday::friday, weekday::saturday, weekday::sunday
}
 

Functions

CONSTEXPR_F fields align (second_tag, fields f) noexcept
 
CONSTEXPR_F fields align (minute_tag, fields f) noexcept
 
CONSTEXPR_F fields align (hour_tag, fields f) noexcept
 
CONSTEXPR_F fields align (day_tag, fields f) noexcept
 
CONSTEXPR_F fields align (month_tag, fields f) noexcept
 
CONSTEXPR_F fields align (year_tag, fields f) noexcept
 
CONSTEXPR_F diff_t difference (year_tag, fields f1, fields f2) noexcept
 
CONSTEXPR_F diff_t difference (month_tag, fields f1, fields f2) noexcept
 
CONSTEXPR_F diff_t difference (day_tag, fields f1, fields f2) noexcept
 
CONSTEXPR_F diff_t difference (hour_tag, fields f1, fields f2) noexcept
 
CONSTEXPR_F diff_t difference (minute_tag, fields f1, fields f2) noexcept
 
CONSTEXPR_F diff_t difference (second_tag, fields f1, fields f2) noexcept
 
std::string format (const std::string &, const time_point< seconds > &, const femtoseconds &, const time_zone &)
 
CONSTEXPR_F weekday get_weekday (const civil_day &cd) noexcept
 
CONSTEXPR_F int get_yearday (const civil_day &cd) noexcept
 
CONSTEXPR_F civil_day next_weekday (civil_day cd, weekday wd) noexcept
 
template<typename T1 , typename T2 >
CONSTEXPR_F bool operator!= (const civil_time< T1 > &lhs, const civil_time< T2 > &rhs) noexcept
 
template<typename T , typename U >
CONSTEXPR_F diff_t operator- (civil_time< T >, civil_time< U >)=delete
 
template<typename T1 , typename T2 >
CONSTEXPR_F bool operator< (const civil_time< T1 > &lhs, const civil_time< T2 > &rhs) noexcept
 
std::ostream & operator<< (std::ostream &os, const civil_year &y)
 
std::ostream & operator<< (std::ostream &os, const civil_month &m)
 
std::ostream & operator<< (std::ostream &os, const civil_day &d)
 
std::ostream & operator<< (std::ostream &os, const civil_hour &h)
 
std::ostream & operator<< (std::ostream &os, const civil_minute &m)
 
std::ostream & operator<< (std::ostream &os, const civil_second &s)
 
std::ostream & operator<< (std::ostream &os, weekday wd)
 
template<typename T1 , typename T2 >
CONSTEXPR_F bool operator<= (const civil_time< T1 > &lhs, const civil_time< T2 > &rhs) noexcept
 
template<typename T1 , typename T2 >
CONSTEXPR_F bool operator== (const civil_time< T1 > &lhs, const civil_time< T2 > &rhs) noexcept
 
template<typename T1 , typename T2 >
CONSTEXPR_F bool operator> (const civil_time< T1 > &lhs, const civil_time< T2 > &rhs) noexcept
 
template<typename T1 , typename T2 >
CONSTEXPR_F bool operator>= (const civil_time< T1 > &lhs, const civil_time< T2 > &rhs) noexcept
 
bool parse (const std::string &, const std::string &, const time_zone &, time_point< seconds > *, femtoseconds *, std::string *err=nullptr)
 
CONSTEXPR_F civil_day prev_weekday (civil_day cd, weekday wd) noexcept
 
template<typename D >
std::pair< time_point< seconds >, D > split_seconds (const time_point< D > &tp)
 
std::pair< time_point< seconds >, secondssplit_seconds (const time_point< seconds > &tp)
 
CONSTEXPR_F fields step (second_tag, fields f, diff_t n) noexcept
 
CONSTEXPR_F fields step (minute_tag, fields f, diff_t n) noexcept
 
CONSTEXPR_F fields step (hour_tag, fields f, diff_t n) noexcept
 
CONSTEXPR_F fields step (day_tag, fields f, diff_t n) noexcept
 
CONSTEXPR_F fields step (month_tag, fields f, diff_t n) noexcept
 
CONSTEXPR_F fields step (year_tag, fields f, diff_t n) noexcept
 

Typedef Documentation

Definition at line 474 of file civil_time_detail.h.

Definition at line 475 of file civil_time_detail.h.

Definition at line 476 of file civil_time_detail.h.

Definition at line 473 of file civil_time_detail.h.

Definition at line 477 of file civil_time_detail.h.

Definition at line 472 of file civil_time_detail.h.

using absl::time_internal::cctz::detail::day_t = typedef std::int_fast8_t

Definition at line 49 of file civil_time_detail.h.

using absl::time_internal::cctz::detail::femtoseconds = typedef std::chrono::duration<std::int_fast64_t, std::femto>

Definition at line 279 of file time_zone.h.

using absl::time_internal::cctz::detail::hour_t = typedef std::int_fast8_t

Definition at line 50 of file civil_time_detail.h.

using absl::time_internal::cctz::detail::minute_t = typedef std::int_fast8_t

Definition at line 51 of file civil_time_detail.h.

using absl::time_internal::cctz::detail::month_t = typedef std::int_fast8_t

Definition at line 48 of file civil_time_detail.h.

using absl::time_internal::cctz::detail::second_t = typedef std::int_fast8_t

Definition at line 52 of file civil_time_detail.h.

Enumeration Type Documentation

Enumerator
monday 
tuesday 
wednesday 
thursday 
friday 
saturday 
sunday 

Definition at line 528 of file civil_time_detail.h.

Function Documentation

CONSTEXPR_F fields absl::time_internal::cctz::detail::align ( second_tag  ,
fields  f 
)
noexcept

Definition at line 308 of file civil_time_detail.h.

CONSTEXPR_F fields absl::time_internal::cctz::detail::align ( minute_tag  ,
fields  f 
)
noexcept

Definition at line 311 of file civil_time_detail.h.

CONSTEXPR_F fields absl::time_internal::cctz::detail::align ( hour_tag  ,
fields  f 
)
noexcept

Definition at line 314 of file civil_time_detail.h.

CONSTEXPR_F fields absl::time_internal::cctz::detail::align ( day_tag  ,
fields  f 
)
noexcept

Definition at line 317 of file civil_time_detail.h.

CONSTEXPR_F fields absl::time_internal::cctz::detail::align ( month_tag  ,
fields  f 
)
noexcept

Definition at line 320 of file civil_time_detail.h.

CONSTEXPR_F fields absl::time_internal::cctz::detail::align ( year_tag  ,
fields  f 
)
noexcept

Definition at line 323 of file civil_time_detail.h.

CONSTEXPR_F diff_t absl::time_internal::cctz::detail::difference ( year_tag  ,
fields  f1,
fields  f2 
)
noexcept

Definition at line 286 of file civil_time_detail.h.

CONSTEXPR_F diff_t absl::time_internal::cctz::detail::difference ( month_tag  ,
fields  f1,
fields  f2 
)
noexcept

Definition at line 289 of file civil_time_detail.h.

CONSTEXPR_F diff_t absl::time_internal::cctz::detail::difference ( day_tag  ,
fields  f1,
fields  f2 
)
noexcept

Definition at line 292 of file civil_time_detail.h.

CONSTEXPR_F diff_t absl::time_internal::cctz::detail::difference ( hour_tag  ,
fields  f1,
fields  f2 
)
noexcept

Definition at line 295 of file civil_time_detail.h.

CONSTEXPR_F diff_t absl::time_internal::cctz::detail::difference ( minute_tag  ,
fields  f1,
fields  f2 
)
noexcept

Definition at line 298 of file civil_time_detail.h.

CONSTEXPR_F diff_t absl::time_internal::cctz::detail::difference ( second_tag  ,
fields  f1,
fields  f2 
)
noexcept

Definition at line 301 of file civil_time_detail.h.

std::string absl::time_internal::cctz::detail::format ( const std::string &  format,
const time_point< seconds > &  tp,
const femtoseconds fs,
const time_zone tz 
)

Definition at line 293 of file time_zone_format.cc.

CONSTEXPR_F weekday absl::time_internal::cctz::detail::get_weekday ( const civil_day cd)
noexcept

Definition at line 538 of file civil_time_detail.h.

CONSTEXPR_F int absl::time_internal::cctz::detail::get_yearday ( const civil_day cd)
noexcept

Definition at line 597 of file civil_time_detail.h.

CONSTEXPR_F civil_day absl::time_internal::cctz::detail::next_weekday ( civil_day  cd,
weekday  wd 
)
noexcept

Definition at line 557 of file civil_time_detail.h.

template<typename T1 , typename T2 >
CONSTEXPR_F bool absl::time_internal::cctz::detail::operator!= ( const civil_time< T1 > &  lhs,
const civil_time< T2 > &  rhs 
)
noexcept

Definition at line 521 of file civil_time_detail.h.

template<typename T , typename U >
CONSTEXPR_F diff_t absl::time_internal::cctz::detail::operator- ( civil_time< T >  ,
civil_time< U >   
)
delete
template<typename T1 , typename T2 >
CONSTEXPR_F bool absl::time_internal::cctz::detail::operator< ( const civil_time< T1 > &  lhs,
const civil_time< T2 > &  rhs 
)
noexcept

Definition at line 484 of file civil_time_detail.h.

std::ostream & absl::time_internal::cctz::detail::operator<< ( std::ostream &  os,
const civil_year y 
)

Definition at line 29 of file civil_time_detail.cc.

std::ostream & absl::time_internal::cctz::detail::operator<< ( std::ostream &  os,
const civil_month m 
)

Definition at line 34 of file civil_time_detail.cc.

std::ostream & absl::time_internal::cctz::detail::operator<< ( std::ostream &  os,
const civil_day d 
)

Definition at line 40 of file civil_time_detail.cc.

std::ostream & absl::time_internal::cctz::detail::operator<< ( std::ostream &  os,
const civil_hour h 
)

Definition at line 46 of file civil_time_detail.cc.

std::ostream & absl::time_internal::cctz::detail::operator<< ( std::ostream &  os,
const civil_minute m 
)

Definition at line 52 of file civil_time_detail.cc.

std::ostream & absl::time_internal::cctz::detail::operator<< ( std::ostream &  os,
const civil_second s 
)

Definition at line 58 of file civil_time_detail.cc.

std::ostream & absl::time_internal::cctz::detail::operator<< ( std::ostream &  os,
weekday  wd 
)

Definition at line 67 of file civil_time_detail.cc.

template<typename T1 , typename T2 >
CONSTEXPR_F bool absl::time_internal::cctz::detail::operator<= ( const civil_time< T1 > &  lhs,
const civil_time< T2 > &  rhs 
)
noexcept

Definition at line 499 of file civil_time_detail.h.

template<typename T1 , typename T2 >
CONSTEXPR_F bool absl::time_internal::cctz::detail::operator== ( const civil_time< T1 > &  lhs,
const civil_time< T2 > &  rhs 
)
noexcept

Definition at line 514 of file civil_time_detail.h.

template<typename T1 , typename T2 >
CONSTEXPR_F bool absl::time_internal::cctz::detail::operator> ( const civil_time< T1 > &  lhs,
const civil_time< T2 > &  rhs 
)
noexcept

Definition at line 509 of file civil_time_detail.h.

template<typename T1 , typename T2 >
CONSTEXPR_F bool absl::time_internal::cctz::detail::operator>= ( const civil_time< T1 > &  lhs,
const civil_time< T2 > &  rhs 
)
noexcept

Definition at line 504 of file civil_time_detail.h.

bool absl::time_internal::cctz::detail::parse ( const std::string &  format,
const std::string &  input,
const time_zone tz,
time_point< seconds > *  sec,
detail::femtoseconds fs,
std::string *  err = nullptr 
)

Definition at line 608 of file time_zone_format.cc.

CONSTEXPR_F civil_day absl::time_internal::cctz::detail::prev_weekday ( civil_day  cd,
weekday  wd 
)
noexcept

Definition at line 577 of file civil_time_detail.h.

template<typename D >
std::pair<time_point<seconds>, D> absl::time_internal::cctz::detail::split_seconds ( const time_point< D > &  tp)
inline

Definition at line 43 of file time_zone.h.

std::pair<time_point<seconds>, seconds> absl::time_internal::cctz::detail::split_seconds ( const time_point< seconds > &  tp)
inline

Definition at line 53 of file time_zone.h.

CONSTEXPR_F fields absl::time_internal::cctz::detail::step ( second_tag  ,
fields  f,
diff_t  n 
)
noexcept

Definition at line 223 of file civil_time_detail.h.

CONSTEXPR_F fields absl::time_internal::cctz::detail::step ( minute_tag  ,
fields  f,
diff_t  n 
)
noexcept

Definition at line 226 of file civil_time_detail.h.

CONSTEXPR_F fields absl::time_internal::cctz::detail::step ( hour_tag  ,
fields  f,
diff_t  n 
)
noexcept

Definition at line 229 of file civil_time_detail.h.

CONSTEXPR_F fields absl::time_internal::cctz::detail::step ( day_tag  ,
fields  f,
diff_t  n 
)
noexcept

Definition at line 232 of file civil_time_detail.h.

CONSTEXPR_F fields absl::time_internal::cctz::detail::step ( month_tag  ,
fields  f,
diff_t  n 
)
noexcept

Definition at line 235 of file civil_time_detail.h.

CONSTEXPR_F fields absl::time_internal::cctz::detail::step ( year_tag  ,
fields  f,
diff_t  n 
)
noexcept

Definition at line 238 of file civil_time_detail.h.



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