Package com.longbridge.calendar
Enum CalendarCategory
- java.lang.Object
-
- java.lang.Enum<CalendarCategory>
-
- com.longbridge.calendar.CalendarCategory
-
- All Implemented Interfaces:
Serializable,Comparable<CalendarCategory>
public enum CalendarCategory extends Enum<CalendarCategory>
Financial calendar event category.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ClosedMarket closure daysDividendDividend announcementsIpoInitial public offeringsMacroDataMacro-economic data releasesMeetingShareholder / analyst meetingsMergeStock consolidations / mergersReportEarnings reportsSplitStock splits
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CalendarCategoryvalueOf(String name)Returns the enum constant of this type with the specified name.static CalendarCategory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Report
public static final CalendarCategory Report
Earnings reports
-
Dividend
public static final CalendarCategory Dividend
Dividend announcements
-
Split
public static final CalendarCategory Split
Stock splits
-
Ipo
public static final CalendarCategory Ipo
Initial public offerings
-
MacroData
public static final CalendarCategory MacroData
Macro-economic data releases
-
Closed
public static final CalendarCategory Closed
Market closure days
-
Meeting
public static final CalendarCategory Meeting
Shareholder / analyst meetings
-
Merge
public static final CalendarCategory Merge
Stock consolidations / mergers
-
-
Method Detail
-
values
public static CalendarCategory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CalendarCategory c : CalendarCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CalendarCategory valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-