@Deprecated public final class WarcDateParser extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.Date |
getDate(java.lang.String dateStr)
Deprecated.
Parses the date using the format "yyyy-MM-ddTHH:mm:ssZ".
|
static java.text.DateFormat |
getDateFormat()
Deprecated.
Return a
DateFormat object which can be used to string
format WARC dates. |
public static java.util.Date getDate(java.lang.String dateStr)
dateStr - the date to parsenull based on whether the date
to parse is compliant with the format "yyyy-MM-ddTHH:mm:ssZ" or notpublic static java.text.DateFormat getDateFormat()
DateFormat object which can be used to string
format WARC dates.DateFormat object which can be used to string
format WARC dates.Copyright © 2011–2023. All rights reserved.