Package | Description |
---|---|
org.joda.time |
Provides support for dates, times, time zones, durations, intervals, and
partials.
|
Modifier and Type | Method and Description |
---|---|
YearMonthDay |
YearMonthDay.Property.addToCopy(int valueToAdd)
Deprecated.
Adds to the value of this field in a copy of this YearMonthDay.
|
YearMonthDay |
YearMonthDay.Property.addWrapFieldToCopy(int valueToAdd)
Deprecated.
Adds to the value of this field in a copy of this YearMonthDay wrapping
within this field if the maximum value is reached.
|
static YearMonthDay |
YearMonthDay.fromCalendarFields(Calendar calendar)
Deprecated.
Constructs a YearMonthDay from a
java.util.Calendar
using exactly the same field values avoiding any time zone effects. |
static YearMonthDay |
YearMonthDay.fromDateFields(Date date)
Deprecated.
Constructs a YearMonthDay from a
java.util.Date
using exactly the same field values avoiding any time zone effects. |
YearMonthDay |
YearMonthDay.Property.getYearMonthDay()
Deprecated.
Gets the partial that this property belongs to.
|
YearMonthDay |
YearMonthDay.minus(ReadablePeriod period)
Deprecated.
Returns a copy of this date with the specified period taken away.
|
YearMonthDay |
YearMonthDay.minusDays(int days)
Deprecated.
Returns a copy of this date minus the specified number of days.
|
YearMonthDay |
YearMonthDay.minusMonths(int months)
Deprecated.
Returns a copy of this date minus the specified number of months.
|
YearMonthDay |
YearMonthDay.minusYears(int years)
Deprecated.
Returns a copy of this date minus the specified number of years.
|
YearMonthDay |
YearMonthDay.plus(ReadablePeriod period)
Deprecated.
Returns a copy of this date with the specified period added.
|
YearMonthDay |
YearMonthDay.plusDays(int days)
Deprecated.
Returns a copy of this date plus the specified number of days.
|
YearMonthDay |
YearMonthDay.plusMonths(int months)
Deprecated.
Returns a copy of this date plus the specified number of months.
|
YearMonthDay |
YearMonthDay.plusYears(int years)
Deprecated.
Returns a copy of this date plus the specified number of years.
|
YearMonthDay |
YearMonthDay.Property.setCopy(int value)
Deprecated.
Sets this field in a copy of the YearMonthDay.
|
YearMonthDay |
YearMonthDay.Property.setCopy(String text)
Deprecated.
Sets this field in a copy of the YearMonthDay to a parsed text value.
|
YearMonthDay |
YearMonthDay.Property.setCopy(String text,
Locale locale)
Deprecated.
Sets this field in a copy of the YearMonthDay to a parsed text value.
|
YearMonthDay |
DateMidnight.toYearMonthDay()
Deprecated.
Use LocalDate instead of YearMonthDay
|
YearMonthDay |
DateTime.toYearMonthDay()
Deprecated.
Use LocalDate instead of YearMonthDay
|
YearMonthDay |
YearMonthDay.withChronologyRetainFields(Chronology newChronology)
Deprecated.
Returns a copy of this date with the specified chronology.
|
YearMonthDay |
YearMonthDay.withDayOfMonth(int dayOfMonth)
Deprecated.
Returns a copy of this date with the day of month field updated.
|
YearMonthDay |
YearMonthDay.withField(DateTimeFieldType fieldType,
int value)
Deprecated.
Returns a copy of this date with the specified field set to a new value.
|
YearMonthDay |
YearMonthDay.withFieldAdded(DurationFieldType fieldType,
int amount)
Deprecated.
Returns a copy of this date with the value of the specified field increased.
|
YearMonthDay |
YearMonthDay.Property.withMaximumValue()
Deprecated.
Returns a new YearMonthDay with this field set to the maximum value
for this field.
|
YearMonthDay |
YearMonthDay.Property.withMinimumValue()
Deprecated.
Returns a new YearMonthDay with this field set to the minimum value
for this field.
|
YearMonthDay |
YearMonthDay.withMonthOfYear(int monthOfYear)
Deprecated.
Returns a copy of this date with the month of year field updated.
|
YearMonthDay |
YearMonthDay.withPeriodAdded(ReadablePeriod period,
int scalar)
Deprecated.
Returns a copy of this date with the specified period added.
|
YearMonthDay |
YearMonthDay.withYear(int year)
Deprecated.
Returns a copy of this date with the year field updated.
|
Copyright © 2002–2025 Joda.org. All rights reserved.