Enum PKDateStyle

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

    public enum PKDateStyle
    extends java.lang.Enum<PKDateStyle>
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static PKDateStyle valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static PKDateStyle[] 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

      • PKDateStyleNone

        public static final PKDateStyle PKDateStyleNone
      • PKDateStyleShort

        public static final PKDateStyle PKDateStyleShort
      • PKDateStyleMedium

        public static final PKDateStyle PKDateStyleMedium
      • PKDateStyleLong

        public static final PKDateStyle PKDateStyleLong
      • PKDateStyleFull

        public static final PKDateStyle PKDateStyleFull
    • Method Detail

      • values

        public static PKDateStyle[] 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 (PKDateStyle c : PKDateStyle.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PKDateStyle 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