Package | Description |
---|---|
com.itextpdf.xmp |
Package containing the xmpcore interface.
|
com.itextpdf.xmp.impl |
Package containing the xmpcore implementation.
|
Modifier and Type | Method and Description |
---|---|
static XMPDateTime |
XMPUtils.convertToDate(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(Calendar calendar)
Creates an XMPDateTime from a Calendar -object.
|
static XMPDateTime |
XMPDateTimeFactory.createFromISO8601(String strValue)
Creates an XMPDateTime from an ISO 8601 string.
|
static XMPDateTime |
XMPDateTimeFactory.getCurrentDateTime()
Obtain the current date and time.
|
XMPDateTime |
XMPMeta.getPropertyDate(String schemaNS, 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 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(String schemaNS, String propName, XMPDateTime propValue) |
void |
XMPMeta.setPropertyDate(String schemaNS, 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 and Description |
---|---|
class |
XMPDateTimeImpl
The implementation of XMPDateTime .
|
Modifier and Type | Method and Description |
---|---|
XMPDateTime |
XMPMetaImpl.getPropertyDate(String schemaNS, String propName) |
static XMPDateTime |
ISO8601Converter.parse(String iso8601String)
Converts an ISO 8601 string to an XMPDateTime .
|
static XMPDateTime |
ISO8601Converter.parse(String iso8601String, XMPDateTime binValue) |
Modifier and Type | Method and Description |
---|---|
static XMPDateTime |
ISO8601Converter.parse(String iso8601String, XMPDateTime binValue) |
static String |
ISO8601Converter.render(XMPDateTime dateTime)
Converts a Calendar into an ISO 8601 string.
|
void |
XMPMetaImpl.setPropertyDate(String schemaNS, String propName, XMPDateTime propValue) |
void |
XMPMetaImpl.setPropertyDate(String schemaNS, String propName, XMPDateTime propValue, PropertyOptions options) |
Copyright © 1998–2017. All rights reserved.