XmpDate class

XmpDate class

Represents Date in XMP packet.

A date-time value is represented using a subset of the formats 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

The XmpDate type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of XmpDate.
init Initializes a new instance of XmpDate.

Methods

Method Description
get_xmp_representation Returns the string containing the value in XMP format.
accept_value Extracts the property value using a custom ValueAcceptor. (inherited from PropertyValue)
accept_value_value_acceptor (inherited from PropertyValue)
to_array (inherited from PropertyValue)
to_class (inherited from PropertyValue)
to_string Returns a string that represents the property value. (inherited from XmpValueBase)
to_struct (inherited from PropertyValue)

Properties

Property Description
format The format string for the current XMP date value.
value The DateTime value of the XMP date.
raw_value The raw value. (inherited from PropertyValue)
type The type of the property. (inherited from PropertyValue)

Fields

Field Description
ISO_8601_FORMAT The ISO 8601 (roundtrip) format string.

See Also