Noda Time
Show / Hide Table of Contents

Class MultiTransitionDateTimeZone

Time zone with multiple transitions, created via a builder.
Since 1.1.x
Availability netstandard2.0
Inheritance
object
DateTimeZone
MultiTransitionDateTimeZone
Inherited Members
DateTimeZone.Utc
DateTimeZone.ForOffset(Offset)
DateTimeZone.Id
DateTimeZone.MinOffset
DateTimeZone.MaxOffset
DateTimeZone.GetUtcOffset(Instant)
DateTimeZone.MapLocal(LocalDateTime)
DateTimeZone.AtStartOfDay(LocalDate)
DateTimeZone.ResolveLocal(LocalDateTime, ZoneLocalMappingResolver)
DateTimeZone.AtStrictly(LocalDateTime)
DateTimeZone.AtLeniently(LocalDateTime)
DateTimeZone.ToString()
DateTimeZone.GetZoneIntervals(Instant, Instant)
DateTimeZone.GetZoneIntervals(Interval)
DateTimeZone.GetZoneIntervals(Interval, ZoneEqualityComparer.Options)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
Namespace: NodaTime.Testing.TimeZones
Assembly: NodaTime.Testing.dll
Syntax
public sealed class MultiTransitionDateTimeZone : DateTimeZone

Properties

Intervals

Gets the zone intervals within this time zone, in chronological order, spanning the whole time line.
Since 1.1.x
Availability 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 netstandard2.0
Declaration
public ReadOnlyCollection<Instant> Transitions { get; }
Property Value
Type Description
ReadOnlyCollection<Instant> The transition points between intervals.

Methods

GetZoneInterval(Instant)

Gets the zone interval for the given instant; the range of time around the instant in which the same Offset applies (with the same split between standard time and daylight saving time, and with the same offset).
Since 1.1.x
Availability netstandard2.0
Declaration
public override ZoneInterval GetZoneInterval(Instant instant)
Parameters
Type Name Description
Instant instant The Instant to query.
Returns
Type Description
ZoneInterval The defined ZoneInterval.
Overrides
DateTimeZone.GetZoneInterval(Instant)
Remarks
This will always return a valid zone interval, as time zones cover the whole of time.
See Also
GetZoneIntervals(Interval)
In this article
Back to top Generated by DocFX