fm.liveswitch.sdp.RepeatTime Class Reference

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...
 

Detailed Description

An SDP repeat time element.

Constructor & Destructor Documentation

◆ RepeatTime() [1/2]

fm.liveswitch.sdp.RepeatTime.RepeatTime ( fm.liveswitch.TimeSpan  repeatInterval,
fm.liveswitch.TimeSpan  activeDuration 
)

Initializes a new instance of the fm.liveswitch.sdp.RepeatTime class.

Parameters
repeatIntervalThe repeat interval.
activeDurationThe active duration.

◆ RepeatTime() [2/2]

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.

Parameters
repeatIntervalThe repeat interval.
activeDurationThe active duration.
offsetsThe offsets from the start time.

Member Function Documentation

◆ addOffset()

void fm.liveswitch.sdp.RepeatTime.addOffset ( fm.liveswitch.TimeSpan  offset)

Adds an offset from the start time.

Parameters
offsetThe offset from the start time to add.

◆ getActiveDuration()

fm.liveswitch.TimeSpan fm.liveswitch.sdp.RepeatTime.getActiveDuration ( )

Gets the active duration.

◆ getOffsets()

fm.liveswitch.TimeSpan [] fm.liveswitch.sdp.RepeatTime.getOffsets ( )

Gets the array of offsets from the start time.

◆ getRepeatInterval()

fm.liveswitch.TimeSpan fm.liveswitch.sdp.RepeatTime.getRepeatInterval ( )

Gets the repeat interval.

◆ parse()

static fm.liveswitch.sdp.RepeatTime fm.liveswitch.sdp.RepeatTime.parse ( String  s)
static

Creates an fm.liveswitch.sdp.RepeatTime instance from a string.

Parameters
sThe string to parse.

◆ removeOffset()

boolean fm.liveswitch.sdp.RepeatTime.removeOffset ( fm.liveswitch.TimeSpan  offset)

Removes an offset from the start time.

Parameters
offsetThe offset from the start time to remove.

◆ toString()

String fm.liveswitch.sdp.RepeatTime.toString ( )

Converts this instance to a string.