Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TimeZone

An SDP time zone element.

Hierarchy

  • TimeZone

Index

Constructors

constructor

  • new TimeZone(adjustmentTime: number, offset: TimeSpan): TimeZone
  • Initializes a new instance of the fm.icelink.sdp.timeZone class.

    Parameters

    • 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

Properties

Private _adjustmentTime

_adjustmentTime: number
internal

Private _offset

_offset: TimeSpan
internal

Methods

getAdjustmentTime

  • getAdjustmentTime(): number
  • Gets the time that a time zone adjustment happens (network time protocol).

    Returns number

getOffset

  • getOffset(): TimeSpan
  • Gets the offset from the time when the session was first scheduled.

    Returns TimeSpan

getTypeString

  • getTypeString(): string
  • Returns string

Private setAdjustmentTime

  • setAdjustmentTime(value: number): void
  • internal

    Parameters

    • value: number

    Returns void

Private setOffset

  • setOffset(value: TimeSpan): void
  • internal

    Parameters

    • value: TimeSpan

    Returns void

toString

  • toString(): string
  • Converts this instance to a string.

    Returns string

Static parse

  • parse(s: string): TimeZone
  • Creates an fm.icelink.sdp.timeZone instance from a string.

    Parameters

    • s: string

      The string to parse.

    Returns TimeZone