net.fortuna.ical4j.model
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) |
Iso8601(long time,
String pattern,
int precision,
TimeZone tz) |
Iso8601(String pattern,
int precision,
TimeZone tz) |
Modifier and Type | Method and Description |
---|---|
protected DateFormat |
getFormat() |
void |
setTime(long time) |
String |
toString() |
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
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
Copyright © 2004-2013 Micronode. All Rights Reserved.