def _autumn_equinox(y):
"""???????????????????9???????????
"""
if y <= 1947:
d = 0
elif y <= 1979:
d = math.floor(
23.2588 + 0.242194 * (y - 1980) - math.floor((y - 1980) / 4))
elif y <= 2099:
d = math.floor(
23.2488 + 0.242194 * (y - 1980) - math.floor((y - 1980) / 4))
elif y <= 2150:
d = math.floor(
24.2488 + 0.242194 * (y - 1980) - math.floor((y - 1980) / 4))
else:
d = 99
return d
评论列表
文章目录