Class XmpDate

XmpDate class

Represents Date in XMP packet.

public sealed class XmpDate : XmpTypeBase

Constructors

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

Properties

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

Methods

NameDescription
virtual Clone()Clones this instance.
override GetXmpRepresentation()Returns string contained value in XMP format.
override ToString()Gets this XMP data as string.

Fields

NameDescription
const Iso8601FormatThe 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