Uses of Class
io.r2dbc.postgresql.codec.Interval
Packages that use Interval
Package
Description
Encoders and Decoders for the type that the service provider understands.
-
Uses of Interval in io.r2dbc.postgresql.codec
Fields in io.r2dbc.postgresql.codec declared as IntervalModifier and TypeFieldDescriptionstatic final IntervalInterval.ZEROConstant for a duration of zero.Methods in io.r2dbc.postgresql.codec that return IntervalModifier and TypeMethodDescriptionstatic Intervalstatic IntervalInterval.from(TemporalAmount amount) Create a newIntervalfrom atemporal amount.Interval.minus(TemporalAmount amountToSubtract) Interval.multipliedBy(int scalar) Interval.normalized()static IntervalInterval.of(int years, int months, int days, int hours, int minutes, double seconds) static IntervalInterval.of(int years, int months, int days, int hours, int minutes, int seconds, int microseconds) static Intervalstatic Intervalstatic Intervalstatic IntervalParse thevaluerepresenting aInterval.Interval.plus(TemporalAmount amountToAdd) Interval.withDays(int days) Return a new instance ofIntervalapplying the current interval and adjusting years givendays.Interval.withHours(int hours) Return a new instance ofIntervalapplying the current interval and adjusting years givenhours.Interval.withMicroseconds(int microseconds) Return a new instance ofIntervalapplying the current interval and adjusting years givenmicroseconds.Interval.withMinutes(int minutes) Return a new instance ofIntervalapplying the current interval and adjusting years givenminutes.Interval.withMonths(int months) Return a copy a new instance ofIntervalapplying the current interval and adjusting years givenmonths.Interval.withSeconds(int seconds) Return a new instance ofIntervalapplying the current interval and adjusting years givenseconds.Interval.withYears(int years) Return a copy instance ofIntervalapplying the current interval and adjusting years givenyears.