|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jwat.warc.WarcDateParser
public class WarcDateParser
WARC-Date parser and format validator. The format "yyyy-MM-dd'T'HH:mm:ss'Z'" is specified in the WARC ISO standard.
| Method Summary | |
|---|---|
static Date |
getDate(String dateStr)
Parses the date using the format "yyyy-MM-ddTHH:mm:ssZ". |
static DateFormat |
getDateFormat()
Return a DateFormat object which can be used to string
format WARC dates. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Date getDate(String dateStr)
dateStr - the date to parse
null based on whether the date
to parse is compliant with the format "yyyy-MM-ddTHH:mm:ssZ" or notpublic static DateFormat getDateFormat()
DateFormat object which can be used to string
format WARC dates.
DateFormat object which can be used to string
format WARC dates.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||