Expand description
Exposes the public time module.
Human-friendly scan timing parsing and formatting.
Functions§
- format_
milliseconds - Format milliseconds to a human-readable string. This will of course give an
approximation, but will be readable.
Performs the public
format_millisecondsoperation. - parse_
to_ milliseconds - Parse a given time string into milliseconds. This can be used to convert a
string such as ‘20ms’, ‘10s’ or ‘1h’ into adequate milliseconds. Without
suffix, the default behavior is to parse into milliseconds.
Performs the public
parse_to_millisecondsoperation.