public static enum BetweenFormater.Level extends Enum<BetweenFormater.Level>
Enum Constant and Description |
---|
DAY
天
|
HOUR
小时
|
MILLISECOND
毫秒
|
MILLSECOND
Deprecated.
拼写错误,请使用
MILLISECOND |
MINUTE
分钟
|
SECOND
秒
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
获取级别名称
|
static BetweenFormater.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BetweenFormater.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BetweenFormater.Level DAY
public static final BetweenFormater.Level HOUR
public static final BetweenFormater.Level MINUTE
public static final BetweenFormater.Level SECOND
@Deprecated public static final BetweenFormater.Level MILLSECOND
MILLISECOND
public static final BetweenFormater.Level MILLISECOND
public static BetweenFormater.Level[] values()
for (BetweenFormater.Level c : BetweenFormater.Level.values()) System.out.println(c);
public static BetweenFormater.Level 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 nullpublic String getName()
Copyright © 2020. All rights reserved.