Package | Description |
---|---|
org.joda.time |
Provides support for dates, times, time zones, durations, intervals, and
partials.
|
Modifier and Type | Method | Description |
---|---|---|
MonthDay |
MonthDay.Property.addToCopy(int valueToAdd) |
Adds to the value of this field in a copy of this MonthDay.
|
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(java.util.Calendar calendar) |
Constructs a MonthDay from a
java.util.Calendar
using exactly the same field values avoiding any time zone effects. |
static MonthDay |
MonthDay.fromDateFields(java.util.Date date) |
Constructs a MonthDay from a
java.util.Date
using exactly the same field values avoiding any time zone effects. |
MonthDay |
MonthDay.Property.getMonthDay() |
Gets the partial that this property belongs to.
|
MonthDay |
MonthDay.minus(ReadablePeriod period) |
Returns a copy of this month-day with the specified period taken away.
|
MonthDay |
MonthDay.minusDays(int days) |
Returns a copy of this month-day minus the specified number of months.
|
MonthDay |
MonthDay.minusMonths(int months) |
Returns a copy of this month-day minus the specified number of months.
|
static MonthDay |
MonthDay.now() |
Obtains a
MonthDay set to the current system millisecond time
using ISOChronology in the default time zone. |
static MonthDay |
MonthDay.now(Chronology chronology) |
Obtains a
MonthDay set to the current system millisecond time
using the specified chronology. |
static MonthDay |
MonthDay.now(DateTimeZone zone) |
Obtains a
MonthDay set to the current system millisecond time
using ISOChronology in the specified time zone. |
static MonthDay |
MonthDay.parse(java.lang.String str) |
Parses a
MonthDay from the specified string. |
static MonthDay |
MonthDay.parse(java.lang.String str,
DateTimeFormatter formatter) |
Parses a
MonthDay from the specified string using a formatter. |
MonthDay |
MonthDay.plus(ReadablePeriod period) |
Returns a copy of this month-day with the specified period added.
|
MonthDay |
MonthDay.plusDays(int days) |
Returns a copy of this month-day plus the specified number of days.
|
MonthDay |
MonthDay.plusMonths(int months) |
Returns a copy of this month-day plus the specified number of months.
|
MonthDay |
MonthDay.Property.setCopy(int value) |
Sets this field in a copy of the MonthDay.
|
MonthDay |
MonthDay.Property.setCopy(java.lang.String text) |
Sets this field in a copy of the MonthDay to a parsed text value.
|
MonthDay |
MonthDay.Property.setCopy(java.lang.String text,
java.util.Locale locale) |
Sets this field in a copy of the MonthDay to a parsed text value.
|
MonthDay |
MonthDay.withChronologyRetainFields(Chronology newChronology) |
Returns a copy of this month-day with the specified chronology.
|
MonthDay |
MonthDay.withDayOfMonth(int dayOfMonth) |
Returns a copy of this month-day with the day of month field updated.
|
MonthDay |
MonthDay.withField(DateTimeFieldType fieldType,
int value) |
Returns a copy of this month-day with the specified field set to a new value.
|
MonthDay |
MonthDay.withFieldAdded(DurationFieldType fieldType,
int amount) |
Returns a copy of this month-day with the value of the specified field increased.
|
MonthDay |
MonthDay.withMonthOfYear(int monthOfYear) |
Returns a copy of this month-day with the month of year field updated.
|
MonthDay |
MonthDay.withPeriodAdded(ReadablePeriod period,
int scalar) |
Returns a copy of this month-day with the specified period added.
|
Copyright © 2002–2018 Joda.org. All rights reserved.