Parses duration strings that use Go's time.Duration syntax.
The SDK uses this parser for CLI-compatible configuration values.
StaticparseConverts a duration to a non-negative integer number of milliseconds.
A value can join several units, for example 1h30m or 250ms. Supported
units are h, m, s, ms, us, µs, μs, and ns. A positive
sub-millisecond duration rounds up to 1 ms.
Identifies the setting in error messages.
Parses duration strings that use Go's
time.Durationsyntax.The SDK uses this parser for CLI-compatible configuration values.