/ fm / liveswitch / sdp / TimeZone
Class: TimeZone
liveswitch.sdp.TimeZone
An SDP time zone element.
Table of contents
Constructors
Methods
Constructors
constructor
+ new TimeZone(adjustmentTime
: number, offset
: TimeSpan): TimeZone
Initializes a new instance of the [[fm.liveswitch.sdp.timeZone]] class.
Parameters:
Name | Type | Description |
---|---|---|
adjustmentTime |
number | The time that a time zone adjustment happens (network time protocol). |
offset |
TimeSpan | The offset from the time when the session was first scheduled. |
Returns: TimeZone
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeZone.ts:20
Methods
fmliveswitchsdpTimeZoneInit
▸ Private
fmliveswitchsdpTimeZoneInit(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeZone.ts:17
getAdjustmentTime
▸ getAdjustmentTime(): number
Gets the time that a time zone adjustment happens (network time protocol).
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeZone.ts:64
getOffset
▸ getOffset(): TimeSpan
Gets the offset from the time when the session was first scheduled.
Returns: TimeSpan
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeZone.ts:76
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeZone.ts:9
toString
▸ toString(): string
Converts this instance to a string.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeZone.ts:104
parse
▸ Static
parse(s
: string): TimeZone
Creates an [[fm.liveswitch.sdp.timeZone]] instance from a string.
Parameters:
Name | Type | Description |
---|---|---|
s |
string | The string to parse. |
Returns: TimeZone
Defined in: Generated/TypeScript/fm.liveswitch/sdp/TimeZone.ts:50