DateTimeZone GetZoneIntervals Method (Instant, Instant)Noda Time
Returns all the zone intervals which occur for any instant in the interval [start, end).

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

public IEnumerable<ZoneInterval> GetZoneIntervals(
	Instant start,
	Instant end
)

Parameters

start
Type: NodaTime Instant
Inclusive start point of the interval for which to retrieve zone intervals.
end
Type: NodaTime Instant
Exclusive end point of the interval for which to retrieve zone intervals.

Return Value

Type: OnlineIEnumerable ZoneInterval 
A sequence of zone intervals covering the given interval.
Exceptions

Remarks

This method is simply a convenience method for calling GetZoneIntervals(Interval) without explicitly constructing the interval beforehand.

Version Information

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