public enum MinuteOfHour extends Enum<MinuteOfHour>
Java class for MinuteOfHour.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="MinuteOfHour">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ZERO"/>
<enumeration value="FIFTEEN"/>
<enumeration value="THIRTY"/>
<enumeration value="FORTY_FIVE"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
FIFTEEN
Fifteen minutes past hour.
|
FORTY_FIVE
Forty-five minutes past hour.
|
THIRTY
Thirty minutes past hour.
|
ZERO
Zero minutes past hour.
|
| Modifier and Type | Method and Description |
|---|---|
static MinuteOfHour |
fromValue(String v) |
String |
value() |
static MinuteOfHour |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MinuteOfHour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MinuteOfHour ZERO
public static final MinuteOfHour FIFTEEN
public static final MinuteOfHour THIRTY
public static final MinuteOfHour FORTY_FIVE
public static MinuteOfHour[] values()
for (MinuteOfHour c : MinuteOfHour.values()) System.out.println(c);
public static MinuteOfHour 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 value()
public static MinuteOfHour fromValue(String v)
Copyright © 2023. All rights reserved.