Validation Module
Holds the validators and the options for the years, months, weeks and days of an age, with at most 120 years.
Functions and values
| Function or value |
Description
|
|
The days of an age the user picks from.
|
Full Usage:
dayValidator
Returns: string -> int option -> Result<int<MeasureProduct<day, MeasureOne>> option, ValidationErrors>
|
|
Full Usage:
maxDay
Returns: int
|
The highest day of an age.
|
Full Usage:
maxMonth
Returns: int
|
The highest month of an age.
|
Full Usage:
maxWeek
Returns: int
|
The highest week of an age.
|
|
|
|
The months of an age the user picks from.
|
Full Usage:
monthValidator
Returns: string -> int option -> Result<int<MeasureProduct<month, MeasureOne>> option, ValidationErrors>
|
|
|
The weeks of an age the user picks from.
|
Full Usage:
weekValidator
Returns: string -> int option -> Result<int<MeasureProduct<week, MeasureOne>> option, ValidationErrors>
|
|
|
The years of an age the user picks from.
|
Full Usage:
yearValidator
Returns: string -> int option -> Result<int<MeasureProduct<year, MeasureOne>> option, ValidationErrors>
|
|
GenPRES