SetGet Module
Gets and sets the years, months, weeks and days of an age, also as plain integers that read 0 for a missing part.
Functions and values
| Function or value |
Description
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
getMonths a
Parameters:
AgeValue
Returns: int<MeasureProduct<month, MeasureOne>> option
|
|
|
|
Full Usage:
getWeeks a
Parameters:
AgeValue
Returns: int<MeasureProduct<week, MeasureOne>> option
|
|
|
|
Full Usage:
getYears a
Parameters:
AgeValue
Returns: int<MeasureProduct<year, MeasureOne>> option
|
|
|
|
Full Usage:
setDays d a
Parameters:
int<MeasureProduct<day, MeasureOne>> option
a : AgeValue
Returns: AgeValue
|
|
|
|
|
|
|
|
|
|
Full Usage:
setMonths m a
Parameters:
int<MeasureProduct<month, MeasureOne>> option
a : AgeValue
Returns: AgeValue
|
|
Full Usage:
setWeeks w a
Parameters:
int<MeasureProduct<week, MeasureOne>> option
a : AgeValue
Returns: AgeValue
|
|
Full Usage:
setYears y a
Parameters:
int<MeasureProduct<year, MeasureOne>> option
a : AgeValue
Returns: AgeValue
|
|
GenPRES