Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsLeap ¶
IsLeap return true for leap years, false for non-leap years.
Adapted from https://github.com/python/cpython/blob/main/Lib/calendar.py
func LeapDays ¶
LeapDays return number of leap years in range [y1, y2). Assume y1 <= y2.
Adapted from https://github.com/python/cpython/blob/main/Lib/calendar.py
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.