Example usage for Java org.joda.time Months fields, constructors, methods, implement or subclass
The text is from its open source code.
Months | ZERO Constant representing zero months. |
Months | ONE Constant representing one month. |
Months | THREE Constant representing three months. |
Months | SIX Constant representing six months. |
Months | TWELVE Constant representing twelve months. |
Months(int months) Creates a new instance representing a number of months. |
int | getMonths() Gets the number of months that this period represents. |
Months | monthsBetween(ReadableInstant start, ReadableInstant end) Creates a Months representing the number of whole months between the two specified datetimes. |
Months | monthsBetween(ReadablePartial start, ReadablePartial end) Creates a Months representing the number of whole months between the two specified partial datetimes. |
Months | monthsIn(ReadableInterval interval) Creates a Months representing the number of whole months in the specified interval. |
Months | parseMonths(String periodStr) Creates a new Months by parsing a string in the ISO8601 format 'PnM'. |