public interface Time extends Field
| Modifier and Type | Method and Description |
|---|---|
Date |
getStart()
Returns the start time of the conference/session.
|
Date |
getStop()
Returns the stop time of the session
|
boolean |
getTypedTime()
Returns whether the field will be output as a typed time or a integer value.
|
boolean |
isZero()
Returns whether the start and stop times were set to zero (in NTP).
|
void |
setStart(Date start)
Sets the start time of the conference/session.
|
void |
setStop(Date stop)
Sets the stop time of the session.
|
void |
setTypedTime(boolean typedTime)
Sets whether the field will be output as a typed time or a integer value.
|
void |
setZero()
Sets the start and stop times to zero (in NTP).
|
clone, getTypeCharDate getStart() throws SdpParseException
SdpParseExceptionvoid setStart(Date start) throws SdpException
start - start - the start time for the session.SdpException - if the date is nullDate getStop() throws SdpParseException
SdpParseExceptionvoid setStop(Date stop) throws SdpException
stop - start - the start timeSdpException - if the date is nullboolean isZero()
void setZero()
boolean getTypedTime()
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 © 2018. All Rights Reserved.