Logo GenPRES

Constants Module

Holds the calendar counts for ages, such as 365 days in a year, the metric prefix factors and the premature limit of 37 weeks.

Functions and values

Function or value Description

centi

Full Usage: centi

Returns: int
Returns: int

daysInMonth

Full Usage: daysInMonth

Returns: int

The number of days in a month of an age: every month counts 30 days.

Returns: int

daysInWeek

Full Usage: daysInWeek

Returns: int
Returns: int

daysInYear

Full Usage: daysInYear

Returns: int
Returns: int

deci

Full Usage: deci

Returns: int
Returns: int

kilo

Full Usage: kilo

Returns: int
Returns: int

micro

Full Usage: micro

Returns: int
Returns: int

milli

Full Usage: milli

Returns: int
Returns: int

monthsInYear

Full Usage: monthsInYear

Returns: int
Returns: int

premature

Full Usage: premature

Returns: int<MeasureProduct<week, MeasureOne>>

weeksInYear

Full Usage: weeksInYear

Returns: int
Returns: int

Type something to start searching.