Package | Description |
---|---|
com.itextpdf.xmp |
Package containing the xmpcore interface.
|
com.itextpdf.xmp.impl |
Package containing the xmpcore implementation.
|
Modifier and Type | Method | 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 | 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.
|
Modifier and Type | Class | Description |
---|---|---|
class |
XMPDateTimeImpl |
The implementation of
XMPDateTime . |
Modifier and Type | Method | Description |
---|---|---|
XMPDateTime |
XMPMetaImpl.getPropertyDate(java.lang.String schemaNS,
java.lang.String propName) |
|
static XMPDateTime |
ISO8601Converter.parse(java.lang.String iso8601String) |
Converts an ISO 8601 string to an
XMPDateTime . |
static XMPDateTime |
ISO8601Converter.parse(java.lang.String iso8601String,
XMPDateTime binValue) |
Modifier and Type | Method | Description |
---|---|---|
static XMPDateTime |
ISO8601Converter.parse(java.lang.String iso8601String,
XMPDateTime binValue) |
|
static java.lang.String |
ISO8601Converter.render(XMPDateTime dateTime) |
Converts a
Calendar into an ISO 8601 string. |
void |
XMPMetaImpl.setPropertyDate(java.lang.String schemaNS,
java.lang.String propName,
XMPDateTime propValue) |
|
void |
XMPMetaImpl.setPropertyDate(java.lang.String schemaNS,
java.lang.String propName,
XMPDateTime propValue,
PropertyOptions options) |
Copyright © 1998–2018. All rights reserved.