| Modifier and Type | Field and Description |
|---|---|
static Months |
Months.ONE
Constant for exactly one gregorian month.
|
static Months |
Months.ZERO
Constant for zero gregorian months.
|
| Modifier and Type | Method and Description |
|---|---|
static Months |
Months.between(CalendarMonth m1,
CalendarMonth m2)
Determines the difference in months between given calendar months.
|
static <T extends TimePoint<? super CalendarUnit,T>> |
Months.between(T t1,
T t2)
Determines the temporal distance between given dates/time-points in gregorian months.
|
static Months |
Months.of(int months)
Obtains a time span in given gregorian months.
|
static Months |
Months.parsePeriod(String period)
Parses the canonical ISO-8601-format "PnM" with possible preceding minus-char.
|
| Modifier and Type | Method and Description |
|---|---|
CalendarMonth |
CalendarMonth.minus(Months months)
Subtracts given months from this calendar month.
|
CalendarMonth |
CalendarMonth.plus(Months months)
Adds given months to this calendar month.
|
Copyright © 2014–2018. All rights reserved.