Package | Description |
---|---|
net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate , PlainTime , PlainTimestamp
and Moment . |
net.time4j.range |
Interval support.
|
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.
|
static Quarter |
Quarter.parse(CharSequence text,
Locale locale,
TextWidth width,
OutputContext context)
Tries to interprete given text as quarter of year.
|
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.
|
Modifier and Type | Field and Description |
---|---|
static ChronoElement<Quarter> |
CalendarQuarter.QUARTER_OF_YEAR
Element with the quarter of year in the value range
Q1-Q4 . |
Modifier and Type | Method and Description |
---|---|
Quarter |
CalendarQuarter.getQuarter()
Yields the quarter year.
|
Modifier and Type | Method and Description |
---|---|
CalendarQuarter |
CalendarYear.at(Quarter quarter)
Combines this year with given quarter year to a calendar quarter.
|
static CalendarQuarter |
CalendarQuarter.of(int year,
Quarter quarter)
Creates a new instance based on given gregorian calendar year and quarter year.
|
Copyright © 2014–2020. All rights reserved.