DateTimeException when the instant is outside the signed
64-bit nanosecond range.
(long epochNanos) @safe pure nothrow @nogcConstructs from a raw nanosecond count (no clamping and no validation: the full signed range is a valid instant).
epochNanos | nanoseconds since 1970-01-01T00:00:00 UTC. |
Constructs from a SysTime, preserving the instant exactly via tick arithmetic (stdTime offset applied, then scaled by 100 — never a whole-second intermediate). The source timezone affects only which instant the SysTime denotes; it is not retained.
sysTime | the instant to carry. |
DateTimeException when the instant is outside the signed
64-bit nanosecond range.