parseDurationNanos
parseDurationNanos converts a string representing a Duration to nanoseconds.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| s | string | The string to be converted. Time duration strings can be formatted as |
Returns
Nanoseconds representation of the time string.