public enum DateValidType extends Enum<DateValidType>
| 枚举常量和说明 |
|---|
if_afterNow
现在之后
|
if_afterSpecifyDate
指定日期之后
|
if_beforeNow
现在之前
|
if_beforeSpecifyDate
指定日期之前
|
none
无规则
|
public static final DateValidType none
public static final DateValidType if_beforeNow
public static final DateValidType if_afterNow
public static final DateValidType if_beforeSpecifyDate
public static final DateValidType if_afterSpecifyDate
public static DateValidType[] values()
for (DateValidType c : DateValidType.values()) System.out.println(c);
public static DateValidType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2021. All Rights Reserved.