Class MultiTransitionDateTimeZone
Time zone with multiple transitions, created via a builder.
Since 1.1.x
Availability net35-Client, PCL
Implements
IEquatable<DateTimeZone>
Inherited Members
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: NodaTime.Testing.TimeZones
Assembly: NodaTime.Testing.dll
Syntax
public sealed class MultiTransitionDateTimeZone : DateTimeZone, IEquatable<DateTimeZone>, IZoneIntervalMap
Properties
Intervals
Zone intervals within this time zone, in chronological order, spanning the whole time line.
Since 1.1.x
Availability net35-Client, PCL
Declaration
public ReadOnlyCollection<ZoneInterval> Intervals { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<ZoneInterval> |
Transitions
Transition points between intervals.
Since 1.1.x
Availability net35-Client, PCL
Declaration
public ReadOnlyCollection<Instant> Transitions { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<Instant> |
Methods
EqualsImpl(DateTimeZone)
Since 1.1.x
Availability net35-Client, PCL
Declaration
protected override bool EqualsImpl(DateTimeZone zone)
Parameters
Type | Name | Description |
---|---|---|
DateTimeZone | zone |
Returns
Type | Description |
---|---|
Boolean |
Overrides
GetHashCode()
Since 1.1.x
Availability net35-Client, PCL
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
GetZoneInterval(Instant)
Since 1.1.x
Availability net35-Client, PCL
Declaration
public override ZoneInterval GetZoneInterval(Instant instant)
Parameters
Type | Name | Description |
---|---|---|
Instant | instant |
Returns
Type | Description |
---|---|
ZoneInterval |
Overrides
Implements
System.IEquatable<T>