Enum Zone.SerialStyle

    • Enum Constant Detail

      • INCREMENT

        public static final Zone.SerialStyle INCREMENT
        Serials are incremented by 1 on every change
      • EPOCH

        public static final Zone.SerialStyle EPOCH
        Serials will be the UNIX timestamp at the time of the publish
      • DAY

        public static final Zone.SerialStyle DAY
        Serials will be in the form of YYYYMMDDxx where xx is incremented by one for each change during that particular day
      • MINUTE

        public static final Zone.SerialStyle MINUTE
        Serials will be in the form of YYMMDDHHMM
    • Method Detail

      • values

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

        public static Zone.SerialStyle 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