/ fm / liveswitch / sdp / TimeZones
Class: TimeZones
liveswitch.sdp.TimeZones
An SDP time zones element.
Table of contents
Constructors
Methods
Constructors
constructor
+ new TimeZones(values
: TimeZone[]): TimeZones
Initializes a new instance of the [[fm.liveswitch.sdp.timeZones]] class.
Parameters:
Name | Type | Description |
---|---|---|
values |
TimeZone[] | The values. |
Returns: TimeZones
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeZones.ts:13
Methods
addTimeZone
▸ addTimeZone(value
: TimeZone): void
Adds a time zone adjustment.
Parameters:
Name | Type | Description |
---|---|---|
value |
TimeZone | The time zone adjustment to add. |
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeZones.ts:63
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeZones.ts:9
getValues
▸ getValues(): TimeZone[]
Gets the array of time zone adjustments.
Returns: TimeZone[]
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeZones.ts:75
removeTimeZone
▸ removeTimeZone(value
: TimeZone): boolean
Removes a time zone adjustment.
Parameters:
Name | Type | Description |
---|---|---|
value |
TimeZone | The time zone adjustment to remove. |
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeZones.ts:88
toString
▸ toString(): string
Converts this instance to a string.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeZones.ts:100
parse
▸ Static
parse(s
: string): TimeZones
Creates an [[fm.liveswitch.sdp.timeZones]] instance from a string.
Parameters:
Name | Type | Description |
---|---|---|
s |
string | The string to parse. |
Returns: TimeZones
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeZones.ts:44