|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.common.utils.archive.ArchiveDateConverter
public class ArchiveDateConverter
Utility class for dispensing ARC/WARC DateFormat
objects.
Each object is thread safe as long as it it only used by the same thread.
This means no caching of this object for later use unless its by the same thread.
ThreadLocal
handles automatic instantiation and cleanup of objects.
Field Summary | |
---|---|
static java.lang.String |
ARC_DATE_FORMAT
ARC date format string as speficied in the ARC documentation. |
static java.lang.String |
WARC_DATE_FORMAT
WARC date format string as specified by the WARC ISO standard. |
Method Summary | |
---|---|
static java.text.DateFormat |
getArcDateFormat()
Returns a DateFormat object for ARC date conversion. |
static java.text.DateFormat |
getWarcDateFormat()
Returns a DateFormat object for WARC date conversion. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ARC_DATE_FORMAT
public static final java.lang.String WARC_DATE_FORMAT
Method Detail |
---|
public static java.text.DateFormat getArcDateFormat()
DateFormat
object for ARC date conversion.
DateFormat
object for ARC date conversionpublic static java.text.DateFormat getWarcDateFormat()
DateFormat
object for WARC date conversion.
DateFormat
object for WARC date conversion
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |