Searched refs:_is_leap (Results 1 – 2 of 2) sorted by relevance
62 def _is_leap(year): # 1 if leap year, else 0 function68 return 365 + _is_leap(year)74 if month == 2 and _is_leap(year): return 2978 return _DAYS_BEFORE_MONTH[month-1] + (month > 2 and _is_leap(year))
36 def _is_leap(year): function48 if month == 2 and _is_leap(year):55 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year))131 assert leapyear == _is_leap(year)2273 _format_time, _is_leap, _isoweek1monday, _math, _ord2ymd,