Noda Time
GetZoneIntervals Method (interval)
Returns all the zone intervals which occur for any instant in the given interval.
Declaration Syntax
C#Visual BasicVisual C++
public IEnumerable<ZoneInterval> GetZoneIntervals(
	Interval interval
Public Function GetZoneIntervals ( 
	interval As Interval
) As IEnumerable(Of ZoneInterval)
IEnumerable<ZoneInterval^>^ GetZoneIntervals(
	Interval interval
interval (Interval)
Interval to find zone intervals for.
Return Value
IEnumerable<(Of <(<'ZoneInterval>)>)>
A sequence of zone intervals covering the given interval.

The zone intervals are returned in chronological order. This method is equivalent to calling GetZoneInterval(Instant) for every instant in the interval and then collapsing to a set of distinct zone intervals. The first and last zone intervals are likely to also cover instants outside the given interval; the zone intervals returned are not truncated to match the start and end points.

See Also

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