public class Date extends Iso8601
| Modifier | Constructor and Description |
|---|---|
|
Date()
Default constructor.
|
|
Date(java.util.Date date) |
protected |
Date(int precision)
Creates a new date instance with the specified precision.
|
|
Date(long time) |
protected |
Date(long time,
int precision)
Creates a new date instance with the specified precision.
|
|
Date(java.lang.String value) |
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 Date()
protected Date(int precision)
precision - public Date(long time)
time - protected Date(long time,
int precision)
time - precision - public Date(java.util.Date date)
date - public Date(java.lang.String value)
throws java.text.ParseException
value - java.text.ParseException