Uses of Class
org.joda.time.MonthDay
Packages that use MonthDay
Package
Description
Provides support for dates, times, time zones, durations, intervals, and
partials.
-
Uses of MonthDay in org.joda.time
Methods in org.joda.time that return MonthDayModifier and TypeMethodDescriptionMonthDay.Property.addToCopy
(int valueToAdd) Adds to the value of this field in a copy of this MonthDay.MonthDay.Property.addWrapFieldToCopy
(int valueToAdd) Adds to the value of this field in a copy of this MonthDay wrapping within this field if the maximum value is reached.static MonthDay
MonthDay.fromCalendarFields
(Calendar calendar) Constructs a MonthDay from ajava.util.Calendar
using exactly the same field values avoiding any time zone effects.static MonthDay
MonthDay.fromDateFields
(Date date) Constructs a MonthDay from ajava.util.Date
using exactly the same field values avoiding any time zone effects.MonthDay.Property.getMonthDay()
Gets the partial that this property belongs to.MonthDay.minus
(ReadablePeriod period) Returns a copy of this month-day with the specified period taken away.MonthDay.minusDays
(int days) Returns a copy of this month-day minus the specified number of months.MonthDay.minusMonths
(int months) Returns a copy of this month-day minus the specified number of months.static MonthDay
MonthDay.now()
Obtains aMonthDay
set to the current system millisecond time usingISOChronology
in the default time zone.static MonthDay
MonthDay.now
(Chronology chronology) Obtains aMonthDay
set to the current system millisecond time using the specified chronology.static MonthDay
MonthDay.now
(DateTimeZone zone) Obtains aMonthDay
set to the current system millisecond time usingISOChronology
in the specified time zone.static MonthDay
Parses aMonthDay
from the specified string.static MonthDay
MonthDay.parse
(String str, DateTimeFormatter formatter) Parses aMonthDay
from the specified string using a formatter.MonthDay.plus
(ReadablePeriod period) Returns a copy of this month-day with the specified period added.MonthDay.plusDays
(int days) Returns a copy of this month-day plus the specified number of days.MonthDay.plusMonths
(int months) Returns a copy of this month-day plus the specified number of months.MonthDay.Property.setCopy
(int value) Sets this field in a copy of the MonthDay.Sets this field in a copy of the MonthDay to a parsed text value.Sets this field in a copy of the MonthDay to a parsed text value.MonthDay.withChronologyRetainFields
(Chronology newChronology) Returns a copy of this month-day with the specified chronology.MonthDay.withDayOfMonth
(int dayOfMonth) Returns a copy of this month-day with the day of month field updated.MonthDay.withField
(DateTimeFieldType fieldType, int value) Returns a copy of this month-day with the specified field set to a new value.MonthDay.withFieldAdded
(DurationFieldType fieldType, int amount) Returns a copy of this month-day with the value of the specified field increased.MonthDay.withMonthOfYear
(int monthOfYear) Returns a copy of this month-day with the month of year field updated.MonthDay.withPeriodAdded
(ReadablePeriod period, int scalar) Returns a copy of this month-day with the specified period added.