public static enum Fields.Modify extends Enum<Fields.Modify>
| Enum Constant and Description |
|---|
CEILING
指定日期属性按照进一法处理
|
ROUND
指定日期属性按照四舍五入处理
|
TRUNCATE
取指定日期短的起始值.
|
| Modifier and Type | Method and Description |
|---|---|
static Fields.Modify |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Fields.Modify[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Fields.Modify TRUNCATE
public static final Fields.Modify ROUND
public static final Fields.Modify CEILING
public static Fields.Modify[] values()
for (Fields.Modify c : Fields.Modify.values()) System.out.println(c);
public static Fields.Modify valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.