Searched refs:is_leap_year (Results 1 – 7 of 7) sorted by relevance
51 bool is_leap_year = in ConvertTimeSeconds() local54 time.day > (kDaysPerMonth[time.month - 1] + is_leap_year) || in ConvertTimeSeconds()100 if (time.month >= 3 && is_leap_year) { in ConvertTimeSeconds()
83 CONSTEXPR_F bool is_leap_year(year_t y) noexcept { in is_leap_year() function98 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()
83 CONSTEXPR_F bool is_leap_year(year_t y) noexcept { in is_leap_year() function98 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()
83 CONSTEXPR_F bool is_leap_year(year_t y) noexcept { in is_leap_year() function98 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()
161 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() function2177 if (m > 2 && is_leap_year(y + 1)) { in ymd_to_ord()