Noda Time
MultiTransitionDateTimeZone Class
NamespacesNodaTime.Testing.TimeZonesMultiTransitionDateTimeZone

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

Time zone with multiple transitions, created via a builder.
Declaration Syntax
C#Visual BasicVisual C++
public sealed class MultiTransitionDateTimeZone : DateTimeZone
Public NotInheritable Class MultiTransitionDateTimeZone _
	Inherits DateTimeZone
public ref class MultiTransitionDateTimeZone sealed : public DateTimeZone
Members
All MembersMethodsProperties



IconMemberDescription
AtLeniently(LocalDateTime)
Maps the given LocalDateTime to the corresponding ZonedDateTime in a lenient manner: ambiguous values map to the later of the alternatives, and "skipped" values map to the start of the zone interval after the "gap".
(Inherited from DateTimeZone.)
AtStartOfDay(LocalDate)
Returns the earliest valid ZonedDateTime with the given local date.
(Inherited from DateTimeZone.)
AtStrictly(LocalDateTime)
Maps the given LocalDateTime to the corresponding ZonedDateTime, if and only if that mapping is unambiguous in this time zone. Otherwise, SkippedTimeException or AmbiguousTimeException is thrown, depending on whether the mapping is ambiguous or the local date/time is skipped entirely.
(Inherited from DateTimeZone.)
Equals(Object)
Determines whether the specified Object is equal to this instance.
(Inherited from DateTimeZone.)
Equals(DateTimeZone)
Determines whether the specified DateTimeZone is equal to this instance.
(Inherited from DateTimeZone.)
EqualsImpl(DateTimeZone)
Implements equality in derived classes.
(Overrides DateTimeZone.EqualsImpl(DateTimeZone).)
GetHashCode()()()()
Returns a hash code for this instance.
(Overrides DateTimeZone.GetHashCode()()()().)
GetUtcOffset(Instant)
Returns the offset from UTC, where a positive duration indicates that local time is later than UTC. In other words, local time = UTC + offset.
(Inherited from DateTimeZone.)
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).
(Overrides DateTimeZone.GetZoneInterval(Instant).)
GetZoneIntervals(Instant, Instant)
Returns all the zone intervals which occur for any instant in the interval [start, end).
(Inherited from DateTimeZone.)
GetZoneIntervals(Interval)
Returns all the zone intervals which occur for any instant in the given interval.
(Inherited from DateTimeZone.)
Id
The provider's ID for the time zone.
(Inherited from DateTimeZone.)
Intervals
Zone intervals within this time zone, in chronological order, spanning the whole time line.

MapLocal(LocalDateTime)
Returns complete information about how the given LocalDateTime is mapped in this time zone.
(Inherited from DateTimeZone.)
MaxOffset
Returns the greatest (most positive) offset within this time zone, over all time.
(Inherited from DateTimeZone.)
MinOffset
Returns the least (most negative) offset within this time zone, over all time.
(Inherited from DateTimeZone.)
ResolveLocal(LocalDateTime, ZoneLocalMappingResolver)
Maps the given LocalDateTime to the corresponding ZonedDateTime, following the given ZoneLocalMappingResolver to handle ambiguity and skipped times.
(Inherited from DateTimeZone.)
ToString()()()()
Returns the ID of this time zone.
(Inherited from DateTimeZone.)
Transitions
Transition points between intervals.

Inheritance Hierarchy
Object
DateTimeZone
 MultiTransitionDateTimeZone

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