Package | Description |
---|---|
org.joda.time |
Provides support for dates, times, time zones, durations, intervals, and
partials.
|
Modifier and Type | Method and Description |
---|---|
Partial |
Partial.Property.addToCopy(int valueToAdd)
Adds to the value of this field in a copy of this Partial.
|
Partial |
Partial.Property.addWrapFieldToCopy(int valueToAdd)
Adds to the value of this field in a copy of this Partial wrapping
within this field if the maximum value is reached.
|
Partial |
Partial.Property.getPartial()
Gets the partial that this property belongs to.
|
Partial |
Partial.minus(ReadablePeriod period)
Gets a copy of this instance with the specified period take away.
|
Partial |
Partial.plus(ReadablePeriod period)
Gets a copy of this instance with the specified period added.
|
Partial |
Partial.Property.setCopy(int value)
Sets this field in a copy of the Partial.
|
Partial |
Partial.Property.setCopy(String text)
Sets this field in a copy of the Partial to a parsed text value.
|
Partial |
Partial.Property.setCopy(String text,
Locale locale)
Sets this field in a copy of the Partial to a parsed text value.
|
Partial |
Partial.with(DateTimeFieldType fieldType,
int value)
Gets a copy of this date with the specified field set to a new value.
|
Partial |
Partial.withChronologyRetainFields(Chronology newChronology)
Creates a new Partial instance with the specified chronology.
|
Partial |
Partial.withField(DateTimeFieldType fieldType,
int value)
Gets a copy of this Partial with the specified field set to a new value.
|
Partial |
Partial.withFieldAdded(DurationFieldType fieldType,
int amount)
Gets a copy of this Partial with the value of the specified field increased.
|
Partial |
Partial.withFieldAddWrapped(DurationFieldType fieldType,
int amount)
Gets a copy of this Partial with the value of the specified field increased.
|
Partial |
Partial.Property.withMaximumValue()
Returns a new Partial with this field set to the maximum value
for this field.
|
Partial |
Partial.Property.withMinimumValue()
Returns a new Partial with this field set to the minimum value
for this field.
|
Partial |
Partial.without(DateTimeFieldType fieldType)
Gets a copy of this date with the specified field removed.
|
Partial |
Partial.withPeriodAdded(ReadablePeriod period,
int scalar)
Gets a copy of this Partial with the specified period added.
|
Copyright © 2002–2025 Joda.org. All rights reserved.