HostSystemUTCEpochNanoseconds (
_global_: a global object,
): an integer
An implementation of HostSystemUTCEpochNanoseconds must conform to the following requirements:
- Its result must be between nsMinInstant and nsMaxInstant.
This requirement is necessary if the system clock is set to a time outside the range that Temporal.Instant can represent.
This is not expected to affect implementations in practice.
The default implementation of HostSystemUTCEpochNanoseconds performs the following steps when called:
1. Let _ns_ be the approximate current UTC date and time, in nanoseconds since the epoch.
1. Return the result of clamping _ns_ between nsMinInstant and nsMaxInstant.
ECMAScript hosts that are not web browsers must use the default implementation of HostSystemUTCEpochNanoseconds.