Package de.uplanet.util
Class ISODateTimeUtil.Instance
- java.lang.Object
-
- de.uplanet.util.ISODateTimeUtil.Instance
-
- Enclosing class:
- ISODateTimeUtil
@Deprecated public static final class ISODateTimeUtil.Instance extends Object
Deprecated.Use the static methods ofISODateTimeUtil
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
formatISODateTime(Date p_dt)
Deprecated.Format the given date in the standard UTC ISO format (yyyy-MM-dd'T'HH:mm:ss'Z'
).String
formatISODateTimeMillis(Date p_dt)
Deprecated.Format the given date in the standard UTC ISO format, with milliseconds (yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
).Date
parseISODateTime(String p_str)
Deprecated.Parse the given date in the standard UTC ISO format (yyyy-MM-dd'T'HH:mm:ss'Z'
).Date
parseISODateTimeMillis(String p_str)
Deprecated.Parse the given date in the standard UTC ISO format, with milliseconds (yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
).Date
parseISODateTimeOptionalMillis(String p_str)
Deprecated.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'
).
-
-
-
Method Detail
-
formatISODateTime
public String formatISODateTime(Date p_dt)
Deprecated.Format the given date in the standard UTC ISO format (yyyy-MM-dd'T'HH:mm:ss'Z'
).- Parameters:
p_dt
- The date to be formatted.- Returns:
- The formatted date.
-
formatISODateTimeMillis
public String formatISODateTimeMillis(Date p_dt)
Deprecated.Format the given date in the standard UTC ISO format, with milliseconds (yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
).- Parameters:
p_dt
- The date to be formatted.- Returns:
- The formatted date.
-
parseISODateTime
public Date parseISODateTime(String p_str)
Deprecated.Parse the given date in the standard UTC ISO format (yyyy-MM-dd'T'HH:mm:ss'Z'
).- Parameters:
p_str
- The date to be parsed, e.g.2013-12-24T17:00:00Z
.- Returns:
- The parsed date.
-
parseISODateTimeMillis
public Date parseISODateTimeMillis(String p_str)
Deprecated.Parse the given date in the standard UTC ISO format, with milliseconds (yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
).- Parameters:
p_str
- The date to be parsed, e.g.2013-12-24T17:00:00.123Z
.- Returns:
- The parsed date.
-
parseISODateTimeOptionalMillis
public Date parseISODateTimeOptionalMillis(String p_str)
Deprecated.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'
).- Parameters:
p_str
- The date to be parsed, e.g.2013-12-24T17:00:00.123Z
.- Returns:
- The parsed date.
-
-