Functions

  • bool is_leap_year (year_t y)

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

  • int year_index (year_t y, month_t m)

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

  • int days_per_century (int yi)

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

  • int days_per_4years (int yi)

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

  • int days_per_year (year_t y, month_t m)

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

  • int days_per_month (year_t y, month_t m)

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

  • fields n_day (year_t y, month_t m, diff_t d, diff_t cd, hour_t hh, minute_t mm, second_t ss)

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

  • fields n_mon (year_t y, diff_t m, diff_t d, diff_t cd, hour_t hh, minute_t mm, second_t ss)

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

  • fields n_hour (year_t y, diff_t m, diff_t d, diff_t cd, diff_t hh, minute_t mm, second_t ss)

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

  • fields n_min (year_t y, diff_t m, diff_t d, diff_t hh, diff_t ch, diff_t mm, second_t ss)

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

  • fields n_sec (year_t y, diff_t m, diff_t d, diff_t hh, diff_t mm, diff_t ss)

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

  • diff_t scale_add (diff_t v, diff_t f, diff_t a)

    Returns (v * f + a) but avoiding intermediate overflow when possible.

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

  • diff_t ymd_ord (year_t y, month_t m, day_t d)

    Map a (normalized) Y/M/D to the number of days before/after 1970-01-01.

    Probably overflows for years outside [-292277022656:292277026595].

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

  • diff_t day_difference (year_t y1, month_t m1, day_t d1, year_t y2, month_t m2, day_t d2)

    Returns the difference in days between two normalized Y-M-D tuples.

    ymd_ord() will encounter integer overflow given extreme year values,

    yet the difference between two such extreme values may actually be

    small, so we take a little care to avoid overflow when possible by

    exploiting the 146097-day cycle.

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

  • template <typename H>
    H AbslHashValueImpl (second_tag , H h, fields f)

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

  • template <typename H>
    H AbslHashValueImpl (minute_tag , H h, fields f)

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

  • template <typename H>
    H AbslHashValueImpl (hour_tag , H h, fields f)

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

  • template <typename H>
    H AbslHashValueImpl (day_tag , H h, fields f)

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

  • template <typename H>
    H AbslHashValueImpl (month_tag , H h, fields f)

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

  • template <typename H>
    H AbslHashValueImpl (year_tag H hfields f)

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