Timestamp.this

this(long epochNanos) @safe pure nothrow @nogc

Constructs from a raw nanosecond count (no clamping and no validation: the full signed range is a valid instant).

Parameters

epochNanosnanoseconds since 1970-01-01T00:00:00 UTC.
this(SysTime sysTime) @safe pure

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.

Parameters

sysTimethe instant to carry.

Throws

DateTimeException when the instant is outside the signed

64-bit nanosecond range.