public static enum AppProperties.MC_TIME_FORMAT extends Enum<AppProperties.MC_TIME_FORMAT>
Modifier and Type | Method and Description |
---|---|
static AppProperties.MC_TIME_FORMAT |
fromString(String text) |
static AppProperties.MC_TIME_FORMAT |
get(int id) |
String |
getText() |
static AppProperties.MC_TIME_FORMAT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppProperties.MC_TIME_FORMAT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppProperties.MC_TIME_FORMAT HOURS_12
public static final AppProperties.MC_TIME_FORMAT HOURS_24
public static AppProperties.MC_TIME_FORMAT[] values()
for (AppProperties.MC_TIME_FORMAT c : AppProperties.MC_TIME_FORMAT.values()) System.out.println(c);
public static AppProperties.MC_TIME_FORMAT 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 getText()
public static AppProperties.MC_TIME_FORMAT get(int id)
public static AppProperties.MC_TIME_FORMAT fromString(String text)
Copyright © 2015–2019. All rights reserved.