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 of ISODateTimeUtil.
  • Method Details

    • 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 (either yyyy-MM-dd'T'HH:mm:ss'Z', or 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.