Uses of Class
org.joda.time.Months
-
Packages that use Months Package Description org.joda.time Provides support for dates, times, time zones, durations, intervals, and partials. -
-
Uses of Months in org.joda.time
Fields in org.joda.time declared as Months Modifier and Type Field Description static MonthsMonths. EIGHTConstant representing eight months.static MonthsMonths. ELEVENConstant representing eleven months.static MonthsMonths. FIVEConstant representing five months.static MonthsMonths. FOURConstant representing four months.static MonthsMonths. MAX_VALUEConstant representing the maximum number of months that can be stored in this object.static MonthsMonths. MIN_VALUEConstant representing the minimum number of months that can be stored in this object.static MonthsMonths. NINEConstant representing nine months.static MonthsMonths. ONEConstant representing one month.static MonthsMonths. SEVENConstant representing seven months.static MonthsMonths. SIXConstant representing six months.static MonthsMonths. TENConstant representing ten months.static MonthsMonths. THREEConstant representing three months.static MonthsMonths. TWELVEConstant representing twelve months.static MonthsMonths. TWOConstant representing two months.static MonthsMonths. ZEROConstant representing zero months.Methods in org.joda.time that return Months Modifier and Type Method Description MonthsMonths. dividedBy(int divisor)Returns a new instance with the months divided by the specified divisor.MonthsMonths. minus(int months)Returns a new instance with the specified number of months taken away.MonthsMonths. minus(Months months)Returns a new instance with the specified number of months taken away.static MonthsMonths. months(int months)Obtains an instance ofMonthsthat may be cached.static MonthsMonths. monthsBetween(ReadableInstant start, ReadableInstant end)Creates aMonthsrepresenting the number of whole months between the two specified datetimes.static MonthsMonths. monthsBetween(ReadablePartial start, ReadablePartial end)Creates aMonthsrepresenting the number of whole months between the two specified partial datetimes.static MonthsMonths. monthsIn(ReadableInterval interval)Creates aMonthsrepresenting the number of whole months in the specified interval.MonthsMonths. multipliedBy(int scalar)Returns a new instance with the months multiplied by the specified scalar.MonthsMonths. negated()Returns a new instance with the months value negated.static MonthsMonths. parseMonths(java.lang.String periodStr)Creates a newMonthsby parsing a string in the ISO8601 format 'PnM'.MonthsMonths. plus(int months)Returns a new instance with the specified number of months added.MonthsMonths. plus(Months months)Returns a new instance with the specified number of months added.Methods in org.joda.time with parameters of type Months Modifier and Type Method Description booleanMonths. isGreaterThan(Months other)Is this months instance greater than the specified number of months.booleanMonths. isLessThan(Months other)Is this months instance less than the specified number of months.MonthsMonths. minus(Months months)Returns a new instance with the specified number of months taken away.MonthsMonths. plus(Months months)Returns a new instance with the specified number of months added.
-