public final class XMPDateTimeUtils
extends java.lang.Object
| Constructor and Description |
|---|
XMPDateTimeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static XMPDateTime |
convertToLocalTimeZone(XMPDateTime dateTime,
boolean adjustTime)
Set to the local time zone (local timezone is provided by the OS).
|
static XMPDateTime |
convertToUTCTime(XMPDateTime dateTime)
Make sure a time is UTC.
|
static XMPDateTime |
getCurrentDateTime()
Obtain the current date and time.
|
public static XMPDateTime getCurrentDateTime()
public static XMPDateTime convertToLocalTimeZone(XMPDateTime dateTime, boolean adjustTime)
dateTime - the XMPDateTime variable containing the value to be modified.adjustTime - flag if the time should be adjusted based on the timeXMPDateTime-object.public static XMPDateTime convertToUTCTime(XMPDateTime dateTime)
dateTime - the XMPDateTime variable containing the time to
be modified.XMPDateTime-object.Copyright © 2010 - 2023 Adobe. All Rights Reserved