Uses of Interface
com.itextpdf.kernel.xmp.XMPDateTime
-
Uses of XMPDateTime in com.itextpdf.kernel.xmp
Modifier and TypeMethodDescriptionstatic XMPDateTime
XMPUtils.convertToDate
(String rawValue) Converts a string value to anXMPDateTime
.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 emptyXMPDateTime
-object.static XMPDateTime
XMPDateTimeFactory.create
(int year, int month, int day) Creates anXMPDateTime
-object from initial values.static XMPDateTime
XMPDateTimeFactory.create
(int year, int month, int day, int hour, int minute, int second, int nanoSecond) Creates anXMPDateTime
-object from initial values.static XMPDateTime
XMPDateTimeFactory.createFromCalendar
(Calendar calendar) Creates anXMPDateTime
from aCalendar
-object.static XMPDateTime
XMPDateTimeFactory.createFromISO8601
(String strValue) Creates anXMPDateTime
from an ISO 8601 string.static XMPDateTime
XMPDateTimeFactory.getCurrentDateTime()
Obtain the current date and time.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 TypeMethodDescriptionstatic String
XMPUtils.convertFromDate
(XMPDateTime value) Convert fromXMPDateTime
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. -
Uses of XMPDateTime in com.itextpdf.kernel.xmp.impl
Modifier and TypeMethodDescriptionXMPMetaImpl.getPropertyDate
(String schemaNS, String propName) static XMPDateTime
Converts an ISO 8601 string to anXMPDateTime
.static XMPDateTime
ISO8601Converter.parse
(String iso8601String, XMPDateTime binValue) Modifier and TypeMethodDescriptionstatic XMPDateTime
ISO8601Converter.parse
(String iso8601String, XMPDateTime binValue) static String
ISO8601Converter.render
(XMPDateTime dateTime) Converts aCalendar
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)