epoch-and-extremes
About this case
Proleptic Gregorian extremes and Y2038 boundary
- Source
- Focused regression
- Input
- 10 lines, 10 valid · 290 B · raw text
- Output
- 105 B
- Archive
000002_must_render_exactly/input
Input
Invisible characters are shown as symbols, such as ␀ for NUL and ␉ for tab.
| # | Line | Expected |
|---|---|---|
| 1 | Sat, 01 Jan 0000 00:00:00 GMT |
-62167219200 |
| 2 | Tue, 29 Feb 0000 12:00:00 GMT |
-62162078400 |
| 3 | Mon, 01 Jan 0001 00:00:00 GMT |
-62135596800 |
| 4 | Wed, 31 Dec 1969 23:59:59 GMT |
-1 |
| 5 | Thu, 01 Jan 1970 00:00:00 GMT |
0 |
| 6 | Tue, 19 Jan 2038 03:14:07 GMT |
2147483647 |
| 7 | Tue, 19 Jan 2038 03:14:08 GMT |
2147483648 |
| 8 | Fri, 31 Dec 9999 23:59:59 GMT |
253402300799 |
| 9 | Sat Jan 1 00:00:00 0000 |
-62167219200 |
| 10 | Fri Dec 31 23:59:59 9999 |
253402300799 |
Expected output
The output must match these bytes exactly.
-62167219200
-62162078400
-62135596800
-1
0
2147483647
2147483648
253402300799
-62167219200
253402300799