Enum Period

    • Enum Constant Detail

      • Unknown

        public static final Period Unknown
        Unknown
      • Min_1

        public static final Period Min_1
        One minute
      • Min_2

        public static final Period Min_2
        Two minutes
      • Min_3

        public static final Period Min_3
        Three minutes
      • Min_5

        public static final Period Min_5
        Five minutes
      • Min_10

        public static final Period Min_10
        Ten minutes
      • Min_15

        public static final Period Min_15
        Fifteen minutes
      • Min_20

        public static final Period Min_20
        Twenty minutes
      • Min_30

        public static final Period Min_30
        Thirty minutes
      • Min_45

        public static final Period Min_45
        Forty-five minutes
      • Min_60

        public static final Period Min_60
        Sixty minutes
      • Min_120

        public static final Period Min_120
        One hundred and twenty minutes
      • Min_180

        public static final Period Min_180
        One hundred and eighty minutes
      • Min_240

        public static final Period Min_240
        Two hundred and forty minutes
      • Day

        public static final Period Day
        One day
      • Week

        public static final Period Week
        One week
      • Month

        public static final Period Month
        One month
      • Quarter

        public static final Period Quarter
        One quarter
      • Year

        public static final Period Year
        One 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