| Package | Description |
|---|---|
| com.adobe.xmp |
Package containing the xmpcore interface.
|
| Modifier and Type | Method and Description |
|---|---|
static XMPDateTime |
XMPUtils.convertToDate(java.lang.String rawValue)
Converts a string value to an
XMPDateTime. |
static XMPDateTime |
XMPDateTimeFactory.convertToLocalTime(XMPDateTime dateTime)
Make sure a time is local.
|
static XMPDateTime |
XMPDateTimeFactory.convertToUTCTime(XMPDateTime dateTime)
Make sure a time is UTC.
|
static XMPDateTime |
XMPDateTimeFactory.create()
Creates an empty
XMPDateTime-object. |
static XMPDateTime |
XMPDateTimeFactory.create(int year,
int month,
int day)
Creates an
XMPDateTime-object from initial values. |
static XMPDateTime |
XMPDateTimeFactory.create(int year,
int month,
int day,
int hour,
int minute,
int second,
int nanoSecond)
Creates an
XMPDateTime-object from initial values. |
static XMPDateTime |
XMPDateTimeFactory.createFromCalendar(java.util.Calendar calendar)
Creates an
XMPDateTime from a Calendar-object. |
static XMPDateTime |
XMPDateTimeFactory.createFromISO8601(java.lang.String strValue)
Creates an
XMPDateTime from an ISO 8601 string. |
static XMPDateTime |
XMPDateTimeFactory.getCurrentDateTime()
Obtain the current date and time.
|
XMPDateTime |
XMPMeta.getPropertyDate(java.lang.String schemaNS,
java.lang.String propName)
Convenience method to retrieve the literal value of a property.
|
static XMPDateTime |
XMPDateTimeFactory.setLocalTimeZone(XMPDateTime dateTime)
Sets the local time zone without touching any other Any existing time zone value is replaced,
the other date/time fields are not adjusted in any way.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
XMPUtils.convertFromDate(XMPDateTime value)
Convert from
XMPDateTime to string. |
static XMPDateTime |
XMPDateTimeFactory.convertToLocalTime(XMPDateTime dateTime)
Make sure a time is local.
|
static XMPDateTime |
XMPDateTimeFactory.convertToUTCTime(XMPDateTime dateTime)
Make sure a time is UTC.
|
static XMPDateTime |
XMPDateTimeFactory.setLocalTimeZone(XMPDateTime dateTime)
Sets the local time zone without touching any other Any existing time zone value is replaced,
the other date/time fields are not adjusted in any way.
|
void |
XMPMeta.setPropertyDate(java.lang.String schemaNS,
java.lang.String propName,
XMPDateTime propValue) |
void |
XMPMeta.setPropertyDate(java.lang.String schemaNS,
java.lang.String propName,
XMPDateTime propValue,
PropertyOptions options)
Convenience method to set a property with an XMPDateTime-object,
which is serialized to an ISO8601 date.
|
Copyright © 2006-2007 Adobe Systems Inc. All Rights Reserved.