@sapphire/time-utilities
Enumerations
Enumeration | Description |
---|---|
Time | - |
TimeTypes | The supported time types |
Classes
Class | Description |
---|---|
Cron | Handles Cron strings and generates dates based on the cron string provided. |
Duration | Converts duration strings into ms and future dates |
DurationFormatter | Display the duration |
TimerManager | Manages timers so that this application can be cleanly exited |
Timestamp | Timestamp class, parses the pattern once, displays the desired Date or UNIX timestamp with the selected pattern. |
Interfaces
Interface | Description |
---|---|
DurationFormatAssetsTime | - |
DurationFormatAssetsUnit | - |
DurationFormatSeparators | - |
TimestampTemplateEntry | - |
Type Aliases
Type alias | Description |
---|---|
TimeResolvable | - |
Variables
Variable | Description |
---|---|
DEFAULT_SEPARATORS | - |
DEFAULT_UNITS | - |
allowedNum | - |
cronTokens | - |
days | - |
months | - |
partRegex | - |
predefined | - |
tokens | - |
tokensRegex | - |
wildcardRegex | - |