[This is preliminary documentation and is subject to change.]
Represents a range of time for which a particular Offset applies.

C# | Visual Basic | Visual C++ |
public sealed class ZoneInterval : IEquatable<ZoneInterval>
Public NotInheritable Class ZoneInterval _ Implements IEquatable(Of ZoneInterval)
public ref class ZoneInterval sealed : IEquatable<ZoneInterval^>

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | ZoneInterval(String, Instant, Instant, Offset, Offset) |
Initializes a new instance of the ZoneInterval class.
|
![]() | Contains(Instant) |
Determines whether this period contains the given Instant in its range.
|
![]() | Duration |
Gets the duration of this period.
|
![]() | End |
Gets the last Instant (exclusive) that the Offset applies.
|
![]() | Equals(ZoneInterval) |
Indicates whether the current object is equal to another object of the same type.
|
![]() | Equals(Object) | (Overrides Object.Equals(Object).) |
![]() | GetHashCode()()()() |
Serves as a hash function for a particular type.
(Overrides Object.GetHashCode()()()().) |
![]() | IsoLocalEnd |
Returns the local start time of the interval, as LocalDateTime
in the ISO calendar. This does not include any daylight saving
|
![]() | IsoLocalStart |
Returns the local start time of the interval, as LocalDateTime
in the ISO calendar.
|
![]() | Name |
Gets the name of this offset period (e.g. PST or PDT).
|
![]() | Savings |
Gets the daylight savings value for this period.
|
![]() | StandardOffset |
Gets the standard offset for this period. This is the offset without any daylight savings
contributions.
|
![]() | Start |
Gets the first Instant that the Offset applies.
|
![]() | ToString()()()() |
Returns a String that represents this instance.
(Overrides Object.ToString()()()().) |
![]() | WallOffset |
Gets the offset from UTC for this period. This includes any daylight savings value.
|

This type is an immutable reference type. See the thread safety section of the user guide for more information.

Object | |
![]() | ZoneInterval |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)