| Package | Description |
|---|---|
| net.time4j.range |
Interval support.
|
| Modifier and Type | Method and Description |
|---|---|
CalendarMonth |
CalendarYear.at(Month month)
Combines this year with given month to a calendar month.
|
CalendarMonth |
CalendarYear.atMonth(int month)
Combines this year with given month to a calendar month.
|
static CalendarMonth |
CalendarMonth.from(GregorianDate date)
Converts given gregorian date to a calendar month.
|
static CalendarMonth |
CalendarMonth.from(YearMonth yearMonth)
Converts given JSR-310-type to a calendar month.
|
CalendarMonth |
CalendarMonth.minus(Months months)
Subtracts given months from this calendar month.
|
CalendarMonth |
CalendarMonth.minus(Years<CalendarUnit> years)
Subtracts given years from this calendar month.
|
static CalendarMonth |
CalendarMonth.nowInSystemTime()
Obtains the current calendar month in system time.
|
static CalendarMonth |
CalendarMonth.of(int year,
int month)
Creates a new instance based on given gregorian calendar year and month.
|
static CalendarMonth |
CalendarMonth.of(int year,
Month month)
Creates a new instance based on given gregorian calendar year and month.
|
static CalendarMonth |
CalendarMonth.parseISO(String text)
Interpretes given ISO-conforming text as calendar month.
|
CalendarMonth |
CalendarMonth.plus(Months months)
Adds given months to this calendar month.
|
CalendarMonth |
CalendarMonth.plus(Years<CalendarUnit> years)
Adds given years to this calendar month.
|
| Modifier and Type | Method and Description |
|---|---|
static CalendarPeriod<CalendarMonth> |
CalendarPeriod.between(CalendarMonth m1,
CalendarMonth m2)
Creates a calendar period for given month range.
|
static Chronology<CalendarMonth> |
CalendarMonth.chronology()
Yields the associated chronology.
|
static CalendarPeriod.Parser<CalendarMonth> |
CalendarPeriod.onMonths()
Defines a parser on which new calendar intervals for months can be created.
|
static TimeLine<CalendarMonth> |
CalendarMonth.timeline()
Obtains a timeline for this type.
|
| Modifier and Type | Method and Description |
|---|---|
static Years<CalendarUnit> |
Years.between(CalendarMonth m1,
CalendarMonth m2)
Determines the difference in years between given calendar months.
|
static Months |
Months.between(CalendarMonth m1,
CalendarMonth m2)
Determines the difference in months between given calendar months.
|
static CalendarPeriod<CalendarMonth> |
CalendarPeriod.between(CalendarMonth m1,
CalendarMonth m2)
Creates a calendar period for given month range.
|
int |
CalendarMonth.compareTo(CalendarMonth other) |
Copyright © 2014–2021. All rights reserved.