XmpDate Class
Contents
[
Hide
]Summary: Represents Date in XMP packet.
Module: aspose.imaging.xmp.types.basic
Full Name: aspose.imaging.xmp.types.basic.XmpDate
Inheritance: IXmpType, XmpTypeBase
Aspose.Imaging Version: 24.7.0
Constructors
Name | Description |
---|---|
XmpDate(date_string) | Initializes a new instance of the XmpDate class. |
XmpDate(date_time) | Initializes a new instance of the XmpDate class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
ISO_8601_FORMAT [static] | string | r | The ISO 8601 (roundtrip) format string. |
format | string | r | Gets the format string for current value. |
value | datetime | r/w | Gets or sets the date value. |
Methods
Name | Description |
---|---|
get_xmp_representation() | Returns string contained value in XMP format. |
Constructor: XmpDate(date_string)
XmpDate(date_string)
Initializes a new instance of the XmpDate class.
Parameters:
Parameter | Type | Description |
---|---|---|
date_string | string | The string representation of date. |
Constructor: XmpDate(date_time)
XmpDate(date_time)
Initializes a new instance of the XmpDate class.
Parameters:
Parameter | Type | Description |
---|---|---|
date_time | datetime | A date-time value which is represented using a subset of ISO RFC 8601 formatting. |
Method: get_xmp_representation()
get_xmp_representation()
Returns string contained value in XMP format.
Returns
Type | Description |
---|---|
string | Returns string containing xmp representation |