Class MultiTransitionDateTimeZone
Time zone with multiple transitions, created via a builder.
Since 1.1.x
Availability net45, netstandard1.3, netstandard2.0
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: NodaTime.Testing.TimeZones
Assembly: NodaTime.Testing.dll
Syntax
public sealed class MultiTransitionDateTimeZone : DateTimeZone, IZoneIntervalMapWithMinMax, IZoneIntervalMap
Properties
Intervals
Gets the zone intervals within this time zone, in chronological order, spanning the whole time line.
Since 1.1.x
Availability net45, netstandard1.3, netstandard2.0
Declaration
public ReadOnlyCollection<ZoneInterval> Intervals { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<ZoneInterval> | The zone intervals within this time zone, in chronological order, spanning the whole time line. |
Transitions
Gets the transition points between intervals.
Since 1.1.x
Availability net45, netstandard1.3, netstandard2.0
Declaration
public ReadOnlyCollection<Instant> Transitions { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<Instant> | The transition points between intervals. |
Methods
GetZoneInterval(Instant)
Since 1.1.x
Availability net45, netstandard1.3, netstandard2.0
Declaration
public override ZoneInterval GetZoneInterval(Instant instant)
Parameters
Type | Name | Description |
---|---|---|
Instant | instant |
Returns
Type | Description |
---|---|
ZoneInterval |