public class ArchiveDateConverter extends Object
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.Modifier and Type | Field and Description |
---|---|
static String |
ARC_DATE_FORMAT
ARC date format string as speficied in the ARC documentation.
|
static String |
WARC_DATE_FORMAT
WARC date format string as specified by the WARC ISO standard.
|
Modifier and Type | Method and Description |
---|---|
static DateFormat |
getArcDateFormat()
Returns a
DateFormat object for ARC date conversion. |
static DateFormat |
getWarcDateFormat()
Returns a
DateFormat object for WARC date conversion. |
public static final String ARC_DATE_FORMAT
public static final String WARC_DATE_FORMAT
public static DateFormat getArcDateFormat()
DateFormat
object for ARC date conversion.DateFormat
object for ARC date conversionpublic static DateFormat getWarcDateFormat()
DateFormat
object for WARC date conversion.DateFormat
object for WARC date conversionCopyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.