|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.osdl.jbento2.analyzer.Time
public class Time
Time class represents the time used in JBento. The value must be formatted as "MILLISECOND" or "MILLISECOND[NANOSECOND]"
| フィールドの概要 | |
|---|---|
static Time |
ZERO
|
| コンストラクタの概要 | |
|---|---|
Time(long millitime)
Construct Time instance. |
|
Time(String value)
Construct Time instance. |
|
| メソッドの概要 | |
|---|---|
int |
compareTo(Object o)
|
long |
getMillitime()
Returns milliseconds. |
long |
getNanotime()
Returns nanoseconds value. |
boolean |
hasNanotime()
Returns nanoseconds value. |
String |
toString()
|
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| フィールドの詳細 |
|---|
public static final Time ZERO
| コンストラクタの詳細 |
|---|
public Time(String value)
value - value
IllegalArgumentException - thrown if value has invalid fomat.public Time(long millitime)
millitime - millitime| メソッドの詳細 |
|---|
public long getMillitime()
public long getNanotime()
IllegalStateException - thrown if this instance doesn't have nanoseconds.public boolean hasNanotime()
public String toString()
Object 内の toStringpublic int compareTo(Object o)
Comparable 内の compareTo
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||