assistant
[1900-02-29] is invalid (1900 is not a leap year).
[2000-02-29] is valid (2000 is a leap year).
The current code treats both as valid and gives the same February length.