com.hp.lft.sdk.wpf

Enum DateFormatType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DateFormatType>


    public enum DateFormatType
    extends java.lang.Enum<DateFormatType>
    • Enum Constant Summary

      Enum Constant and Description
      MULTIPLE_DATE_RANGES
      The date string represents multiple date ranges For example: "20-Mar-2015 - 22-Mar-2015; 25-Mar-2015; 28-Mar-2015 - 29-Mar-2015"
      NONE
      The date is an empty string
      SINGLE_DATE
      The date string represents a single date string For example: "20-Mar-2015"
      SINGLE_DATE_RANGE
      The date string represents a single range of dates For example: "20-Mar-2015 - 22-Mar-2015"
    • Method Summary

      Modifier and Type Method and Description
      static DateFormatType valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static DateFormatType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NONE

        public static final DateFormatType NONE
        The date is an empty string
      • SINGLE_DATE

        public static final DateFormatType SINGLE_DATE
        The date string represents a single date string For example: "20-Mar-2015"
      • SINGLE_DATE_RANGE

        public static final DateFormatType SINGLE_DATE_RANGE
        The date string represents a single range of dates For example: "20-Mar-2015 - 22-Mar-2015"
      • MULTIPLE_DATE_RANGES

        public static final DateFormatType MULTIPLE_DATE_RANGES
        The date string represents multiple date ranges For example: "20-Mar-2015 - 22-Mar-2015; 25-Mar-2015; 28-Mar-2015 - 29-Mar-2015"
    • Method Detail

      • values

        public static DateFormatType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DateFormatType c : DateFormatType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DateFormatType valueOf(java.lang.String name)
        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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null