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 Time
Declaration
public TimeZone(double adjustmentTime, TimeSpan offset)
Parameters
Type | Name | Description |
---|---|---|
System. |
adjustmentTime | The time that a time zone adjustment happens (network time protocol). |
Time |
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. |
Offset
Gets or sets the offset from the time when the session was first scheduled.
Declaration
public TimeSpan Offset { get; }
Property Value
Type | Description |
---|---|
Time |
Methods
Parse(String)
Creates an Time
Declaration
public static TimeZone Parse(string s)
Parameters
Type | Name | Description |
---|---|---|
System. |
s | The string to parse. |
Returns
Type | Description |
---|---|
Time |
ToString()
Converts this instance to a string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |