The duration in milliseconds.
Static
fromJSONStatic
parseParses a duration string (e.g., "1d 2h 3m") and converts it to milliseconds.
The duration in milliseconds.
Error if the duration format is invalid.
The string representing the duration in a human-readable format.
Generated using TypeDoc
Represents a duration, typically in milliseconds, with utility methods for parsing and formatting.