[This is preliminary documentation and is subject to change.]
Initializes a new instance of the Instant struct based
on a number of seconds since the Unix epoch of (ISO) January 1st 1970, midnight, UTC.
- seconds (Int64)
- Number of seconds since the Unix epoch. May be negative (for instants before the epoch).
An Instant at exactly the given number of seconds since the Unix epoch.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The constructed instant would be out of the range representable in Noda Time. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)