Enum AccountingYearDivision

java.lang.Object
java.lang.Enum<AccountingYearDivision>
org.threeten.extra.chrono.AccountingYearDivision
All Implemented Interfaces:
Serializable, Comparable<AccountingYearDivision>

public enum AccountingYearDivision extends Enum<AccountingYearDivision>
How an Accounting year is divided.

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).

Implementation Requirements:

This is an immutable and thread-safe enum.
  • Enum Constant Details

    • QUARTERS_OF_PATTERN_4_4_5_WEEKS

      public static final AccountingYearDivision 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

      public static final AccountingYearDivision 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

      public static final AccountingYearDivision 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

      public static final AccountingYearDivision THIRTEEN_EVEN_MONTHS_OF_4_WEEKS
      The singleton instance for a year divided into 13 even months, each having 4 weeks.
  • Method Details

    • values

      public static AccountingYearDivision[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AccountingYearDivision 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 name
      NullPointerException - if the argument is null