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 Months
Months. EIGHT
Constant representing eight months.static Months
Months. ELEVEN
Constant representing eleven months.static Months
Months. FIVE
Constant representing five months.static Months
Months. FOUR
Constant representing four months.static Months
Months. MAX_VALUE
Constant representing the maximum number of months that can be stored in this object.static Months
Months. MIN_VALUE
Constant representing the minimum number of months that can be stored in this object.static Months
Months. NINE
Constant representing nine months.static Months
Months. ONE
Constant representing one day.static Months
Months. SEVEN
Constant representing seven months.static Months
Months. SIX
Constant representing six months.static Months
Months. TEN
Constant representing ten months.static Months
Months. THREE
Constant representing three months.static Months
Months. TWELVE
Constant representing twelve months.static Months
Months. TWO
Constant representing two months.static Months
Months. ZERO
Constant representing zero months.Methods in org.joda.time that return Months Modifier and Type Method Description Months
Months. dividedBy(int divisor)
Returns a new instance with the months divided by the specified divisor.Months
Months. minus(int months)
Returns a new instance with the specified number of months taken away.Months
Months. minus(Months months)
Returns a new instance with the specified number of months taken away.static Months
Months. months(int months)
Obtains an instance ofMonths
that may be cached.static Months
Months. monthsBetween(ReadableInstant start, ReadableInstant end)
Creates aMonths
representing the number of whole months between the two specified datetimes.static Months
Months. monthsBetween(ReadablePartial start, ReadablePartial end)
Creates aMonths
representing the number of whole months between the two specified partial datetimes.static Months
Months. monthsIn(ReadableInterval interval)
Creates aMonths
representing the number of whole months in the specified interval.Months
Months. multipliedBy(int scalar)
Returns a new instance with the months multiplied by the specified scalar.Months
Months. negated()
Returns a new instance with the months value negated.static Months
Months. parseMonths(java.lang.String periodStr)
Creates a newMonths
by parsing a string in the ISO8601 format 'PnM'.Months
Months. plus(int months)
Returns a new instance with the specified number of months added.Months
Months. 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 boolean
Months. isGreaterThan(Months other)
Is this months instance greater than the specified number of months.boolean
Months. isLessThan(Months other)
Is this months instance less than the specified number of months.Months
Months. minus(Months months)
Returns a new instance with the specified number of months taken away.Months
Months. plus(Months months)
Returns a new instance with the specified number of months added.
-