ZoneEqualityComparer ForInterval Method Noda Time
Returns a ZoneEqualityComparer for the given interval with the default options.

Namespace: NodaTime.TimeZones
Assembly: NodaTime (in NodaTime.dll) Version: 1.3.0.0 (1.3.1)
Syntax

public static ZoneEqualityComparer ForInterval(
	Interval interval
)

Parameters

interval
Type: NodaTime Interval
The interval over which to compare time zones.

Return Value

Type: ZoneEqualityComparer
A ZoneEqualityComparer for the given interval with the default options.
Remarks

The default behaviour of this comparator is to consider two time zones to be equal if they share the same wall offsets at all points within a given interval. To specify non-default options, call the WithOptions(ZoneEqualityComparer Options) method on the result of this method.
Version Information

Available since: 1.1.0
Supported in the PCL? Yes
See Also