Uses of Class
org.threeten.extra.Hours
Packages that use Hours
-
Uses of Hours in org.threeten.extra
Fields in org.threeten.extra declared as HoursMethods in org.threeten.extra that return HoursModifier and TypeMethodDescriptionHours.abs()Returns a copy of this duration with a positive length.static HoursObtains aHoursconsisting of the number of hours between two temporals.Hours.dividedBy(int divisor) Returns an instance with the amount divided by the specified divisor.static HoursHours.from(TemporalAmount amount) Obtains an instance ofHoursfrom a temporal amount.Hours.minus(int hours) Returns a copy of this amount with the specified number of hours subtracted.Hours.minus(TemporalAmount amountToSubtract) Returns a copy of this amount with the specified amount subtracted.Hours.multipliedBy(int scalar) Returns an instance with the amount multiplied by the specified scalar.Hours.negated()Returns an instance with the amount negated.static HoursHours.of(int hours) Obtains anHoursrepresenting a number of hours.static HoursHours.parse(CharSequence text) Obtains aHoursfrom a text string such asPTnH.Hours.plus(int hours) Returns a copy of this amount with the specified number of hours added.Hours.plus(TemporalAmount amountToAdd) Returns a copy of this amount with the specified amount added.Methods in org.threeten.extra with parameters of type Hours