Uses of Class
net.time4j.range.Months
-
Uses of Months in net.time4j.range
Modifier and TypeFieldDescriptionstatic Months
Months.ONE
Constant for exactly one gregorian month.static Months
Months.ZERO
Constant for zero gregorian months.Modifier and TypeMethodDescriptionstatic Months
Months.between(CalendarMonth m1, CalendarMonth m2)
Determines the difference in months between given calendar months.static <T extends TimePoint<? super CalendarUnit, T>>
MonthsMonths.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 TypeMethodDescriptionSubtracts given months from this calendar month.Adds given months to this calendar month.