type
Duration.human_readable
=
{ 
bool
 
forward
, 
int
 
year
, 
int
 
month
, 
int
 
day
, 
int
 
h
, 
int
 
min
, 
int
 
s
, 
int
 
ms
 }
Name Summary
Map
A on durations.
Set
A of durations.
add
A sum of two durations
returns a duration between dates and .
Compare two durations
Return a number of days as a duration.Note: This function assumes that a day lasts exactly 24h, whic...
A default printer for durations. For past durations it will print: "... ago" and for future ones: ...
The format for printing durations used by
The instantaneous duration.
returns the result of executing the function along with the time duration that it took to execute ...
Generates a duration printer for a given format. This function behaves almost as but it assumes tha...
h
Return a number of hours as a duration.
Checks whether a given duration is instantaneous (empty duration)
Checks whether a given duration is negative (in the past)
Checks whether a given duration is positive (in the future)
Conversion to low-level representation. Not for casual user.
Conversion from low-level representation. Not for casual user.
Printing of time duration as: 3:02:17 (h:mm:ss).
Printing of time duration as: 3:02:17.22 (h:mm:ss.ms).
min
Return a number of minutes as a duration.
Return a number of days as a duration.Note: This function assumes that a day lasts exactly 24h, whic...
ms
Return a number of milliseconds as a duration.
Some time related constants
Converts a date to a duration, see .
Convert a duration in human-understandable format back to a closed format.
Converts a string representation to a duration.The string is composed of blocks of the following sha...
Ordering two durations
s
Return a number of seconds as a duration.
returns a number of seconds between dates and .
Printing of time duration as: 3:02 (h:mm).
A difference between two durations
sum
Returns a sum of a list of durations.
The format for printing durations used by .
The format for printing durations used by .
The format for printing durations used by .
Converts a duration to a date, see .
Prints a duration, including milliseconds using: ).. For more customization over how durations are p...
This function prints a duration using a given printer. For ways of generating duration printers see ...
Convert a duration to a human-understandable format.Behavior is unspecified when the duration is inf...
Prints a duration using default printer (see ). For more customization over how durations are printe...
Prints a duration using two components printer (see ). For more customization over how durations are...
This function takes a format for printing durations and generates a "duration printer", which can ...
A format for printing durations. For past durations it will print: "... ago" and for future ones: ...
The format for printing durations used by
Return a number of days as a duration.Note: This function assumes that a day lasts exactly 24h, whic...
Return a number of years as a duration.Note: This function assumes that a year lasts exactly 365 day...
The instantaneous duration (in human-readable format).

Comments

The browser you use is not supported by this application, probably because it lacks some critical features.
For a better experience, please consider using this application with a supported browser.