Functions for representing and treating periods of time.
Create a period of a number of days.
Create a period of a number of hours.
Create a period of a number of minutes.
Create a period of a number of seconds.
Test whether a given value is a period object.
Test whether a given period has elapsed.
period
Object
when
Date
The current time as far as the test goes
Convert a period object to the number of milliseconds it represents.