Optional
maxthe latest allowed Date. Both Dates will be compared with their getTime()
milliseconds.
Optional
minthe earliest allowed Date. Both Dates will be compared with their getTime()
milliseconds.
Optional
namethe name of the ValueObject to identify in a possible ErrorMessage.
'MealPlan.price'
Generated using TypeDoc
The options for a
SafeDate
:max?: Date | string | number
- maximum allowed datemin?: Date | string | number
- earliest allowed date