Noda Time
GetZoneIntervals Method (interval)
NamespacesNodaTimeDateTimeZoneGetZoneIntervals(Interval)

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

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)
public:
IEnumerable<ZoneInterval^>^ GetZoneIntervals(
	Interval interval
)
Parameters
interval (Interval)
Interval to find zone intervals for.
Return Value
A sequence of zone intervals covering the given interval.
Remarks

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.0 (1.2.0)