OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:_DI400Y
(Results
1 - 3
of
3
) sorted by null
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
Dates.py
85
_DI400Y
= _days_before_year(400) # number of days in 400 years
95
n400 = (n-1)//
_DI400Y
# # of 400-year blocks preceding
96
year, n = 400 * n400, n -
_DI400Y
* n400
/external/python/cpython2/Demo/classes/
Dates.py
85
_DI400Y
= _days_before_year(400) # number of days in 400 years
95
n400 = (n-1)//
_DI400Y
# # of 400-year blocks preceding
96
year, n = 400 * n400, n -
_DI400Y
* n400
/external/python/cpython3/Lib/
datetime.py
66
_DI400Y
= _days_before_year(401) # number of days in 400 years
76
assert
_DI400Y
== 4 * _DI100Y + 1
90
# those divisible by
_DI400Y
:
94
# 31 Dec -400 -
_DI400Y
-
_DI400Y
-1
95
# 1 Jan -399 -
_DI400Y
+1 -
_DI400Y
400-year boundary
103
# 31 Dec 400
_DI400Y
_DI400Y
-1
104
# 1 Jan 401
_DI400Y
+1 _DI400Y 400-year boundar
[
all
...]
Completed in 204 milliseconds