Class TimeZone
An SDP time zone element.
Inheritance
System.Object
    TimeZone
  Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public class TimeZone : object
  Constructors
TimeZone(Double, TimeSpan)
Initializes a new instance of the TimeZone class.
Declaration
public TimeZone(double adjustmentTime, TimeSpan offset)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Double | adjustmentTime | The time that a time zone adjustment happens (network time protocol).  | 
      
| TimeSpan | offset | The offset from the time when the session was first scheduled.  | 
      
Properties
AdjustmentTime
Gets or sets the time that a time zone adjustment happens (network time protocol).
Declaration
public double AdjustmentTime { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Double | 
Offset
Gets or sets the offset from the time when the session was first scheduled.
Declaration
public TimeSpan Offset { get; }
  Property Value
| Type | Description | 
|---|---|
| TimeSpan | 
Methods
Parse(String)
Creates an TimeZone instance from a string.
Declaration
public static TimeZone Parse(string s)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | s | The string to parse.  | 
      
Returns
| Type | Description | 
|---|---|
| TimeZone | 
ToString()
Converts this instance to a string.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String |