public final class XmpDate extends XmpTypeBase
Represents Date in XMP packet.
Modifier and Type | Field and Description |
---|---|
static String |
Iso8601Format
The ISO 8601 (roundtrip) format string.
|
Constructor and Description |
---|
XmpDate(Date dateTime)
Initializes a new instance of the
XmpDate class. |
XmpDate(String dateString)
Initializes a new instance of the
XmpDate class. |
Modifier and Type | Method and Description |
---|---|
String |
getFormat()
Gets the format string for current value.
|
Date |
getValue()
Gets or sets the date value.
|
String |
getXmpRepresentation()
Returns string contained value in XMP format.
|
void |
setValue(Date value)
Gets or sets the date value.
|
public static final String Iso8601Format
The ISO 8601 (roundtrip) format string.
public XmpDate(Date dateTime)
Initializes a new instance of the XmpDate
class.
dateTime
- A date-time value which is represented using a subset of ISO RFC 8601 formatting.public final Date getValue()
Gets or sets the date value.
Value: The date value.public final void setValue(Date value)
Gets or sets the date value.
Value: The date value.public final String getFormat()
Gets the format string for current value.
Value: The format string for current value.public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class XmpTypeBase
Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.