Example usage for Java org.joda.time Weeks fields, constructors, methods, implement or subclass
The text is from its open source code.
Weeks(int weeks) Creates a new instance representing a number of weeks. |
int | getWeeks() Gets the number of weeks that this period represents. |
Weeks | parseWeeks(String periodStr) Creates a new Weeks by parsing a string in the ISO8601 format 'PnW'. |
Weeks | weeksBetween(ReadableInstant start, ReadableInstant end) Creates a Weeks representing the number of whole weeks between the two specified datetimes. |
Weeks | weeksBetween(ReadablePartial start, ReadablePartial end) Creates a Weeks representing the number of whole weeks between the two specified partial datetimes. |
Weeks | weeksIn(ReadableInterval interval) Creates a Weeks representing the number of whole weeks in the specified interval. |