An SDP repeat time element. More...
Public Member Functions | |
void | addOffset (fm.liveswitch.TimeSpan offset) |
Adds an offset from the start time. More... | |
fm.liveswitch.TimeSpan | getActiveDuration () |
Gets the active duration. More... | |
fm.liveswitch.TimeSpan[] | getOffsets () |
Gets the array of offsets from the start time. More... | |
fm.liveswitch.TimeSpan | getRepeatInterval () |
Gets the repeat interval. More... | |
boolean | removeOffset (fm.liveswitch.TimeSpan offset) |
Removes an offset from the start time. More... | |
RepeatTime (fm.liveswitch.TimeSpan repeatInterval, fm.liveswitch.TimeSpan activeDuration) | |
Initializes a new instance of the fm.liveswitch.sdp.RepeatTime class. More... | |
RepeatTime (fm.liveswitch.TimeSpan repeatInterval, fm.liveswitch.TimeSpan activeDuration, fm.liveswitch.TimeSpan[] offsets) | |
Initializes a new instance of the fm.liveswitch.sdp.RepeatTime class. More... | |
String | toString () |
Converts this instance to a string. More... | |
Static Public Member Functions | |
static fm.liveswitch.sdp.RepeatTime | parse (String s) |
Creates an fm.liveswitch.sdp.RepeatTime instance from a string. More... | |
An SDP repeat time element.
fm.liveswitch.sdp.RepeatTime.RepeatTime | ( | fm.liveswitch.TimeSpan | repeatInterval, |
fm.liveswitch.TimeSpan | activeDuration | ||
) |
Initializes a new instance of the fm.liveswitch.sdp.RepeatTime class.
repeatInterval | The repeat interval. |
activeDuration | The active duration. |
fm.liveswitch.sdp.RepeatTime.RepeatTime | ( | fm.liveswitch.TimeSpan | repeatInterval, |
fm.liveswitch.TimeSpan | activeDuration, | ||
fm.liveswitch.TimeSpan[] | offsets | ||
) |
Initializes a new instance of the fm.liveswitch.sdp.RepeatTime class.
repeatInterval | The repeat interval. |
activeDuration | The active duration. |
offsets | The offsets from the start time. |
void fm.liveswitch.sdp.RepeatTime.addOffset | ( | fm.liveswitch.TimeSpan | offset | ) |
Adds an offset from the start time.
offset | The offset from the start time to add. |
fm.liveswitch.TimeSpan fm.liveswitch.sdp.RepeatTime.getActiveDuration | ( | ) |
Gets the active duration.
fm.liveswitch.TimeSpan [] fm.liveswitch.sdp.RepeatTime.getOffsets | ( | ) |
Gets the array of offsets from the start time.
fm.liveswitch.TimeSpan fm.liveswitch.sdp.RepeatTime.getRepeatInterval | ( | ) |
Gets the repeat interval.
|
static |
Creates an fm.liveswitch.sdp.RepeatTime instance from a string.
s | The string to parse. |
boolean fm.liveswitch.sdp.RepeatTime.removeOffset | ( | fm.liveswitch.TimeSpan | offset | ) |
Removes an offset from the start time.
offset | The offset from the start time to remove. |
String fm.liveswitch.sdp.RepeatTime.toString | ( | ) |
Converts this instance to a string.