Package | Description |
---|---|
org.joda.time |
Provides support for dates, times, time zones, durations, intervals, and
partials.
|
Modifier and Type | Field and Description |
---|---|
static TimeOfDay |
TimeOfDay.MIDNIGHT
Deprecated.
Constant for midnight.
|
Modifier and Type | Method and Description |
---|---|
TimeOfDay |
TimeOfDay.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 |
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 |
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 a
java.util.Calendar
using exactly the same field values avoiding any time zone effects. |
static TimeOfDay |
TimeOfDay.fromDateFields(Date date)
Deprecated.
Constructs a TimeOfDay from a
java.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 |
TimeOfDay.Property.getTimeOfDay()
Deprecated.
Gets the partial that this property belongs to.
|
TimeOfDay |
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 |
TimeOfDay.minusHours(int hours)
Deprecated.
Returns a copy of this time minus the specified number of hours.
|
TimeOfDay |
TimeOfDay.minusMillis(int millis)
Deprecated.
Returns a copy of this time minus the specified number of millis.
|
TimeOfDay |
TimeOfDay.minusMinutes(int minutes)
Deprecated.
Returns a copy of this time minus the specified number of minutes.
|
TimeOfDay |
TimeOfDay.minusSeconds(int seconds)
Deprecated.
Returns a copy of this time minus the specified number of seconds.
|
TimeOfDay |
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 |
TimeOfDay.plusHours(int hours)
Deprecated.
Returns a copy of this time plus the specified number of hours.
|
TimeOfDay |
TimeOfDay.plusMillis(int millis)
Deprecated.
Returns a copy of this time plus the specified number of millis.
|
TimeOfDay |
TimeOfDay.plusMinutes(int minutes)
Deprecated.
Returns a copy of this time plus the specified number of minutes.
|
TimeOfDay |
TimeOfDay.plusSeconds(int seconds)
Deprecated.
Returns a copy of this time plus the specified number of seconds.
|
TimeOfDay |
TimeOfDay.Property.setCopy(int value)
Deprecated.
Sets this field in a copy of the TimeOfDay.
|
TimeOfDay |
TimeOfDay.Property.setCopy(String text)
Deprecated.
Sets this field in a copy of the TimeOfDay to a parsed text value.
|
TimeOfDay |
TimeOfDay.Property.setCopy(String text,
Locale locale)
Deprecated.
Sets this field in a copy of the TimeOfDay to a parsed text value.
|
TimeOfDay |
DateTime.toTimeOfDay()
Deprecated.
Use LocalTime instead of TimeOfDay
|
TimeOfDay |
TimeOfDay.withChronologyRetainFields(Chronology newChronology)
Deprecated.
Returns a copy of this time with the specified chronology.
|
TimeOfDay |
TimeOfDay.withField(DateTimeFieldType fieldType,
int value)
Deprecated.
Returns a copy of this time with the specified field set to a new value.
|
TimeOfDay |
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 |
TimeOfDay.withHourOfDay(int hour)
Deprecated.
Returns a copy of this time with the hour of day field updated.
|
TimeOfDay |
TimeOfDay.Property.withMaximumValue()
Deprecated.
Returns a new TimeOfDay with this field set to the maximum value
for this field.
|
TimeOfDay |
TimeOfDay.withMillisOfSecond(int millis)
Deprecated.
Returns a copy of this time with the millis of second field updated.
|
TimeOfDay |
TimeOfDay.Property.withMinimumValue()
Deprecated.
Returns a new TimeOfDay with this field set to the minimum value
for this field.
|
TimeOfDay |
TimeOfDay.withMinuteOfHour(int minute)
Deprecated.
Returns a copy of this time with the minute of hour field updated.
|
TimeOfDay |
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 |
TimeOfDay.withSecondOfMinute(int second)
Deprecated.
Returns a copy of this time with the second of minute field updated.
|
Modifier and Type | Method and Description |
---|---|
DateTime |
YearMonthDay.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.
|
DateTime |
YearMonthDay.toDateTime(TimeOfDay time,
DateTimeZone zone)
Deprecated.
Converts this object to a DateTime using a TimeOfDay to fill in the
missing fields.
|
Copyright © 2002–2021 Joda.org. All rights reserved.