Closed thelonelyvulpes closed 1 year ago
Fixes for ZonedDateTime.
Ambiguous
bool
ZonedDateTime
Zone.of(string)
ZonedDateTime.AmbiguityReason
Reason
AmbiguityReason
ZonedDateTimes
UtcSeconds
long
Ticks
Fixes for ZonedDateTime.
Ambiguous
bool
property, CreatingZonedDateTime
with out a datetime kind, or using a datetime kind local with a named Zone:Zone.of(string)
, meant we could create an ambiguous date time.ZonedDateTime.AmbiguityReason
enum flags type.Reason
AmbiguityReason
property forZonedDateTimes
, to allow users to see why a value is considered ambiguous.UtcSeconds
long
property which is the understood monotonic timestamp from unix epoch in UTC.Ticks
Property, and constructor which can be used for easy interop with nodatime's Instant