#include <PdfDate.h>
Public Member Functions | |
PdfDate () | |
PdfDate (const time_t &t) | |
virtual | ~PdfDate () |
bool | IsValid () const |
const time_t & | GetTime () const |
void | ToString (PdfString &rsString) const |
PdfDate objects are immutable.
From the PDF reference:
PDF defines a standard date format, which closely follows that of the international standard ASN.1 (Abstract Syntax Notation One), defined in ISO/IEC 8824 (see the Bibliography). A date is a string of the form (D:YYYYMMDDHHmmSSOHH'mm')
|
Create a PdfDate object with the current date and time. |
|
Create a PdfDate with a specified date and time
|
|
Delete the PdfDate object |
|
|
|
You can use this function to check wether the date you passed to the constructor could be converted to a valid pdf date string or a valid time_t.
|
|
The value returned by this function can be used in any PdfObject where a date is needed.
|