| Package | Description |
|---|---|
| io.r2dbc.postgresql.codec |
Encoders and Decoders for the type that the service provider understands.
|
| Modifier and Type | Field and Description |
|---|---|
static Interval |
Interval.ZERO
Constant for a duration of zero.
|
| Modifier and Type | Method and Description |
|---|---|
static Interval |
Interval.between(Temporal startInclusive,
Temporal endExclusive)
|
static Interval |
Interval.from(TemporalAmount amount)
Create a new
Interval from a temporal amount. |
Interval |
Interval.minus(TemporalAmount amountToSubtract) |
Interval |
Interval.multipliedBy(int scalar) |
Interval |
Interval.normalized() |
static Interval |
Interval.of(Duration duration)
|
static Interval |
Interval.of(int years,
int months,
int days,
int hours,
int minutes,
double seconds)
|
static Interval |
Interval.of(int years,
int months,
int days,
int hours,
int minutes,
int seconds,
int microseconds)
|
static Interval |
Interval.of(Period period)
|
static Interval |
Interval.of(Period period,
Duration duration)
|
static Interval |
Interval.parse(String value)
Parse the
value representing a Interval. |
Interval |
Interval.plus(TemporalAmount amountToAdd) |
Interval |
Interval.withDays(int days)
Return a new instance of
Interval applying the current interval and adjusting years given days. |
Interval |
Interval.withHours(int hours)
Return a new instance of
Interval applying the current interval and adjusting years given hours. |
Interval |
Interval.withMicroseconds(int microseconds)
Return a new instance of
Interval applying the current interval and adjusting years given microseconds. |
Interval |
Interval.withMinutes(int minutes)
Return a new instance of
Interval applying the current interval and adjusting years given minutes. |
Interval |
Interval.withMonths(int months)
Return a copy a new instance of
Interval applying the current interval and adjusting years given months. |
Interval |
Interval.withSeconds(int seconds)
Return a new instance of
Interval applying the current interval and adjusting years given seconds. |
Interval |
Interval.withYears(int years)
Return a copy instance of
Interval applying the current interval and adjusting years given years. |
Copyright © 2023. All rights reserved.