XmpDate Class

Summary: Represents Date in XMP packet.

Module: aspose.imaging.xmp.types.basic

Full Name: aspose.imaging.xmp.types.basic.XmpDate

Inheritance: IXmpType, XmpTypeBase

Constructors

NameDescription
XmpDate(date_string)Initializes a new instance of the XmpDate class.
XmpDate(date_time)Initializes a new instance of the XmpDate class.

Properties

NameTypeAccessDescription
ISO_8601_FORMAT [static]stringrThe ISO 8601 (roundtrip) format string.
formatstringrGets the format string for current value.
valueSystem.DateTimer/wGets or sets the date value.

Methods

NameDescription
clone()Clones this instance.
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:

ParameterTypeDescription
date_stringstringThe string representation of date.

Constructor: XmpDate(date_time)

 XmpDate(date_time) 

Initializes a new instance of the XmpDate class.

Parameters:

ParameterTypeDescription
date_timeSystem.DateTimeA date-time value which is represented using a subset of ISO RFC 8601 formatting.

Method: clone()

 clone() 

Clones this instance.

Returns

TypeDescription
System.ObjectA memberwise clone.

Method: get_xmp_representation()

 get_xmp_representation() 

Returns string contained value in XMP format.

Returns

TypeDescription
stringReturns string containing xmp representation