Package de.uplanet.util
Klasse ISODateTimeUtil
java.lang.Object
de.uplanet.util.ISODateTimeUtil
The static methods of this class are thread-safe.
-
Verschachtelte Klassen - Übersicht
Verschachtelte Klassen -
Feldübersicht
Felder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic StringformatISODateTime(Instant p_dt) Format the given date in the standard UTC ISO format (yyyy-MM-dd'T'HH:mm:ss'Z').static StringformatISODateTime(Date p_dt) Format the given date in the standard UTC ISO format (yyyy-MM-dd'T'HH:mm:ss'Z').static StringFormat the given date in the standard UTC ISO format, with milliseconds (yyyy-MM-dd'T'HH:mm:ss.SSS'Z').static StringformatISODateTimeMillis(Date p_dt) Format the given date in the standard UTC ISO format, with milliseconds (yyyy-MM-dd'T'HH:mm:ss.SSS'Z').static ISODateTimeUtil.InstanceVeraltet.The static methods of this class are thread-safe so there is no need to create an instance of this utility.static DateparseISODateTime(String p_str) Parse the given date in the standard UTC ISO format (yyyy-MM-dd'T'HH:mm:ss'Z').static DateparseISODateTimeMillis(String p_str) Parse the given date in the standard UTC ISO format, with milliseconds (yyyy-MM-dd'T'HH:mm:ss.SSS'Z').static DateParse the given date in the standard UTC ISO format, with optional milliseconds (eitheryyyy-MM-dd'T'HH:mm:ss'Z', oryyyy-MM-dd'T'HH:mm:ss.SSS'Z').
-
Felddetails
-
UTC_ISO_DATE_TIME_FORMAT
The standard ISO UTC formatyyyy-MM-dd'T'HH:mm:ss'Z'.- Siehe auch:
-
UTC_ISO_DATE_TIME_FORMAT_MILLIS
The standard ISO UTC format with millisecondsyyyy-MM-dd'T'HH:mm:ss.SSS'Z'.- Siehe auch:
-
-
Methodendetails
-
newInstance
Veraltet.The static methods of this class are thread-safe so there is no need to create an instance of this utility.Create an instance of the ISO date time utility.- Gibt zurück:
- A new instance of the utility.
-
formatISODateTime
Format the given date in the standard UTC ISO format (yyyy-MM-dd'T'HH:mm:ss'Z').- Parameter:
p_dt- The date to be formatted.- Gibt zurück:
- The formatted date.
-
formatISODateTimeMillis
Format the given date in the standard UTC ISO format, with milliseconds (yyyy-MM-dd'T'HH:mm:ss.SSS'Z').- Parameter:
p_dt- The date to be formatted.- Gibt zurück:
- The formatted date.
-
formatISODateTime
Format the given date in the standard UTC ISO format (yyyy-MM-dd'T'HH:mm:ss'Z').- Parameter:
p_dt- The date to be formatted.- Gibt zurück:
- The formatted date.
-
formatISODateTimeMillis
Format the given date in the standard UTC ISO format, with milliseconds (yyyy-MM-dd'T'HH:mm:ss.SSS'Z').- Parameter:
p_dt- The date to be formatted.- Gibt zurück:
- The formatted date.
-
parseISODateTime
Parse the given date in the standard UTC ISO format (yyyy-MM-dd'T'HH:mm:ss'Z').- Parameter:
p_str- The date to be parsed, e.g.2013-12-24T17:00:00Z.- Gibt zurück:
- The parsed date.
-
parseISODateTimeMillis
Parse the given date in the standard UTC ISO format, with milliseconds (yyyy-MM-dd'T'HH:mm:ss.SSS'Z').- Parameter:
p_str- The date to be parsed, e.g.2013-12-24T17:00:00.123Z.- Gibt zurück:
- The parsed date.
-
parseISODateTimeOptionalMillis
Parse the given date in the standard UTC ISO format, with optional milliseconds (eitheryyyy-MM-dd'T'HH:mm:ss'Z', oryyyy-MM-dd'T'HH:mm:ss.SSS'Z').- Parameter:
p_str- The date to be parsed, e.g.2013-12-24T17:00:00.123Z.- Gibt zurück:
- The parsed date.
-
ISODateTimeUtil.