Namespaces
Enumerations
enum class weekday
| Name | Value |
|---|---|
| monday | 0 |
| tuesday | 1 |
| wednesday | 2 |
| thursday | 3 |
| friday | 4 |
| saturday | 5 |
| sunday | 6 |
/////////////////////////////////////////////////////////////////////
Defined at line 547 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
Records
Functions
-
fields step (second_tag,fieldsf,diff_tn)Increments the indicated (normalized) field by "n".
Defined at line 252 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
fields step (minute_tag,fieldsf,diff_tn)Defined at line 255 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
fields step (hour_tag,fieldsf,diff_tn)Defined at line 258 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
fields step (day_tag,fieldsf,diff_tn)Defined at line 261 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
fields step (month_tag,fieldsf,diff_tn)Defined at line 264 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
fields step (year_tag,fieldsf,diff_tn)Defined at line 267 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
diff_t difference (year_tag,fieldsf1,fieldsf2)Returns the difference between fields structs using the indicated unit.
Defined at line 315 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
diff_t difference (month_tag,fieldsf1,fieldsf2)Defined at line 318 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
diff_t difference (day_tag,fieldsf1,fieldsf2)Defined at line 321 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
diff_t difference (hour_tag,fieldsf1,fieldsf2)Defined at line 324 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
diff_t difference (minute_tag,fieldsf1,fieldsf2)Defined at line 327 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
diff_t difference (second_tag,fieldsf1,fieldsf2)Defined at line 330 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
fields align (second_tag , fields f)Aligns the (normalized) fields struct to the indicated field.
Defined at line 337 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
fields align (minute_tag , fields f)Defined at line 338 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
fields align (hour_tag , fields f)Defined at line 341 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
fields align (day_tag , fields f)Defined at line 344 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
fields align (month_tag , fields f)Defined at line 347 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
fields align (year_tag , fields f)Defined at line 350 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
template <typename D>std::pair<time_point<seconds>, D> split_seconds (const time_point<D> & tp)Split a time_point
<D
> into a time_point
<seconds
> and a D subseconds.
Undefined behavior if time_point
<seconds
> is not of sufficient range.
Note that this means it is UB to call cctz::time_zone::lookup(tp) or
cctz::format(fmt, tp, tz) with a time_point that is outside the range
of a 64-bit std::time_t.
Defined at line 389 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/time_zone.h
-
std::pair<time_point<seconds>, seconds> split_seconds (const time_point<seconds> & tp)Defined at line 399 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/time_zone.h
-
std::string format (const std::string &,const time_point<seconds> &,const femtoseconds &,const time_zone &) -
civil_time<T> operator+ (civil_time<T> a, diff_t n)Binary arithmetic operators.
Defined at line 454 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
civil_time<T> operator+ (diff_t n, civil_time<T> a)Defined at line 457 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
civil_time<T> operator- (civil_time<T> a, diff_t n)Defined at line 460 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
diff_t operator- (civil_time<T> lhs, civil_time<T> rhs)Defined at line 465 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
template <typename H>H AbslHashValue (H h, civil_time<T> a)Defined at line 470 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
template <typename T, typename U>diff_t operator- (civil_time<T> , civil_time<U> )Disallows difference between differently aligned types.
auto n = civil_day(...) - civil_hour(...); // would be confusing.
Defined at line 489 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
template <typename T1, typename T2>bool operator< (const civil_time<T1> & lhs, const civil_time<T2> & rhs)Relational operators that work with differently aligned objects.
Always compares all six fields.
Defined at line 503 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
template <typename T1, typename T2>bool operator<= (const civil_time<T1> & lhs, const civil_time<T2> & rhs)Defined at line 518 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
template <typename T1, typename T2>bool operator>= (const civil_time<T1> & lhs, const civil_time<T2> & rhs)Defined at line 523 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
template <typename T1, typename T2>bool operator> (const civil_time<T1> & lhs, const civil_time<T2> & rhs)Defined at line 528 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
template <typename T1, typename T2>bool operator== (const civil_time<T1> & lhs, const civil_time<T2> & rhs)Defined at line 533 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
template <typename T1, typename T2>bool operator!= (const civil_time<T1> & lhs, const civil_time<T2> & rhs)Defined at line 540 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
weekday get_weekday (const civil_second & cs)Defined at line 557 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
civil_day next_weekday (civil_day cd, weekday wd)/////////////////////////////////////////////////////////////////////
Defined at line 576 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
bool parse (const std::string &,const std::string &,const time_zone &,time_point<seconds> *,femtoseconds *,std::string *err) -
template <typename Rep, std::intmax_t Denom>bool join_seconds (const time_point<seconds> &sec,const femtoseconds &fs,time_point<std::chrono::duration<Rep, std::ratio<1, Denom>>> *tpp)Join a time_point
<seconds
> and femto subseconds into a time_point
<D
>.
Floors to the resolution of time_point
<D
>. Returns false if time_point
<D
>
is not of sufficient range.
Defined at line 408 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/time_zone.h
-
template <typename Rep>bool join_seconds (const time_point<seconds> &sec,const femtoseconds &fs,time_point<std::chrono::duration<Rep, std::ratio<1, 1>>> *tpp)Defined at line 437 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/time_zone.h
-
bool join_seconds (const time_point<seconds> &sec,const femtoseconds &,time_point<seconds> *tpp)Defined at line 448 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/time_zone.h
-
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) -
civil_day prev_weekday (civil_day cd, weekday wd)Defined at line 596 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
int get_yearday (const civil_second & cs)Defined at line 616 of file ../../third_party/abseil-cpp/src/absl/time/internal/cctz/include/cctz/civil_time_detail.h
-
std::ostream & operator<< (std::ostream & os, const civil_year & y)/////////////////////////////////////////////////////////////////////
-
std::ostream & operator<< (std::ostream & os, const civil_month & m)