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() |
public 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_SECOND
public 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_SECOND
public 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
Copyright © 2004-2015 Micronode. All Rights Reserved.