| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final ValueRange | ALIGNED_WOM_RANGE
Range of weeks. |
| pack-priv static final ValueRange | DOM_RANGE
Range of days. |
| pack-priv static final ValueRange | DOM_RANGE_LEAP
Range of days. |
| pack-priv static final ValueRange | DOM_RANGE_NONLEAP
Range of days. |
| pack-priv static final ValueRange | MOY_RANGE
Range of months. |
| pack-priv static final ValueRange | PROLEPTIC_MONTH_RANGE
Range of proleptic month. |
| pack-priv static final ValueRange | YEAR_RANGE
Range of proleptic-year. |
| pack-priv static final ValueRange | YOE_RANGE
Range of year. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the year is a leap yearthe proleptic-year to check, not validated for range prolepticYear)Implements java. Checks if the specified year is a leap year. |
| public ValueRange | range(ChronoField
the field to get the range for, not null field)Implements java. Gets the range of valid values for the specified field. |
| ALIGNED_WOM_RANGE | back to summary |
|---|---|
| pack-priv static final ValueRange ALIGNED_WOM_RANGE Range of weeks. | |
| DOM_RANGE | back to summary |
|---|---|
| pack-priv static final ValueRange DOM_RANGE Range of days. | |
| DOM_RANGE_LEAP | back to summary |
|---|---|
| pack-priv static final ValueRange DOM_RANGE_LEAP Range of days. | |
| DOM_RANGE_NONLEAP | back to summary |
|---|---|
| pack-priv static final ValueRange DOM_RANGE_NONLEAP Range of days. | |
| MOY_RANGE | back to summary |
|---|---|
| pack-priv static final ValueRange MOY_RANGE Range of months. | |
| PROLEPTIC_MONTH_RANGE | back to summary |
|---|---|
| pack-priv static final ValueRange PROLEPTIC_MONTH_RANGE Range of proleptic month. | |
| YEAR_RANGE | back to summary |
|---|---|
| pack-priv static final ValueRange YEAR_RANGE Range of proleptic-year. | |
| YOE_RANGE | back to summary |
|---|---|
| pack-priv static final ValueRange YOE_RANGE Range of year. | |
| AbstractNileChronology | back to summary |
|---|---|
| pack-priv AbstractNileChronology() Private constructor. | |
| isLeapYear | back to summary |
|---|---|
| public boolean isLeapYear(long prolepticYear) Implements java. Checks if the specified year is a leap year. The proleptic-year is leap if the remainder after division by four equals three. This method does not validate the year passed in, and only has a well-defined result for years in the supported range.
| |
| range | back to summary |
|---|---|
| public ValueRange range(ChronoField field) Implements java. Doc from java. Gets the range of valid values for the specified field.
All fields can be expressed as a Note that the result only describes the minimum and maximum valid values and it is important not to read too much into them. For example, there could be values within the range that are invalid for the field. This method will return a result whether or not the chronology supports the field.
| |