Namespaces

Enumerations

enum weekday
Name Value
monday 0
tuesday 1
wednesday 2
thursday 3
friday 4
saturday 5
sunday 6

/////////////////////////////////////////////////////////////////////

Defined at line 535 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

Records

Functions

  • fields step (second_tag , fields f, diff_t n)

    Increments the indicated (normalized) field by "n".

    Defined at line 240 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • fields step (minute_tag , fields f, diff_t n)

    Defined at line 243 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • fields step (hour_tag , fields f, diff_t n)

    Defined at line 246 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • fields step (day_tag , fields f, diff_t n)

    Defined at line 249 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • fields step (month_tag , fields f, diff_t n)

    Defined at line 252 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • fields step (year_tag , fields f, diff_t n)

    Defined at line 255 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • diff_t difference (year_tag , fields f1, fields f2)

    Returns the difference between fields structs using the indicated unit.

    Defined at line 303 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • diff_t difference (month_tag , fields f1, fields f2)

    Defined at line 306 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • diff_t difference (day_tag , fields f1, fields f2)

    Defined at line 309 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • diff_t difference (hour_tag , fields f1, fields f2)

    Defined at line 312 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • diff_t difference (minute_tag , fields f1, fields f2)

    Defined at line 315 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • diff_t difference (second_tag , fields f1, fields f2)

    Defined at line 318 of file ../../third_party/abseil-cpp/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 325 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • fields align (minute_tag , fields f)

    Defined at line 326 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • fields align (hour_tag , fields f)

    Defined at line 329 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • fields align (day_tag , fields f)

    Defined at line 332 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • fields align (month_tag , fields f)

    Defined at line 335 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • fields align (year_tag , fields f)

    Defined at line 338 of file ../../third_party/abseil-cpp/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/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/absl/time/internal/cctz/include/cctz/time_zone.h

  • std::string format (const std::string & , const time_point<seconds> & , const femtoseconds & , const time_zone & )
  • 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/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/absl/time/internal/cctz/include/cctz/time_zone.h

  • civil_time<T> operator+ (civil_time<T> a, diff_t n)

    Binary arithmetic operators.

    Defined at line 442 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • civil_time<T> operator+ (diff_t n, civil_time<T> a)

    Defined at line 445 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • civil_time<T> operator- (civil_time<T> a, diff_t n)

    Defined at line 448 of file ../../third_party/abseil-cpp/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)
  • bool join_seconds (const time_point<seconds> & sec, const femtoseconds & , time_point<seconds> * tpp)

    Defined at line 448 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h

  • diff_t operator- (civil_time<T> lhs, civil_time<T> rhs)

    Defined at line 453 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • template <typename H>
    H AbslHashValue (H h, civil_time<T> a)

    Defined at line 458 of file ../../third_party/abseil-cpp/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 477 of file ../../third_party/abseil-cpp/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 491 of file ../../third_party/abseil-cpp/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 521 of file ../../third_party/abseil-cpp/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/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • weekday get_weekday (const civil_second & cs)

    Defined at line 545 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • civil_day next_weekday (civil_day cd, weekday wd)

    /////////////////////////////////////////////////////////////////////

    Defined at line 564 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • civil_day prev_weekday (civil_day cd, weekday wd)

    Defined at line 584 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • int get_yearday (const civil_second & cs)

    Defined at line 604 of file ../../third_party/abseil-cpp/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)
  • 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>
    bool operator<= (const civil_time<T1> & lhs, const civil_time<T2> & rhs)

    Defined at line 506 of file ../../third_party/abseil-cpp/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 511 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h

  • template <typename T1typename T2>
    bool operator> (const civil_time<T1> & lhsconst civil_time<T2> & rhs)

    Defined at line 516 of file ../../third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/civil_time_detail.h