(when)
| 61 | # A complete implementation of current DST rules for major US time zones. |
| 62 | |
| 63 | def first_sunday_on_or_after(when): |
| 64 | days_to_go = 6 - when.weekday() |
| 65 | if days_to_go: |
| 66 | when += dt.timedelta(days_to_go) |
| 67 | return when |
| 68 | |
| 69 | |
| 70 | # US DST Rules |
no test coverage detected
searching dependent graphs…