TimeUnit : string
Backing values are UCUM time unit codes — they are appended to metric unit strings (e.g. Throughput exports "{row}/s") and must stay UCUM-conformant.
Tags
Cases
- MICROSECONDS = 'us'
- MILLISECONDS = 'ms'
- MINUTES = 'min'
- NANOSECONDS = 'ns'
- SECONDS = 's'
Methods
- fromNanoseconds() : float
Cases
MICROSECONDS
MILLISECONDS
MINUTES
NANOSECONDS
SECONDS
Methods
fromNanoseconds()
public
fromNanoseconds(int|float $nanoseconds) : float
Parameters
- $nanoseconds : int|float