Enumeration TimeUnit

Luxon accepts both singular and plural properties of DurationObjects (e.g. hour and hours are valid). This enum maps to singular to make it usable by other Luxon functions that accept singular strings (e.g. 'hour').

Enumeration Members

Enumeration Members

DAYS: "day"
HOURS: "hour"
MINUTES: "minute"
MONTHS: "month"
WEEKS: "week"
YEARS: "year"

Generated using TypeDoc