|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Months | |
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 | |
static Months |
Months.ZERO
Constant representing zero months. |
static Months |
Months.ONE
Constant representing one day. |
static Months |
Months.TWO
Constant representing two months. |
static Months |
Months.THREE
Constant representing three months. |
static Months |
Months.FOUR
Constant representing four months. |
static Months |
Months.FIVE
Constant representing five months. |
static Months |
Months.SIX
Constant representing six months. |
static Months |
Months.SEVEN
Constant representing seven months. |
static Months |
Months.EIGHT
Constant representing eight months. |
static Months |
Months.NINE
Constant representing nine months. |
static Months |
Months.TEN
Constant representing ten months. |
static Months |
Months.ELEVEN
Constant representing eleven months. |
static Months |
Months.TWELVE
Constant representing twelve 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. |
Methods in org.joda.time that return Months | |
static Months |
Months.months(int months)
Obtains an instance of Months that may be cached. |
static Months |
Months.monthsBetween(ReadableInstant start,
ReadableInstant end)
Creates a Months representing the number of whole months
between the two specified datetimes. |
static Months |
Months.monthsBetween(ReadablePartial start,
ReadablePartial end)
Creates a Months representing the number of whole months
between the two specified partial datetimes. |
static Months |
Months.monthsIn(ReadableInterval interval)
Creates a Months representing the number of whole months
in the specified interval. |
static Months |
Months.parseMonths(String periodStr)
Creates a new Months 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. |
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. |
Months |
Months.multipliedBy(int scalar)
Returns a new instance with the months multiplied by the specified scalar. |
Months |
Months.dividedBy(int divisor)
Returns a new instance with the months divided by the specified divisor. |
Months |
Months.negated()
Returns a new instance with the months value negated. |
Methods in org.joda.time with parameters of type Months | |
Months |
Months.plus(Months months)
Returns a new instance with the specified number of months added. |
Months |
Months.minus(Months months)
Returns a new instance with the specified number of months taken away. |
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. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |