abstract long |
Chronology.add(ReadablePeriod period,
long instant,
int scalar) |
Adds the period to the instant, specifying the number of times to add.
|
void |
MutableDateTime.add(ReadablePeriod period) |
Adds a period to this instant.
|
void |
MutableDateTime.add(ReadablePeriod period,
int scalar) |
Adds a period to this instant specifying how many times to add.
|
void |
MutablePeriod.add(ReadablePeriod period) |
Adds a period to this one by adding each field in turn.
|
void |
ReadWritableInstant.add(ReadablePeriod period) |
Adds a period to this instant.
|
void |
ReadWritableInstant.add(ReadablePeriod period,
int scalar) |
Adds a period to this instant specifying how many times to add.
|
void |
ReadWritablePeriod.add(ReadablePeriod period) |
Adds a period to this one by adding each field in turn.
|
abstract int[] |
Chronology.get(ReadablePeriod period,
long duration) |
Gets the values of a period from an interval.
|
abstract int[] |
Chronology.get(ReadablePeriod period,
long startInstant,
long endInstant) |
Gets the values of a period from an interval.
|
void |
MutablePeriod.mergePeriod(ReadablePeriod period) |
Merges all the fields from the specified period into this one.
|
DateMidnight |
DateMidnight.minus(ReadablePeriod period) |
Deprecated.
Returns a copy of this date with the specified period taken away.
|
DateTime |
DateTime.minus(ReadablePeriod period) |
Returns a copy of this datetime with the specified period taken away.
|
LocalDate |
LocalDate.minus(ReadablePeriod period) |
Returns a copy of this date with the specified period taken away.
|
LocalDateTime |
LocalDateTime.minus(ReadablePeriod period) |
Returns a copy of this datetime with the specified period taken away.
|
LocalTime |
LocalTime.minus(ReadablePeriod period) |
Returns a copy of this time with the specified period taken away.
|
MonthDay |
MonthDay.minus(ReadablePeriod period) |
Returns a copy of this month-day with the specified period taken away.
|
Partial |
Partial.minus(ReadablePeriod period) |
Gets a copy of this instance with the specified period take away.
|
Period |
Period.minus(ReadablePeriod period) |
Returns a new period with the specified period subtracted.
|
TimeOfDay |
TimeOfDay.minus(ReadablePeriod period) |
Deprecated.
Returns a copy of this time with the specified period taken away,
wrapping to what would be a new day if required.
|
YearMonth |
YearMonth.minus(ReadablePeriod period) |
Returns a copy of this year-month with the specified period taken away.
|
YearMonthDay |
YearMonthDay.minus(ReadablePeriod period) |
Deprecated.
Returns a copy of this date with the specified period taken away.
|
DateMidnight |
DateMidnight.plus(ReadablePeriod period) |
Deprecated.
Returns a copy of this date with the specified period added.
|
DateTime |
DateTime.plus(ReadablePeriod period) |
Returns a copy of this datetime with the specified period added.
|
LocalDate |
LocalDate.plus(ReadablePeriod period) |
Returns a copy of this date with the specified period added.
|
LocalDateTime |
LocalDateTime.plus(ReadablePeriod period) |
Returns a copy of this datetime with the specified period added.
|
LocalTime |
LocalTime.plus(ReadablePeriod period) |
Returns a copy of this time with the specified period added.
|
MonthDay |
MonthDay.plus(ReadablePeriod period) |
Returns a copy of this month-day with the specified period added.
|
Partial |
Partial.plus(ReadablePeriod period) |
Gets a copy of this instance with the specified period added.
|
Period |
Period.plus(ReadablePeriod period) |
Returns a new period with the specified period added.
|
TimeOfDay |
TimeOfDay.plus(ReadablePeriod period) |
Deprecated.
Returns a copy of this time with the specified period added,
wrapping to what would be a new day if required.
|
YearMonth |
YearMonth.plus(ReadablePeriod period) |
Returns a copy of this year-month with the specified period added.
|
YearMonthDay |
YearMonthDay.plus(ReadablePeriod period) |
Deprecated.
Returns a copy of this date with the specified period added.
|
void |
MutablePeriod.setPeriod(ReadablePeriod period) |
Sets all the fields in one go from another ReadablePeriod.
|
void |
ReadWritablePeriod.setPeriod(ReadablePeriod period) |
Sets all the fields in one go from another ReadablePeriod.
|
void |
MutableInterval.setPeriodAfterStart(ReadablePeriod period) |
Sets the period of this time interval, preserving the start instant
and using the ISOChronology in the default zone for calculations.
|
void |
ReadWritableInterval.setPeriodAfterStart(ReadablePeriod period) |
Sets the period of this time interval, preserving the start instant.
|
void |
MutableInterval.setPeriodBeforeEnd(ReadablePeriod period) |
Sets the period of this time interval, preserving the end instant
and using the ISOChronology in the default zone for calculations.
|
void |
ReadWritableInterval.setPeriodBeforeEnd(ReadablePeriod period) |
Sets the period of this time interval, preserving the end instant.
|
static Days |
Days.standardDaysIn(ReadablePeriod period) |
Creates a new Days representing the number of complete
standard length days in the specified period.
|
static Hours |
Hours.standardHoursIn(ReadablePeriod period) |
Creates a new Hours representing the number of complete
standard length hours in the specified period.
|
static Minutes |
Minutes.standardMinutesIn(ReadablePeriod period) |
Creates a new Minutes representing the number of complete
standard length minutes in the specified period.
|
static Seconds |
Seconds.standardSecondsIn(ReadablePeriod period) |
Creates a new Seconds representing the number of complete
standard length seconds in the specified period.
|
static Weeks |
Weeks.standardWeeksIn(ReadablePeriod period) |
Creates a new Weeks representing the number of complete
standard length weeks in the specified period.
|
Period |
Period.withFields(ReadablePeriod period) |
Creates a new Period instance with the fields from the specified period
copied on top of those from this period.
|
DateMidnight |
DateMidnight.withPeriodAdded(ReadablePeriod period,
int scalar) |
Deprecated.
Returns a copy of this date with the specified period added.
|
DateTime |
DateTime.withPeriodAdded(ReadablePeriod period,
int scalar) |
Returns a copy of this datetime with the specified period added.
|
LocalDate |
LocalDate.withPeriodAdded(ReadablePeriod period,
int scalar) |
Returns a copy of this date with the specified period added.
|
LocalDateTime |
LocalDateTime.withPeriodAdded(ReadablePeriod period,
int scalar) |
Returns a copy of this datetime with the specified period added.
|
LocalTime |
LocalTime.withPeriodAdded(ReadablePeriod period,
int scalar) |
Returns a copy of this time with the specified period added.
|
MonthDay |
MonthDay.withPeriodAdded(ReadablePeriod period,
int scalar) |
Returns a copy of this month-day with the specified period added.
|
Partial |
Partial.withPeriodAdded(ReadablePeriod period,
int scalar) |
Gets a copy of this Partial with the specified period added.
|
TimeOfDay |
TimeOfDay.withPeriodAdded(ReadablePeriod period,
int scalar) |
Deprecated.
Returns a copy of this time with the specified period added,
wrapping to what would be a new day if required.
|
YearMonth |
YearMonth.withPeriodAdded(ReadablePeriod period,
int scalar) |
Returns a copy of this year-month with the specified period added.
|
YearMonthDay |
YearMonthDay.withPeriodAdded(ReadablePeriod period,
int scalar) |
Deprecated.
Returns a copy of this date with the specified period added.
|
Interval |
Interval.withPeriodAfterStart(ReadablePeriod period) |
Creates a new interval with the specified period after the start instant.
|
Interval |
Interval.withPeriodBeforeEnd(ReadablePeriod period) |
Creates a new interval with the specified period before the end instant.
|