Uses of Class
org.threeten.extra.Weeks
Packages that use Weeks
-
Uses of Weeks in org.threeten.extra
Fields in org.threeten.extra declared as WeeksModifier and TypeFieldDescriptionstatic final WeeksWeeks.ONEA constant for one week.static final WeeksWeeks.ZEROA constant for zero weeks.Methods in org.threeten.extra that return WeeksModifier and TypeMethodDescriptionWeeks.abs()Returns a copy of this duration with a positive length.static WeeksObtains aWeeksconsisting of the number of weeks between two dates.Weeks.dividedBy(int divisor) Returns an instance with the amount divided by the specified divisor.static WeeksWeeks.from(TemporalAmount amount) Obtains an instance ofWeeksfrom a temporal amount.Weeks.minus(int weeks) Returns a copy of this amount with the specified number of weeks subtracted.Weeks.minus(TemporalAmount amountToSubtract) Returns a copy of this amount with the specified amount subtracted.Weeks.multipliedBy(int scalar) Returns an instance with the amount multiplied by the specified scalar.Weeks.negated()Returns an instance with the amount negated.static WeeksWeeks.of(int weeks) Obtains aWeeksrepresenting a number of weeks.static WeeksWeeks.parse(CharSequence text) Obtains aWeeksfrom a text string such asPnW.Weeks.plus(int weeks) Returns a copy of this amount with the specified number of weeks added.Weeks.plus(TemporalAmount amountToAdd) Returns a copy of this amount with the specified amount added.Methods in org.threeten.extra with parameters of type Weeks