Enum FileRetentionTaskTimestampFormat

java.lang.Object
java.lang.Enum<FileRetentionTaskTimestampFormat>
com.unboundid.ldap.sdk.unboundidds.tasks.FileRetentionTaskTimestampFormat
All Implemented Interfaces:
Serializable, Comparable<FileRetentionTaskTimestampFormat>, java.lang.constant.Constable

This enum defines the set of allowed timestamp formats for use in conjunction with the file retention task.
NOTE: This class, and other classes within the com.unboundid.ldap.sdk.unboundidds package structure, are only supported for use against Ping Identity, UnboundID, and Nokia/Alcatel-Lucent 8661 server products. These classes provide support for proprietary functionality or for external specifications that are not considered stable or mature enough to be guaranteed to work in an interoperable way with other types of LDAP servers.
  • Enum Constant Details

  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • isInUTCTimeZone

      public boolean isInUTCTimeZone()
      Indicates whether the timestamp format should use the UTC time zone rather than the JVM's default time zone.
      Returns:
      true if the timestamp format should use the UTC time zone, or false if it should use the JVM's default time zone (which itself may or may not be the UTC time zone).
    • getSimpleDateFormatString

      Retrieves a format string that can be used to create a SimpleDateFormat object capable of parsing timestamps in this format.
      Returns:
      A format string that can be used to create a SimpleDateFormat object capable of parsing timestamps in this format.
    • getRegexString

      Retrieves a regular expression string that can be used to match timestamps in this format. The returned string will be surrounded by parentheses so that it can act as a capture group.
      Returns:
      A regular expression string that can be used to match timestamps in this format.
    • forName

      Retrieves the timestamp format value with the specified name.
      Parameters:
      name - The name of the timestamp format value to retrieve.
      Returns:
      The timestamp format value with the specified name, or null if there is no value with that name.