/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/scripts/ |
H A D | neo_ww_calculator.py | 23 _is_leap = yr % 400 == 0 or (yr % 4 == 0 and yr % 100 != 0) 24 _y_days = 366 if _is_leap else 365
|
/dports/lang/python27/Python-2.7.18/Demo/classes/ |
H A D | Dates.py | 62 def _is_leap(year): # 1 if leap year, else 0 function 68 return 365 + _is_leap(year) 74 if month == 2 and _is_leap(year): return 29 78 return _DAYS_BEFORE_MONTH[month-1] + (month > 2 and _is_leap(year))
|
/dports/lang/python-legacy/Python-2.7.18/Demo/classes/ |
H A D | Dates.py | 62 def _is_leap(year): # 1 if leap year, else 0 function 68 return 365 + _is_leap(year) 74 if month == 2 and _is_leap(year): return 29 78 return _DAYS_BEFORE_MONTH[month-1] + (month > 2 and _is_leap(year))
|
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/ |
H A D | Dates.py | 62 def _is_leap(year): # 1 if leap year, else 0 function 68 return 365 + _is_leap(year) 74 if month == 2 and _is_leap(year): return 29 78 return _DAYS_BEFORE_MONTH[month-1] + (month > 2 and _is_leap(year))
|
/dports/devel/py-pendulum/pendulum-2.1.1/pendulum/_extensions/ |
H A D | _helpers.c | 96 int _is_leap(int year) { in _is_leap() function 120 if (_is_leap(year)) { in _days_in_year() 331 leap = PyBool_FromLong(_is_leap(year)); in is_leap() 409 if (_is_leap(year) && month < 3) { in timestamp() 791 leap = _is_leap(year); in precise_diff() 794 days_in_month = DAYS_PER_MONTHS[_is_leap(dt2_year)][dt2_month]; in precise_diff()
|
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/tsa/base/ |
H A D | datetools.py | 59 def _is_leap(year): function 80 if _is_leap(y) and month == 2:
|
/dports/databases/py-gdbm/Python-3.8.12/Lib/ |
H A D | datetime.py | 37 def _is_leap(year): function 49 if month == 2 and _is_leap(year): 56 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year)) 132 assert leapyear == _is_leap(year) 904 _is_leap(year))): 2512 _format_time, _format_offset, _is_leap, _isoweek1monday, _math,
|
/dports/databases/py-sqlite3/Python-3.8.12/Lib/ |
H A D | datetime.py | 37 def _is_leap(year): function 49 if month == 2 and _is_leap(year): 56 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year)) 132 assert leapyear == _is_leap(year) 904 _is_leap(year))): 2512 _format_time, _format_offset, _is_leap, _isoweek1monday, _math,
|
/dports/lang/python310/Python-3.10.1/Lib/ |
H A D | datetime.py | 42 def _is_leap(year): function 54 if month == 2 and _is_leap(year): 61 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year)) 137 assert leapyear == _is_leap(year) 877 _is_leap(year))): 2516 _format_time, _format_offset, _index, _is_leap, _isoweek1monday, _math,
|
/dports/lang/python38/Python-3.8.12/Lib/ |
H A D | datetime.py | 37 def _is_leap(year): function 49 if month == 2 and _is_leap(year): 56 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year)) 132 assert leapyear == _is_leap(year) 904 _is_leap(year))): 2512 _format_time, _format_offset, _is_leap, _isoweek1monday, _math,
|
/dports/lang/python-tools/Python-3.8.12/Lib/ |
H A D | datetime.py | 37 def _is_leap(year): function 49 if month == 2 and _is_leap(year): 56 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year)) 132 assert leapyear == _is_leap(year) 904 _is_leap(year))): 2512 _format_time, _format_offset, _is_leap, _isoweek1monday, _math,
|
/dports/lang/python39/Python-3.9.9/Lib/ |
H A D | datetime.py | 41 def _is_leap(year): function 53 if month == 2 and _is_leap(year): 60 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year)) 136 assert leapyear == _is_leap(year) 908 _is_leap(year))): 2547 _format_time, _format_offset, _is_leap, _isoweek1monday, _math,
|
/dports/lang/python311/Python-3.11.0a3/Lib/ |
H A D | datetime.py | 42 def _is_leap(year): function 54 if month == 2 and _is_leap(year): 61 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year)) 137 assert leapyear == _is_leap(year) 877 _is_leap(year))): 2516 _format_time, _format_offset, _index, _is_leap, _isoweek1monday, _math,
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/ |
H A D | datetime.py | 37 def _is_leap(year): function 49 if month == 2 and _is_leap(year): 56 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year)) 132 assert leapyear == _is_leap(year) 904 _is_leap(year))): 2512 _format_time, _format_offset, _is_leap, _isoweek1monday, _math,
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/google-endpoints/future/backports/ |
H A D | datetime.py | 46 def _is_leap(year): function 58 if month == 2 and _is_leap(year): 65 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year)) 141 assert leapyear == _is_leap(year) 2145 _days_before_year, _days_in_month, _format_time, _is_leap,
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/future/backports/ |
H A D | datetime.py | 46 def _is_leap(year): 58 if month == 2 and _is_leap(year): 65 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year)) 141 assert leapyear == _is_leap(year) 2145 _days_before_year, _days_in_month, _format_time, _is_leap,
|
/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.jython_8.2.0.202102211157/Lib/ |
H A D | datetime.py | 51 def _is_leap(year): function 57 return 365 + _is_leap(year) 67 if month == 2 and _is_leap(year): 75 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year)) 153 assert leapyear == _is_leap(year)
|
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/future/backports/ |
H A D | datetime.py | 46 def _is_leap(year): function 58 if month == 2 and _is_leap(year): 65 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year)) 141 assert leapyear == _is_leap(year) 2145 _days_before_year, _days_in_month, _format_time, _is_leap,
|
/dports/devel/py-future/future-0.18.2/src/future/backports/ |
H A D | datetime.py | 46 def _is_leap(year): function 58 if month == 2 and _is_leap(year): 65 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year)) 141 assert leapyear == _is_leap(year) 2145 _days_before_year, _days_in_month, _format_time, _is_leap,
|
/dports/lang/python37/Python-3.7.12/Lib/ |
H A D | datetime.py | 37 def _is_leap(year): function 49 if month == 2 and _is_leap(year): 56 return _DAYS_BEFORE_MONTH[month] + (month > 2 and _is_leap(year)) 132 assert leapyear == _is_leap(year) 2467 _format_time, _format_offset, _is_leap, _isoweek1monday, _math,
|
/dports/devel/py-cftime/cftime-1.0.3.4/cftime/ |
H A D | _cftime.pyx | 1583 return _is_leap(year, calendar='julian') 1587 return _is_leap(year, calendar='proleptic_gregorian') 1591 return _is_leap(year, calendar='standard') 1775 cdef _is_leap(int year, calendar): function 1861 leap = _is_leap(year,calendar) 1962 if _is_leap(year, calendar):
|