Enum Period

    • Enum Constant Detail

      • Unknown

        public static final Period Unknown
      • Min_1

        public static final Period Min_1
      • Min_5

        public static final Period Min_5
      • Min_15

        public static final Period Min_15
      • Min_30

        public static final Period Min_30
      • Min_60

        public static final Period Min_60
      • Day

        public static final Period Day
      • Week

        public static final Period Week
      • Month

        public static final Period Month
      • Year

        public static final Period Year
    • Method Detail

      • values

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

        public static Period valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null