Uses of Class
org.joda.time.TimeOfDay
Packages that use TimeOfDay
Package
Description
Provides support for dates, times, time zones, durations, intervals, and
partials.
-
Uses of TimeOfDay in org.joda.time
Fields in org.joda.time declared as TimeOfDayModifier and TypeFieldDescriptionstatic final TimeOfDay
TimeOfDay.MIDNIGHT
Deprecated.Constant for midnight.Methods in org.joda.time that return TimeOfDayModifier and TypeMethodDescriptionTimeOfDay.Property.addNoWrapToCopy
(int valueToAdd) Deprecated.Adds to the value of this field in a copy of this TimeOfDay, throwing an Exception if the bounds are exceeded.TimeOfDay.Property.addToCopy
(int valueToAdd) Deprecated.Adds to the value of this field in a copy of this TimeOfDay, wrapping to what would be the next day if necessary.TimeOfDay.Property.addWrapFieldToCopy
(int valueToAdd) Deprecated.Adds to the value of this field in a copy of this TimeOfDay wrapping within this field if the maximum value is reached.static TimeOfDay
TimeOfDay.fromCalendarFields
(Calendar calendar) Deprecated.Constructs a TimeOfDay from ajava.util.Calendar
using exactly the same field values avoiding any time zone effects.static TimeOfDay
TimeOfDay.fromDateFields
(Date date) Deprecated.Constructs a TimeOfDay from ajava.util.Date
using exactly the same field values avoiding any time zone effects.static TimeOfDay
TimeOfDay.fromMillisOfDay
(long millisOfDay) Deprecated.Constructs a TimeOfDay from the specified millis of day using the ISO chronology.static TimeOfDay
TimeOfDay.fromMillisOfDay
(long millisOfDay, Chronology chrono) Deprecated.Constructs a TimeOfDay from the specified millis of day using the specified chronology.TimeOfDay.Property.getTimeOfDay()
Deprecated.Gets the partial that this property belongs to.TimeOfDay.minus
(ReadablePeriod period) Deprecated.Returns a copy of this time with the specified period taken away, wrapping to what would be a new day if required.TimeOfDay.minusHours
(int hours) Deprecated.Returns a copy of this time minus the specified number of hours.TimeOfDay.minusMillis
(int millis) Deprecated.Returns a copy of this time minus the specified number of millis.TimeOfDay.minusMinutes
(int minutes) Deprecated.Returns a copy of this time minus the specified number of minutes.TimeOfDay.minusSeconds
(int seconds) Deprecated.Returns a copy of this time minus the specified number of seconds.TimeOfDay.plus
(ReadablePeriod period) Deprecated.Returns a copy of this time with the specified period added, wrapping to what would be a new day if required.TimeOfDay.plusHours
(int hours) Deprecated.Returns a copy of this time plus the specified number of hours.TimeOfDay.plusMillis
(int millis) Deprecated.Returns a copy of this time plus the specified number of millis.TimeOfDay.plusMinutes
(int minutes) Deprecated.Returns a copy of this time plus the specified number of minutes.TimeOfDay.plusSeconds
(int seconds) Deprecated.Returns a copy of this time plus the specified number of seconds.TimeOfDay.Property.setCopy
(int value) Deprecated.Sets this field in a copy of the TimeOfDay.Deprecated.Sets this field in a copy of the TimeOfDay to a parsed text value.Deprecated.Sets this field in a copy of the TimeOfDay to a parsed text value.DateTime.toTimeOfDay()
Deprecated.Use LocalTime instead of TimeOfDayTimeOfDay.withChronologyRetainFields
(Chronology newChronology) Deprecated.Returns a copy of this time with the specified chronology.TimeOfDay.withField
(DateTimeFieldType fieldType, int value) Deprecated.Returns a copy of this time with the specified field set to a new value.TimeOfDay.withFieldAdded
(DurationFieldType fieldType, int amount) Deprecated.Returns a copy of this time with the value of the specified field increased, wrapping to what would be a new day if required.TimeOfDay.withHourOfDay
(int hour) Deprecated.Returns a copy of this time with the hour of day field updated.TimeOfDay.Property.withMaximumValue()
Deprecated.Returns a new TimeOfDay with this field set to the maximum value for this field.TimeOfDay.withMillisOfSecond
(int millis) Deprecated.Returns a copy of this time with the millis of second field updated.TimeOfDay.Property.withMinimumValue()
Deprecated.Returns a new TimeOfDay with this field set to the minimum value for this field.TimeOfDay.withMinuteOfHour
(int minute) Deprecated.Returns a copy of this time with the minute of hour field updated.TimeOfDay.withPeriodAdded
(ReadablePeriod period, int scalar) Deprecated.Returns a copy of this time with the specified period added, wrapping to what would be a new day if required.TimeOfDay.withSecondOfMinute
(int second) Deprecated.Returns a copy of this time with the second of minute field updated.Methods in org.joda.time with parameters of type TimeOfDayModifier and TypeMethodDescriptionYearMonthDay.toDateTime
(TimeOfDay time) Deprecated.Converts this object to a DateTime using a TimeOfDay to fill in the missing fields and using the default time zone.YearMonthDay.toDateTime
(TimeOfDay time, DateTimeZone zone) Deprecated.Converts this object to a DateTime using a TimeOfDay to fill in the missing fields.