Class PdfDate
PdfDate
is the PDF date object.
PdfString
of the form:
(D:YYYYMMDDHHmmSSOHH'mm')
See also ISO-320001 7.9.4, "Dates".
public class PdfDate : PdfObjectWrapper<PdfString>
- Inheritance
-
PdfDate
- Inherited Members
Constructors
PdfDate()
Constructs a
PdfDate
-object, representing the current day and time.
public PdfDate()
- See Also
PdfDate(DateTime)
Constructs a
PdfDate
-object.
public PdfDate(DateTime d)
Parameters
d
DateTimethe date that has to be turned into a
PdfDate
-object
- See Also
Methods
Decode(string)
Converts a PDF string representing a date into a
DateTime
.
public static DateTime Decode(string s)
Parameters
s
stringthe PDF string representing a date
Returns
- DateTime
a
DateTime
representing the date
- See Also
GetW3CDate()
Gives the W3C format of the PdfDate.
public virtual string GetW3CDate()
Returns
- string
a formatted date
- See Also
GetW3CDate(string)
Gives the W3C format of the
PdfDate
.
public static string GetW3CDate(string d)
Parameters
d
stringthe date in the format D:YYYYMMDDHHmmSSOHH'mm'
Returns
- string
a formatted date
- See Also
IsWrappedObjectMustBeIndirect()
protected override bool IsWrappedObjectMustBeIndirect()
Returns
- See Also