Methods
-
format()
-
Gets the display string for this duration. Note: It only supports days, hours, and minutes.
Returns:
This
duration
formatted as a human-readable string. (eg. '8 minutes').- Type
- string
Gets the display string for this duration. Note: It only supports days, hours, and minutes.
This duration
formatted as a human-readable string.
(eg. '8 minutes').