@Deprecated public abstract class Iso8601 extends Date
Object.equals()
is overridden to ensure equality checking is consistent with the type.Constructor and Description |
---|
Iso8601(Date time,
String pattern,
int precision,
TimeZone tz)
Deprecated.
|
Iso8601(long time,
String pattern,
int precision,
TimeZone tz)
Deprecated.
|
Iso8601(String pattern,
int precision,
TimeZone tz)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected DateFormat |
getFormat()
Deprecated.
|
void |
setTime(long time)
Deprecated.
|
String |
toString()
Deprecated.
|
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, UTC
public Iso8601(long time, String pattern, int precision, 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_SECOND
public Iso8601(String pattern, int precision, TimeZone tz)
pattern
- the formatting pattern to applyprecision
- the precision to applytz
- the timezone for the instanceDates.PRECISION_DAY
,
Dates.PRECISION_SECOND
public Iso8601(Date time, String pattern, int precision, 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