Uses of Class
org.threeten.extra.Days
Packages that use Days
-
Uses of Days in org.threeten.extra
Fields in org.threeten.extra declared as DaysModifier and TypeFieldDescriptionstatic final DaysDays.ONEA constant for one day.static final DaysDays.ZEROA constant for zero days.Methods in org.threeten.extra that return DaysModifier and TypeMethodDescriptionDays.abs()Returns a copy of this duration with a positive length.static DaysObtains aDaysconsisting of the number of days between two dates.Days.dividedBy(int divisor) Returns an instance with the amount divided by the specified divisor.static DaysDays.from(TemporalAmount amount) Obtains an instance ofDaysfrom a temporal amount.Days.minus(int days) Returns a copy of this amount with the specified number of days subtracted.Days.minus(TemporalAmount amountToSubtract) Returns a copy of this amount with the specified amount subtracted.Days.multipliedBy(int scalar) Returns an instance with the amount multiplied by the specified scalar.Days.negated()Returns an instance with the amount negated.static DaysDays.of(int days) Obtains aDaysrepresenting a number of days.static DaysDays.ofWeeks(int weeks) Obtains aDaysrepresenting the number of days equivalent to a number of weeks.static DaysDays.parse(CharSequence text) Obtains aDaysfrom a text string such asPnD.Days.plus(int days) Returns a copy of this amount with the specified number of days added.Days.plus(TemporalAmount amountToAdd) Returns a copy of this amount with the specified amount added.Methods in org.threeten.extra with parameters of type Days