public abstract class Iso8601
extends java.util.Date
Object.equals()
is overridden to ensure equality checking is consistent with the type.| Constructor and Description |
|---|
Iso8601(java.util.Date time,
java.lang.String pattern,
int precision,
java.util.TimeZone tz) |
Iso8601(long time,
java.lang.String pattern,
int precision,
java.util.TimeZone tz) |
Iso8601(java.lang.String pattern,
int precision,
java.util.TimeZone tz) |
| Modifier and Type | Method and Description |
|---|---|
protected java.text.DateFormat |
getFormat() |
void |
setTime(long time) |
java.lang.String |
toString() |
after, before, clone, compareTo, equals, from, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setYear, toGMTString, toInstant, toLocaleString, UTCpublic Iso8601(long time,
java.lang.String pattern,
int precision,
java.util.TimeZone tz)
time - a time value in millisecondspattern - the formatting pattern to applyprecision - the precision to applytz - the timezone for the instanceDates.PRECISION_DAY,
Dates.PRECISION_SECONDpublic Iso8601(java.lang.String pattern,
int precision,
java.util.TimeZone tz)
pattern - the formatting pattern to applyprecision - the precision to applytz - the timezone for the instanceDates.PRECISION_DAY,
Dates.PRECISION_SECONDpublic Iso8601(java.util.Date time,
java.lang.String pattern,
int precision,
java.util.TimeZone tz)
time - a time value as a datepattern - the formatting pattern to applyprecision - the precision to applytz - the timezone for the instanceDates.PRECISION_DAY,
Dates.PRECISION_SECOND