Enum Class Modify

java.lang.Object
java.lang.Enum<Modify>
org.miaixz.bus.core.center.date.culture.en.Modify
All Implemented Interfaces:
Serializable, Comparable<Modify>, Constable

public enum Modify extends Enum<Modify>
修改类型
Since:
Java 17+
Author:
Kimi Liu
  • Enum Constant Details

    • TRUNCATE

      public static final Modify TRUNCATE
      取指定日期短的起始值.
    • ROUND

      public static final Modify ROUND
      指定日期属性按照四舍五入处理
    • CEILING

      public static final Modify CEILING
      指定日期属性按照进一法处理
  • Method Details

    • values

      public static Modify[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Modify valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null