[This is preliminary documentation and is subject to change.]
Returns all the zone intervals which occur for any instant in the interval [start, end).

C# | Visual Basic | Visual C++ |
public IEnumerable<ZoneInterval> GetZoneIntervals( Instant start, Instant end )
Public Function GetZoneIntervals ( _ start As Instant, _ end As Instant _ ) As IEnumerable(Of ZoneInterval)
public: IEnumerable<ZoneInterval^>^ GetZoneIntervals( Instant start, Instant end )

A sequence of zone intervals covering the given interval.

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

Exception | Condition |
---|---|
ArgumentOutOfRangeException | end is earlier than start. |

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