Returns the number of days, rounded to the greatest integer less than or equal to, the TimeUnit instance.
Returns the number of hours, rounded to the greatest integer less than or equal to, the TimeUnit instance.
Returns the number of milliseconds, rounded to the greatest integer less than or equal to, the TimeUnit instance.
Returns the number of minutes, rounded to the greatest integer less than or equal to, the TimeUnit instance.
Returns the number of seconds, rounded to the greatest integer less than or equal to, the TimeUnit instance.
Generated using TypeDoc
A
TimeUnit
represents time durations at a given unit of granularity and provides utility methods to convert across units.