Today is Mar 8th (in Japan).
| Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
| 28 |
29 |
1 |
2 |
3 |
4 |
5 |
| 6 |
7 |
8 |
9 |
10 |
11 |
12 |
01-basic.t
# ... but in 1969:
$dt = DateTimeX::Easy->new("last monday", year => 1969);
ok($dt);
got the following error.
Invalid day of month (day = 29 - month = 2 - year = 1969)
I mean this error always happens in this week.
I think this error would happen in 2044 (Feb 29th is Monday).