Noda Time
Instant Property
NamespacesNodaTimeZonedDateTime..::..ComparerInstant

[This is preliminary documentation and is subject to change.]

Returns a comparer which compares ZonedDateTime values by the instants obtained by applying the offset to the local date/time, ignoring the calendar system.
Declaration Syntax
C#Visual BasicVisual C++
public static ZonedDateTime..::..Comparer Instant { get; }
Public Shared ReadOnly Property Instant As ZonedDateTime..::..Comparer
	Get
public:
static property ZonedDateTime..::..Comparer^ Instant {
	ZonedDateTime..::..Comparer^ get ();
}
Remarks

For example, this comparer considers 2013-03-04T20:21:00 (Europe/London) to be earlier than 2013-03-04T19:21:00 (America/Los_Angeles) even though the second value has a local time which is earlier; the time zones mean that the first value occurred earlier in the universal time line.

This comparer behaves the same way as the CompareTo(ZonedDateTime) method; it is provided for symmetry with LocalComparer.

This property will return a reference to the same instance every time it is called.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)