Skip to content

Time units

Time units used in classes and methods are represented as strings. Valid timeunits:

Time unit string Represents
ns nanoseconds
µs microseconds
ms milliseconds
s seconds
m minutes
h hours
d days
y years