| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| Modifier and Type | Field and Description |
|---|---|
static NavigableElement<Quarter> |
PlainDate.QUARTER_OF_YEAR
Element with the quarter of year in the value range
Q1-Q4. |
| Modifier and Type | Method and Description |
|---|---|
Quarter |
Month.getQuarterOfYear()
Calculates the corresponding quarter of year.
|
Quarter |
Quarter.next()
Rolls to the next quarter.
|
Quarter |
Quarter.previous()
Rolls to the previous quarter.
|
Quarter |
Quarter.roll(int quarters)
Rolls by given amount of quarters.
|
static Quarter |
Quarter.valueOf(int quarter)
Gets the enum-constant which corresponds to the given numerical
value.
|
static Quarter |
Quarter.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Quarter[] |
Quarter.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Month |
Month.atEndOfQuarterYear(Quarter quarterOfYear)
Gets the last month of given quarter of year.
|
static Month |
Month.atStartOfQuarterYear(Quarter quarterOfYear)
Gets the first month of given quarter of year.
|
Copyright © 2014–2015. All rights reserved.