Class: duration

Utils/Date. duration


new duration()

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