[This is preliminary documentation and is subject to change.]
Converts a DateTime into a new Instant representing the same instant in time.


Exception | Condition |
---|---|
ArgumentException | dateTime is not of KindUtc. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)