The interface ReadableInstant
provides a method toInstant()
which returns an Instant
. Call that and then call plus()
on that Instant
.
So:
ReadableInstant instant;
ReadableDuration duration;
// ...
return instant.toInstant().plus(duration);