Module: utilities/time
Functions
durationForChat
▸ durationForChat(elapsed
): string
Parameters
Name | Type |
---|---|
elapsed | number |
Returns
string
Defined in
durationForURL
▸ durationForURL(elapsed
): string
Parameters
Name | Type |
---|---|
elapsed | number |
Returns
string
Defined in
duration_to_string
▸ duration_to_string(elapsed
, separate_days?
, days_only?
, no_hours?
, no_seconds?
): string
Parameters
Name | Type |
---|---|
elapsed | number |
separate_days? | boolean |
days_only? | boolean |
no_hours? | boolean |
no_seconds? | boolean |
Returns
string
Defined in
getBuster
▸ getBuster(resolution?
): number
Parameters
Name | Type | Default value |
---|---|---|
resolution | number | 5 |
Returns
number
Defined in
print_duration
▸ print_duration(seconds
): string
Parameters
Name | Type |
---|---|
seconds | number |
Returns
string