public static enum DateModifier.ModifyType extends Enum<DateModifier.ModifyType>
Enum Constant and Description |
---|
CEILING
指定日期属性按照进一法处理
|
ROUND
指定日期属性按照四舍五入处理
|
TRUNCATE
取指定日期短的起始值.
|
Modifier and Type | Method and Description |
---|---|
static DateModifier.ModifyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateModifier.ModifyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateModifier.ModifyType TRUNCATE
public static final DateModifier.ModifyType ROUND
public static final DateModifier.ModifyType CEILING
public static DateModifier.ModifyType[] values()
for (DateModifier.ModifyType c : DateModifier.ModifyType.values()) System.out.println(c);
public static DateModifier.ModifyType 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 © 2025. All rights reserved.