public enum AccountingYearDivision extends Enum<AccountingYearDivision>
An Accounting calendar system generally divides a year into smaller periods, similar in length to regular calendar months. The most common divisions either use 12 such 'months' (requiring one every quarter to be 5 weeks instead of 4), or use 13 of 4 weeks each (making one quarter have an extra month, or each quarter have partial months).
| Enum Constant and Description |
|---|
QUARTERS_OF_PATTERN_4_4_5_WEEKS
The singleton instance for a year divided into 4 quarters,
each having 3 months with lengths of 4, 4, and 5 weeks, respectively.
|
QUARTERS_OF_PATTERN_4_5_4_WEEKS
The singleton instance for a year divided into 4 quarters,
each having 3 months with lengths of 4, 5, and 4 weeks, respectively.
|
QUARTERS_OF_PATTERN_5_4_4_WEEKS
The singleton instance for a year divided into 4 quarters,
each having 3 months with lengths of 5, 4, and 4 weeks, respectively.
|
THIRTEEN_EVEN_MONTHS_OF_4_WEEKS
The singleton instance for a year divided into 13 even months,
each having 4 weeks.
|
| Modifier and Type | Method and Description |
|---|---|
static AccountingYearDivision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccountingYearDivision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountingYearDivision QUARTERS_OF_PATTERN_4_4_5_WEEKS
public static final AccountingYearDivision QUARTERS_OF_PATTERN_4_5_4_WEEKS
public static final AccountingYearDivision QUARTERS_OF_PATTERN_5_4_4_WEEKS
public static final AccountingYearDivision THIRTEEN_EVEN_MONTHS_OF_4_WEEKS
public static AccountingYearDivision[] values()
for (AccountingYearDivision c : AccountingYearDivision.values()) System.out.println(c);
public static AccountingYearDivision 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 nullCopyright © 2010–2016 ThreeTen.org. All rights reserved.