In the United States, Daylight Saving Time starts on the second Sunday of March, and ends on the first Sunday of November.
Write the shortest full program, function, or code snippet that does the following:
- Takes a year as input.
- Outputs two dates: the date when DST starts, and the date when DST ends.
- I/O can be with any reasonable method.
- Behavior with 0 or negative years is undefined for this challenge.
Test cases
Year -> Start, End
2021 -> Mar 14, Nov 07
2022 -> Mar 13, Nov 06
2023 -> Mar 12, Nov 05
2024 -> Mar 10, Nov 03
2025 -> Mar 09, Nov 02
2026 -> Mar 08, Nov 01
2027 -> Mar 14, Nov 07
1 -> Mar 11, Nov 04
1234 -> Mar 12, Nov 05
9999 -> Mar 14, Nov 07