Package com.pd4ml.pdf.cos.util
Class PdfDates
- java.lang.Object
-
- com.pd4ml.pdf.cos.util.PdfDates
-
public final class PdfDates extends java.lang.ObjectFormats aCalendaras a PDF date string (D:YYYYMMDDHHmmSSOHH'mm', ISO 32000-1 7.9.4) -- the format used for/Info'sCreationDate/ModDateentries. Mirrors the private formatter already used bycom.pd4ml.pdf.sign.pdf.IncrementalPdfSignerfor the same purpose, promoted here soPdfDocumentBasecan share it rather than duplicating it.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringOVERRIDE_PROPERTY"pd4ml.document.date" system property override, matching the same-named constant/feature the legacycom.pd4ml.pdf.parser.Util.generateDateStringalready honored -- "useful if needed a byte-to-byte document comparison" (golden-file/regression testing), so it's preserved here rather than dropped.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringformat(java.util.Calendar cal)static java.lang.Stringnow()
-
-
-
Field Detail
-
OVERRIDE_PROPERTY
public static final java.lang.String OVERRIDE_PROPERTY
"pd4ml.document.date" system property override, matching the same-named constant/feature the legacycom.pd4ml.pdf.parser.Util.generateDateStringalready honored -- "useful if needed a byte-to-byte document comparison" (golden-file/regression testing), so it's preserved here rather than dropped.- See Also:
- Constant Field Values
-
-