Date: Improved verification of the value for the `D` token being within the correct range by taking into account leap years