|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sdp.fields.SDPObject
gov.nist.javax.sdp.fields.SDPField
gov.nist.javax.sdp.fields.TimeField
public class TimeField
Time Field.
フィールドの概要 |
---|
インタフェース gov.nist.javax.sdp.fields.SDPFieldNames から継承されたフィールド |
---|
ATTRIBUTE_FIELD, BANDWIDTH_FIELD, CONNECTION_FIELD, EMAIL_FIELD, INFORMATION_FIELD, KEY_FIELD, MEDIA_FIELD, ORIGIN_FIELD, PHONE_FIELD, PROTO_VERSION_FIELD, REPEAT_FIELD, SESSION_NAME_FIELD, TIME_FIELD, URI_FIELD, ZONE_FIELD |
コンストラクタの概要 | |
---|---|
TimeField()
|
メソッドの概要 | |
---|---|
java.lang.String |
encode()
Get the string encoded version of this object |
java.util.Date |
getStart()
Returns the start time of the conference/session. |
long |
getStartTime()
|
java.util.Date |
getStop()
Returns the stop time of the session |
long |
getStopTime()
|
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(java.util.Date start)
Sets the start time of the conference/session. |
void |
setStartTime(long startTime)
Set the startTime member |
void |
setStop(java.util.Date stop)
Sets the stop time of the session. |
void |
setStopTime(long stopTime)
Set the stopTime member |
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). |
クラス gov.nist.javax.sdp.fields.SDPField から継承されたメソッド |
---|
getFieldName, getTypeChar, toString |
クラス gov.nist.javax.sdp.fields.SDPObject から継承されたメソッド |
---|
clone, dbgPrint, debugDump, equals, match, merge, replace, replace, replace, replace |
クラス gov.nist.core.GenericObject から継承されたメソッド |
---|
debugDump, getClassFromName, getMatcher, isMySubclass, setMatcher |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
インタフェース javax.sdp.Field から継承されたメソッド |
---|
clone, getTypeChar |
コンストラクタの詳細 |
---|
public TimeField()
メソッドの詳細 |
---|
public long getStartTime()
public long getStopTime()
public void setStartTime(long startTime)
public void setStopTime(long stopTime)
public java.util.Date getStart() throws javax.sdp.SdpParseException
javax.sdp.Time
内の getStart
javax.sdp.SdpParseException
public java.util.Date getStop() throws javax.sdp.SdpParseException
javax.sdp.Time
内の getStop
javax.sdp.SdpParseException
public void setStop(java.util.Date stop) throws javax.sdp.SdpException
javax.sdp.Time
内の setStop
stop
- start - the start time
javax.sdp.SdpException
- if the date is nullpublic void setStart(java.util.Date start) throws javax.sdp.SdpException
javax.sdp.Time
内の setStart
start
- start - the start time for the session.
javax.sdp.SdpException
- if the date is nullpublic boolean getTypedTime()
javax.sdp.Time
内の getTypedTime
public void setTypedTime(boolean typedTime)
javax.sdp.Time
内の setTypedTime
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.public boolean isZero()
javax.sdp.Time
内の isZero
public void setZero()
javax.sdp.Time
内の setZero
public java.lang.String encode()
SDPField
内の encode
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |