timeUnits top-level constant
Supported time unit strings for parsing and validation.
Implementation
const timeUnits = [
'millisecond',
'milliseconds',
'second',
'seconds',
'minute',
'minutes',
'hour',
'hours',
'day',
'days',
'week',
'weeks',
'month',
'months',
'year',
'years',
];