commit | e11b510a5b35378572aca75dae7e9174756da5da | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Wed Dec 25 16:37:19 2002 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Wed Dec 25 16:37:19 2002 +0000 |
tree | 56503c8fcfc28cb5a9c4beb7ee6cb6abce16c0a7 | |
parent | 80475bb4d21d1e5ddbb9eb0042adb1113052b38a [diff] |
SF 658405: calendar.py to rely on the datetime module instead of the time module. The code is shorter, more readable, faster, and dramatically increases the range of acceptable dates. Also, used the floor division operator in leapdays().