Noda Time
ZoneInterval Constructor (name, start, end, wallOffset, savings)
NamespacesNodaTime.TimeZonesZoneIntervalZoneInterval(String, Instant, Instant, Offset, Offset)

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

Initializes a new instance of the ZoneInterval class.
Declaration Syntax
C#Visual BasicVisual C++
public ZoneInterval(
	string name,
	Instant start,
	Instant end,
	Offset wallOffset,
	Offset savings
)
Public Sub New ( _
	name As String, _
	start As Instant, _
	end As Instant, _
	wallOffset As Offset, _
	savings As Offset _
)
public:
ZoneInterval(
	String^ name, 
	Instant start, 
	Instant end, 
	Offset wallOffset, 
	Offset savings
)
Parameters
name (String)
The name of this offset period (e.g. PST or PDT).
start (Instant)
The first Instant that the wallOffset applies.
end (Instant)
The last Instant (exclusive) that the wallOffset applies.
wallOffset (Offset)
The WallOffset from UTC for this period including any daylight savings.
savings (Offset)
The WallOffset daylight savings contribution to the offset.
Exceptions
ExceptionCondition
ArgumentExceptionIf start >= end.
ArgumentNullExceptionname is null.

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