Package com.longbridge.fundamental
Enum FinancialReportPeriod
- java.lang.Object
-
- java.lang.Enum<FinancialReportPeriod>
-
- com.longbridge.fundamental.FinancialReportPeriod
-
- All Implemented Interfaces:
Serializable,Comparable<FinancialReportPeriod>
public enum FinancialReportPeriod extends Enum<FinancialReportPeriod>
Financial report period.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AnnualAnnual reportQ1First quarter reportQ2Second quarter reportQ3Third quarter reportQuarterlyFullFull quarterly reportSemiAnnualSemi-annual reportThreeQThree-quarter report (first three quarters)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FinancialReportPeriodvalueOf(String name)Returns the enum constant of this type with the specified name.static FinancialReportPeriod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Annual
public static final FinancialReportPeriod Annual
Annual report
-
SemiAnnual
public static final FinancialReportPeriod SemiAnnual
Semi-annual report
-
Q1
public static final FinancialReportPeriod Q1
First quarter report
-
Q2
public static final FinancialReportPeriod Q2
Second quarter report
-
Q3
public static final FinancialReportPeriod Q3
Third quarter report
-
QuarterlyFull
public static final FinancialReportPeriod QuarterlyFull
Full quarterly report
-
ThreeQ
public static final FinancialReportPeriod ThreeQ
Three-quarter report (first three quarters)
-
-
Method Detail
-
values
public static FinancialReportPeriod[] 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 (FinancialReportPeriod c : FinancialReportPeriod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FinancialReportPeriod 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
-
-