The duration in milliseconds to convert.
The duration in nanoseconds, rounded to an integer.
Converts an optional Duration (milliseconds) to a ServerDuration (nanoseconds).
The duration in milliseconds to convert, or undefined.
The duration in nanoseconds, rounded to an integer, or undefined if the input is
undefined.
Converts a Duration (milliseconds) to a ServerDuration (nanoseconds).