public static enum DateTimeField.AM_PM extends Enum<DateTimeField.AM_PM>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static DateTimeField.AM_PM |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeField.AM_PM[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeField.AM_PM AM
public static final DateTimeField.AM_PM PM
public static DateTimeField.AM_PM[] values()
for (DateTimeField.AM_PM c : DateTimeField.AM_PM.values()) System.out.println(c);
public static DateTimeField.AM_PM 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 toString()
toString
in class Enum<DateTimeField.AM_PM>
Enum.toString()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.