XmpDate class
XmpDate class
Represents Date in XMP packet.
Inheritance: XmpDate →
XmpValueBase →
PropertyValue
The XmpDate type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__(self, date_time) |
Initializes a new instance of the XmpDate class. |
__init__(self, date_string) |
Initializes a new instance of the XmpDate class. |
Properties
| Property | Description |
|---|---|
| type | Gets the MetadataPropertyType. |
| raw_value | Gets the raw value. |
| value | Gets the value. |
| format | Gets format string for current value. |
| ISO_8601_FORMAT | The ISO 8601 (roundtrip) format string. |
Methods
| Method | Description |
|---|---|
accept_value(self, value_acceptor) |
Extracts the property value using a custom ValueAcceptor. |
get_xmp_representation(self) |
Returns string contained value in XMP format. |
Remarks
A date-time value is represented using a subset of the formats as defined in Date and Time Formats: YYYY YYYY-MM YYYY-MM-DD YYYY-MM-DDThh:mmTZD YYYY-MM-DDThh:mm:ssTZD YYYY-MM-DDThh:mm:ss.sTZD
See Also
- module
groupdocs.metadata.standards.xmp - class
MetadataPropertyType - class
PropertyValue - class
ValueAcceptor - class
XmpDate - class
XmpValueBase