Home
last modified time | relevance | path

Searched refs:is_leap_year (Results 1 – 7 of 7) sorted by relevance

/external/openscreen/cast/sender/channel/
Dcast_auth_util_unittest.cc51 bool is_leap_year = in ConvertTimeSeconds() local
54 time.day > (kDaysPerMonth[time.month - 1] + is_leap_year) || in ConvertTimeSeconds()
100 if (time.month >= 3 && is_leap_year) { in ConvertTimeSeconds()
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/include/cctz/
Dcivil_time_detail.h83 CONSTEXPR_F bool is_leap_year(year_t y) noexcept { in is_leap_year() function
98 return is_leap_year(y + (m > 2)) ? 366 : 365; in days_per_year()
104 return k_days_per_month[m] + (m == 2 && is_leap_year(y)); in days_per_month()
608 const int feb29 = (cs.month() > 2 && impl::is_leap_year(cs.year())); in get_yearday()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/
Dcivil_time_detail.h83 CONSTEXPR_F bool is_leap_year(year_t y) noexcept { in is_leap_year() function
98 return is_leap_year(y + (m > 2)) ? 366 : 365; in days_per_year()
104 return k_days_per_month[m] + (m == 2 && is_leap_year(y)); in days_per_month()
608 const int feb29 = (cs.month() > 2 && impl::is_leap_year(cs.year())); in get_yearday()
/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/include/cctz/
Dcivil_time_detail.h83 CONSTEXPR_F bool is_leap_year(year_t y) noexcept { in is_leap_year() function
98 return is_leap_year(y + (m > 2)) ? 366 : 365; in days_per_year()
104 return k_days_per_month[m] + (m == 2 && is_leap_year(y)); in days_per_month()
604 const int feb29 = (cs.month() > 2 && impl::is_leap_year(cs.year())); in get_yearday()
/external/abseil-cpp/absl/time/internal/cctz/include/cctz/
Dcivil_time_detail.h83 CONSTEXPR_F bool is_leap_year(year_t y) noexcept { in is_leap_year() function
98 return is_leap_year(y + (m > 2)) ? 366 : 365; in days_per_year()
104 return k_days_per_month[m] + (m == 2 && is_leap_year(y)); in days_per_month()
598 const int feb29 = (cs.month() > 2 && impl::is_leap_year(cs.year())); in get_yearday()
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/include/cctz/
Dcivil_time_detail.h83 CONSTEXPR_F bool is_leap_year(year_t y) noexcept { in is_leap_year() function
98 return is_leap_year(y + (m > 2)) ? 366 : 365; in days_per_year()
104 return k_days_per_month[m] + (m == 2 && is_leap_year(y)); in days_per_month()
598 const int feb29 = (cs.month() > 2 && impl::is_leap_year(cs.year())); in get_yearday()
/external/python/cpython3/Modules/
D_zoneinfo.c161 is_leap_year(int year);
1167 if (self->month == 2 && is_leap_year(year)) { in calendarrule_year_to_timestamp()
1285 if (self->julian && day >= 59 && is_leap_year(year)) { in dayrule_year_to_timestamp()
2164 is_leap_year(int year) in is_leap_year() function
2177 if (m > 2 && is_leap_year(y + 1)) { in ymd_to_ord()