|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.rss.RFC822
final class RFC822
RFC822 date and time-related methods. See also RFC 822.
Field Summary | |
---|---|
static DateFormat |
ISO8601_DATETIME_FORMAT
The ISO8601 Date formatter for date-time without time zone. |
Method Summary | |
---|---|
static String |
toString(Date date)
Returns a RFC822 date and time string representation of the specified date. |
static Date |
valueOf(String dateString)
Returns a date representation of the specified RFC822 date and time string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final DateFormat ISO8601_DATETIME_FORMAT
Date
formatter for date-time without time zone.
The TimeZone
used here is the default local time zone.
The input Date
is a GMT date and time.
Method Detail |
---|
public static String toString(Date date)
date
- the date to represent as a RFC822 date and time string.
NullPointerException
- if date
is null
.public static Date valueOf(String dateString)
dateString
- the RFC822 date and time string to decode as a date.
null
if the dateString
does not represent a valid RFC822 date and time string.
NullPointerException
- if dateString
is null
.
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |