public enum DateInfoType extends Enum<DateInfoType>
| Enum Constant and Description |
|---|
DATE_TYPE_FIX_TERM
固定期限
|
DATE_TYPE_FIX_TERM_RANGE
固定期限范围
|
DATE_TYPE_FIX_TIME_RANGE
固定时间范围
|
DATE_TYPE_PERMANENT
永久有效类型
|
| Modifier and Type | Method and Description |
|---|---|
static DateInfoType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateInfoType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateInfoType DATE_TYPE_PERMANENT
public static final DateInfoType DATE_TYPE_FIX_TIME_RANGE
public static final DateInfoType DATE_TYPE_FIX_TERM_RANGE
public static final DateInfoType DATE_TYPE_FIX_TERM
public static DateInfoType[] values()
for (DateInfoType c : DateInfoType.values()) System.out.println(c);
public static DateInfoType 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 © 2024. All rights reserved.