iText 7 7.1.8 API
|
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')
See also ISO-320001 7.9.4, "Dates". More...
Public Member Functions |
|
PdfDate (DateTime d) | |
Constructs a PdfDate -object. More... |
|
PdfDate () | |
Constructs a PdfDate -object, representing the current day and time. More... |
|
virtual String | GetW3CDate () |
Gives the W3C format of the PdfDate. More... |
|
Public Member Functions inherited from iText.Kernel.Pdf.PdfObjectWrapper< PdfString > | |
virtual T | GetPdfObject () |
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document, PdfIndirectReference reference) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | MakeIndirect (PdfDocument document) |
Marks object behind wrapper to be saved as indirect. More... |
|
virtual iText.Kernel.Pdf.PdfObjectWrapper< T > | SetModified () |
virtual void | Flush () |
virtual bool | IsFlushed () |
Static Public Member Functions |
|
static String | GetW3CDate (String d) |
Gives the W3C format of the PdfDate More... |
|
static DateTime | Decode (String s) |
Converts a PDF string representing a date into a DateTime More... |
|
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')
See also ISO-320001 7.9.4, "Dates".
|
inline |
|
inline |
Constructs a PdfDate
-object, representing the current day and time.
|
inlinestatic |
Converts a PDF string representing a date into a DateTime
s | the PDF string representing a date |
DateTime
representing the date
|
inlinevirtual |
Gives the W3C format of the PdfDate.
|
inlinestatic |
Gives the W3C format of the PdfDate
d | the date in the format D:YYYYMMDDHHmmSSOHH'mm' |