Class TimeZone
An SDP time zone element.
Inheritance
System.Object
TimeZone
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch.Sdp
Assembly: FM.LiveSwitch.dll
Syntax
public class TimeZone
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). |
System.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 |
---|---|
System.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 |
Overrides
System.Object.ToString()