public interface RepeatTime extends Field
Modifier and Type | Method and Description |
---|---|
int |
getActiveDuration()
Returns the "active duration" in seconds.
|
int[] |
getOffsetArray()
Returns the list of offsets.
|
int |
getRepeatInterval()
Returns the "repeat interval" in seconds.
|
boolean |
getTypedTime()
Returns whether the field will be output as a typed time or a integer value.
|
void |
setActiveDuration(int activeDuration)
Sets the "active duration" in seconds.
|
void |
setOffsetArray(int[] offsets)
Set the list of offsets.
|
void |
setRepeatInterval(int repeatInterval)
Set the "repeat interval" in seconds.
|
void |
setTypedTime(boolean typedTime)
Sets whether the field will be output as a typed time or a integer value.
|
clone, getTypeChar
int getRepeatInterval() throws SdpParseException
SdpParseException
void setRepeatInterval(int repeatInterval) throws SdpException
repeatInterval
- the "repeat interval" in seconds.SdpException
- if repeatInterval is <0int getActiveDuration() throws SdpParseException
SdpParseException
void setActiveDuration(int activeDuration) throws SdpException
activeDuration
- the "active duration" in seconds.SdpException
- if the active duration is <0int[] getOffsetArray() throws SdpParseException
SdpParseException
void setOffsetArray(int[] offsets) throws SdpException
offsets
- array of repeat time offsetsSdpException
boolean getTypedTime() throws SdpParseException
SdpParseException
void setTypedTime(boolean typedTime)
typedTime
- typedTime - if set true, the start and stop times will be output in an optimal typed
time format; if false, the times will be output as integers.Copyright © 2015. All Rights Reserved.