| 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<Month> |
PlainDate.MONTH_OF_YEAR
Element with the calendar month as enum in the value range
JANUARY-DECEMBER). |
| 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.
|
Month |
Month.next()
Rolls to the next month.
|
Month |
Month.previous()
Rolls to the previous month.
|
Month |
Month.roll(int months)
Rolls this month by given amount of months.
|
static Month |
Month.valueOf(int month)
Gets the enum-constant which corresponds to the given numerical
value.
|
static Month |
Month.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Month[] |
Month.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static PlainDate |
PlainDate.of(int year,
Month month,
int dayOfMonth)
Creates a new calendar date conforming to ISO-8601.
|
static Weekday |
Weekday.valueOf(int year,
Month monthOfYear,
int dayOfMonth)
Gets the weekday corresponding to given gregorian date.
|
Copyright © 2014–2015. All rights reserved.