|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Date
net.fortuna.ical4j.model.Iso8601
public abstract class Iso8601
Base class for date and time representations as defined
by the ISO 8601 standard. Sub-classes must ensure that either the correct
precision is used in constructor arguments, or that Object.equals()
is overridden to ensure equality checking is consistent with the type.
Constructor Summary | |
---|---|
Iso8601(java.util.Date time,
java.lang.String pattern,
int precision)
|
|
Iso8601(long time,
java.lang.String pattern,
int precision)
|
|
Iso8601(java.lang.String pattern,
int precision)
|
Method Summary | |
---|---|
protected java.text.DateFormat |
getFormat()
|
void |
setTime(long time)
|
java.lang.String |
toString()
|
Methods inherited from class java.util.Date |
---|
after, before, clone, compareTo, equals, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setYear, toGMTString, toLocaleString, UTC |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Iso8601(long time, java.lang.String pattern, int precision)
time
- pattern
- public Iso8601(java.lang.String pattern, int precision)
pattern
- public Iso8601(java.util.Date time, java.lang.String pattern, int precision)
time
- pattern
- Method Detail |
---|
public java.lang.String toString()
toString
in class java.util.Date
protected final java.text.DateFormat getFormat()
public void setTime(long time)
setTime
in class java.util.Date
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |