| Package | Description |
|---|---|
| org.threeten.extra |
| Modifier and Type | Method | Description |
|---|---|---|
static Quarter |
Quarter.from(java.time.temporal.TemporalAccessor temporal) |
Obtains an instance of
Quarter from a temporal object. |
Quarter |
YearQuarter.getQuarter() |
Gets the quarter-of-year field using the
Quarter enum. |
Quarter |
Quarter.minus(long quarters) |
Returns the quarter that is the specified number of quarters before this one.
|
static Quarter |
Quarter.of(int quarterOfYear) |
Obtains an instance of
Quarter from an int value. |
static Quarter |
Quarter.ofMonth(int monthOfYear) |
Obtains an instance of
Quarter from a month-of-year. |
Quarter |
Quarter.plus(long quarters) |
Returns the quarter that is the specified number of quarters after this one.
|
static Quarter |
Quarter.valueOf(java.lang.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 | Description |
|---|---|---|
static YearQuarter |
YearQuarter.of(int year,
Quarter quarter) |
Obtains an instance of
YearQuarter from a year and quarter. |
Copyright © 2010–2018 ThreeTen.org. All rights reserved.