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

◆ civil_day

Definition at line 474 of file civil_time_detail.h.

◆ civil_hour

Definition at line 475 of file civil_time_detail.h.

◆ civil_minute

Definition at line 476 of file civil_time_detail.h.

◆ civil_month

Definition at line 473 of file civil_time_detail.h.

◆ civil_second

Definition at line 477 of file civil_time_detail.h.

◆ civil_year

Definition at line 472 of file civil_time_detail.h.

◆ day_t

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

Definition at line 49 of file civil_time_detail.h.

◆ femtoseconds

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.

◆ hour_t

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

Definition at line 50 of file civil_time_detail.h.

◆ minute_t

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

Definition at line 51 of file civil_time_detail.h.

◆ month_t

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

Definition at line 48 of file civil_time_detail.h.

◆ second_t

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

◆ weekday

Enumerator
monday 
tuesday 
wednesday 
thursday 
friday 
saturday 
sunday 

Definition at line 528 of file civil_time_detail.h.

Function Documentation

◆ align() [1/6]

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

Definition at line 308 of file civil_time_detail.h.

◆ align() [2/6]

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

Definition at line 311 of file civil_time_detail.h.

◆ align() [3/6]

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

Definition at line 314 of file civil_time_detail.h.

◆ align() [4/6]

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

Definition at line 317 of file civil_time_detail.h.

◆ align() [5/6]

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

Definition at line 320 of file civil_time_detail.h.

◆ align() [6/6]

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

Definition at line 323 of file civil_time_detail.h.

◆ difference() [1/6]

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.

◆ difference() [2/6]

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.

◆ difference() [3/6]

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.

◆ difference() [4/6]

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.

◆ difference() [5/6]

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.

◆ difference() [6/6]

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.

◆ format()

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.

◆ get_weekday()

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.

◆ get_yearday()

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.

◆ next_weekday()

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.

◆ operator!=()

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.

◆ operator-()

template<typename T , typename U >
CONSTEXPR_F diff_t absl::time_internal::cctz::detail::operator- ( civil_time< T >  ,
civil_time< U >   
)
delete

◆ operator<()

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.

◆ operator<<() [1/7]

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.

◆ operator<<() [2/7]

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.

◆ operator<<() [3/7]

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.

◆ operator<<() [4/7]

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.

◆ operator<<() [5/7]

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.

◆ operator<<() [6/7]

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.

◆ operator<<() [7/7]

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

Definition at line 67 of file civil_time_detail.cc.

◆ operator<=()

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.

◆ operator==()

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.

◆ operator>()

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.

◆ operator>=()

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.

◆ parse()

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.

◆ prev_weekday()

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.

◆ split_seconds() [1/2]

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.

◆ split_seconds() [2/2]

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.

◆ step() [1/6]

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.

◆ step() [2/6]

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.

◆ step() [3/6]

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.

◆ step() [4/6]

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.

◆ step() [5/6]

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.

◆ step() [6/6]

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