Uses of Class
org.joda.time.YearMonthDay
Packages that use YearMonthDay
Package
Description
Provides support for dates, times, time zones, durations, intervals, and
partials.
-
Uses of YearMonthDay in org.joda.time
Methods in org.joda.time that return YearMonthDayModifier and TypeMethodDescriptionYearMonthDay.Property.addToCopy(int valueToAdd) Deprecated.Adds to the value of this field in a copy of this 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 YearMonthDayYearMonthDay.fromCalendarFields(Calendar calendar) Deprecated.Constructs a YearMonthDay from ajava.util.Calendarusing exactly the same field values avoiding any time zone effects.static YearMonthDayYearMonthDay.fromDateFields(Date date) Deprecated.Constructs a YearMonthDay from ajava.util.Dateusing exactly the same field values avoiding any time zone effects.YearMonthDay.Property.getYearMonthDay()Deprecated.Gets the partial that this property belongs to.YearMonthDay.minus(ReadablePeriod period) Deprecated.Returns a copy of this date with the specified period taken away.YearMonthDay.minusDays(int days) Deprecated.Returns a copy of this date minus the specified number of days.YearMonthDay.minusMonths(int months) Deprecated.Returns a copy of this date minus the specified number of months.YearMonthDay.minusYears(int years) Deprecated.Returns a copy of this date minus the specified number of years.YearMonthDay.plus(ReadablePeriod period) Deprecated.Returns a copy of this date with the specified period added.YearMonthDay.plusDays(int days) Deprecated.Returns a copy of this date plus the specified number of days.YearMonthDay.plusMonths(int months) Deprecated.Returns a copy of this date plus the specified number of months.YearMonthDay.plusYears(int years) Deprecated.Returns a copy of this date plus the specified number of years.YearMonthDay.Property.setCopy(int value) Deprecated.Sets this field in a copy of the YearMonthDay.Deprecated.Sets this field in a copy of the YearMonthDay to a parsed text value.Deprecated.Sets this field in a copy of the YearMonthDay to a parsed text value.DateMidnight.toYearMonthDay()Deprecated.Use LocalDate instead of YearMonthDayDateTime.toYearMonthDay()Deprecated.Use LocalDate instead of YearMonthDayYearMonthDay.withChronologyRetainFields(Chronology newChronology) Deprecated.Returns a copy of this date with the specified chronology.YearMonthDay.withDayOfMonth(int dayOfMonth) Deprecated.Returns a copy of this date with the day of month field updated.YearMonthDay.withField(DateTimeFieldType fieldType, int value) Deprecated.Returns a copy of this date with the specified field set to a new value.YearMonthDay.withFieldAdded(DurationFieldType fieldType, int amount) Deprecated.Returns a copy of this date with the value of the specified field increased.YearMonthDay.Property.withMaximumValue()Deprecated.Returns a new YearMonthDay with this field set to the maximum value for this field.YearMonthDay.Property.withMinimumValue()Deprecated.Returns a new YearMonthDay with this field set to the minimum value for this field.YearMonthDay.withMonthOfYear(int monthOfYear) Deprecated.Returns a copy of this date with the month of year field updated.YearMonthDay.withPeriodAdded(ReadablePeriod period, int scalar) Deprecated.Returns a copy of this date with the specified period added.YearMonthDay.withYear(int year) Deprecated.Returns a copy of this date with the year field updated.