Package org.openpdf.text.pdf
Class PdfDate
java.lang.Object
org.openpdf.text.pdf.PdfObject
org.openpdf.text.pdf.PdfString
org.openpdf.text.pdf.PdfDate
PdfDate is the PDF date object.
PDF defines a standard date format. The PDF date format closely follows the format defined by the international
standard ASN.1 (Abstract Syntax Notation One, defined in CCITT X.208 or ISO/IEC 8824). A date is a
PdfString of the form:
(D:YYYYMMDDHHmmSSOHH'mm')
This object is described in the 'Portable Document Format Reference Manual version 1.3' section 7.2 (page 183-184)
- See Also:
-
Field Summary
Fields inherited from class org.openpdf.text.pdf.PdfString
encoding, hexWriting, valueFields inherited from class org.openpdf.text.pdf.PdfObject
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openpdf.text.pdf.PdfObject
canBeInObjStm, isArray, isDictionary, isName, isNull, isNumber, isString, setContent, type
-
Constructor Details
-
PdfDate
Constructs aPdfDate-object.- Parameters:
d- the date that has to be turned into aPdfDate-object
-
PdfDate
Constructs aPdfDate-object.- Parameters:
d- the date in the PDF ASN.1 date format ((D:YYYYMMDDHHmmSSOHH'mm')
-
PdfDate
public PdfDate()Constructs aPdfDate-object, representing the current day and time.
-