isFrDateValid
Mask
stable
Validates an 8-digit unmasked string representing a French calendar date (DDMMYYYY) against real Gregorian rules including leap years.
API
Signature
Signature TypeScript complète, extraite du fichier util.
API
Paramètres
Paramètres d'entrée acceptés par cet util.
- unmaskedrequisstring
- The raw 8-digit string extracted from the mask (DDMMYYYY, no separators). Any other length or non-digit content returns false.
API
Valeur de retour
La valeur retournée par cet util.
- true when the string encodes a real calendar date in DDMMYYYY format; false otherwise.
Usage
Exemples
Extraits de code prêts à coller.
Valid and invalid French dates