Uses of Class
org.threeten.extra.HourMinute
Packages that use HourMinute
-
Uses of HourMinute in org.threeten.extra
Fields in org.threeten.extra declared as HourMinuteModifier and TypeFieldDescriptionstatic final HourMinuteHourMinute.MIDNIGHTThe time of midnight at the start of the day, '00:00'.Methods in org.threeten.extra that return HourMinuteModifier and TypeMethodDescriptionstatic HourMinuteHourMinute.from(TemporalAccessor temporal) Obtains an instance ofHourMinutefrom a temporal object.HourMinute.minus(long amountToSubtract, TemporalUnit unit) Returns a copy of this hour-minute with the specified amount subtracted.HourMinute.minus(TemporalAmount amountToSubtract) Returns a copy of this hour-minute with the specified amount subtracted.HourMinute.minusHours(long hoursToSubtract) Returns a copy of this hour-minute with the specified period in hours subtracted.HourMinute.minusMinutes(long minutesToSubtract) Returns a copy of this hour-minute with the specified period in minutes subtracted.static HourMinuteHourMinute.now()Obtains the current hour-minute from the system clock in the default time-zone.static HourMinuteObtains the current hour-minute from the specified clock.static HourMinuteObtains the current hour-minute from the system clock in the specified time-zone.static HourMinuteHourMinute.of(int hour, int minute) Obtains an instance ofHourMinutefrom a hour and minute.static HourMinuteHourMinute.parse(CharSequence text) Obtains an instance ofHourMinutefrom a text string such as12:31.static HourMinuteHourMinute.parse(CharSequence text, DateTimeFormatter formatter) Obtains an instance ofHourMinutefrom a text string using a specific formatter.HourMinute.plus(long amountToAdd, TemporalUnit unit) Returns a copy of this hour-minute with the specified amount added.HourMinute.plus(TemporalAmount amountToAdd) Returns a copy of this hour-minute with the specified amount added.HourMinute.plusHours(long hoursToAdd) Returns a copy of thisHourMinutewith the specified number of hours added.HourMinute.plusMinutes(long minutesToAdd) Returns a copy of thisHourMinutewith the specified number of minutes added.HourMinute.with(TemporalAdjuster adjuster) Returns an adjusted copy of this hour-minute.HourMinute.with(TemporalField field, long newValue) Returns a copy of this hour-minute with the specified field set to a new value.HourMinute.withHour(int hour) Returns a copy of thisHourMinutewith the hour altered.HourMinute.withMinute(int minute) Returns a copy of thisHourMinutewith the minute-of-hour altered.Methods in org.threeten.extra with parameters of type HourMinuteModifier and TypeMethodDescriptionintHourMinute.compareTo(HourMinute other) Compares this hour-minute to anotherbooleanHourMinute.isAfter(HourMinute other) Is this hour-minute after the specified hour-minute.booleanHourMinute.isBefore(HourMinute other) Is this hour-minute before the specified hour-minute.