XmpDate

XmpDate class

Represents Date in XMP packet.

public sealed class XmpDate : XmpTypeBase

Constructors

Name Description
XmpDate(DateTime) Initializes a new instance of the XmpDate class.
XmpDate(string) Initializes a new instance of the XmpDate class.

Properties

Name Description
Format { get; } Gets the format string for current value.
Value { get; set; } Gets or sets the date value.

Methods

Name Description
override GetXmpRepresentation() Returns string contained value in XMP format.

Fields

Name Description
const Iso8601Format The ISO 8601 (roundtrip) format string.

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