Logo GenPRES

AgeParts Module

Holds the age parts years, months, weeks and days and converts a list of age parts to days and an age to age parts.

Types

Type Description

Age

Functions and values

Function or value Description

ageValueOf _arg1

Full Usage: ageValueOf _arg1

Parameters:
Returns: AgeValue

The age value of one age part.

_arg1 : Age
Returns: AgeValue

daysOfParts ags

Full Usage: daysOfParts ags

Parameters:
    ags : Age list

Returns: int<MeasureProduct<day, MeasureOne>>

The number of days of a list of age parts.

ags : Age list
Returns: int<MeasureProduct<day, MeasureOne>>

partsOfAge age

Full Usage: partsOfAge age

Parameters:
Returns: Age list

The age parts of an age, as GenCORE splits the whole days; the parts that are zero are left out.

age : AgeValue
Returns: Age list

Type something to start searching.