Class ArchiveDateConverter


  • public class ArchiveDateConverter
    extends java.lang.Object
    TODO merge with dk.netarkivet.common.utils.archive.ArchiveDateConverter
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ARC_DATE_FORMAT
      ARC date format string as specified in the ARC documentation (14 digits)
      static java.lang.String HERITRIX_DATE_FORMAT
      date format string used by Heritrix with 17 digits
      static java.lang.String WARC_DATE_FORMAT
      WARC date format string as specified by the WARC ISO standard.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.text.DateFormat getArcDateFormat()
      Returns a DateFormat object for ARC date conversion.
      static java.text.DateFormat getHeritrixDateFormat()
      Returns a DateFormat object for Heritrix 17-digit 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
    • Method Detail

      • getArcDateFormat

        public static java.text.DateFormat getArcDateFormat()
        Returns a DateFormat object for ARC date conversion.
        Returns:
        a DateFormat object for ARC date conversion
      • getWarcDateFormat

        public static java.text.DateFormat getWarcDateFormat()
        Returns a DateFormat object for WARC date conversion.
        Returns:
        a DateFormat object for WARC date conversion
      • getHeritrixDateFormat

        public static java.text.DateFormat getHeritrixDateFormat()
        Returns a DateFormat object for Heritrix 17-digit date conversion
        Returns:
        a DateFormat object for WARC date conversion