Noda Time
MultiTransitionDateTimeZone..::..Builder Class
NamespacesNodaTime.Testing.TimeZonesMultiTransitionDateTimeZoneMultiTransitionDateTimeZone..::..Builder

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

Builder to create instances of MultiTransitionDateTimeZone. Each builder can only be built once.
Declaration Syntax
C#Visual BasicVisual C++
public sealed class Builder : IEnumerable
Public NotInheritable Class Builder _
	Implements IEnumerable
public ref class Builder sealed : IEnumerable
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
MultiTransitionDateTimeZone..::..Builder()()()()
Constructs a builder using an ID of "MultiZone", an initial offset of zero (standard and savings), and an initial name of "First".

MultiTransitionDateTimeZone..::..Builder(Int32, String)
Constructs a builder using the given first name, standard offset, and a daylight saving offset of 0. The ID is initially "MultiZone".

MultiTransitionDateTimeZone..::..Builder(Int32, Int32)
Constructs a builder using the given standard offset and saving offset. The ID is initially "MultiZone".

MultiTransitionDateTimeZone..::..Builder(Int32, Int32, String)
Constructs a builder using the given first name, standard offset, and daylight saving offset. The ID is initially "MultiZone".

Add(Instant, Int32)
Adds a transition at the given instant, to the specified new standard offset, with no daylight saving. The name is generated from the transition.

Add(Instant, Int32, Int32)
Adds a transition at the given instant, to the specified new standard offset, with the new specified daylight saving. The name is generated from the transition.

Add(Instant, Int32, Int32, String)
Adds a transition at the given instant, to the specified new standard offset, with the new specified daylight saving. The name is generated from the transition.

Build()()()()
Builds a MultiTransitionDateTimeZone from this builder, invalidating it in the process.

Id
ID of the time zone which will be built.

Inheritance Hierarchy
Object
MultiTransitionDateTimeZone..::..Builder

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