protected static enum ChapMenuItems.CalculationType extends java.lang.Enum<ChapMenuItems.CalculationType>
Enum Constant and Description |
---|
CALENDAR_2_JD
convert a calendar date to a Julian day number
|
DATE_2_DAYS_INTO_YEAR
determine the number of days into the year that a given date falls
|
DAY_OF_WEEK
determine what day of the week a particular date falls
|
DAYS_INTO_YEAR_2_DATE
given a number of days into the year, determine the date
|
GST_2_LST
convert GST to LST
|
GST_2_UT
convert GST to UT
|
JD_2_CALENDAR
convert a Julian day number to a calendar date
|
LCT_2_UT
convert LCT to UT
|
LEAP_YEARS
determine if a Gregorian year is a leap year
|
LST_2_GST
convert LST to GST
|
NO_CALC_SELECTED
no calculation is currently selected
|
UT_2_GST
convert UT to GST
|
UT_2_LCT
convert UT to LCT
|
Modifier and Type | Method and Description |
---|---|
static ChapMenuItems.CalculationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChapMenuItems.CalculationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChapMenuItems.CalculationType NO_CALC_SELECTED
public static final ChapMenuItems.CalculationType LEAP_YEARS
public static final ChapMenuItems.CalculationType CALENDAR_2_JD
public static final ChapMenuItems.CalculationType JD_2_CALENDAR
public static final ChapMenuItems.CalculationType DAY_OF_WEEK
public static final ChapMenuItems.CalculationType DATE_2_DAYS_INTO_YEAR
public static final ChapMenuItems.CalculationType DAYS_INTO_YEAR_2_DATE
public static final ChapMenuItems.CalculationType LCT_2_UT
public static final ChapMenuItems.CalculationType UT_2_LCT
public static final ChapMenuItems.CalculationType UT_2_GST
public static final ChapMenuItems.CalculationType GST_2_UT
public static final ChapMenuItems.CalculationType GST_2_LST
public static final ChapMenuItems.CalculationType LST_2_GST
public static ChapMenuItems.CalculationType[] values()
for (ChapMenuItems.CalculationType c : ChapMenuItems.CalculationType.values()) System.out.println(c);
public static ChapMenuItems.CalculationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null