returnForwardShifted property

SkippedTimeResolver returnForwardShifted
final

A SkippedTimeResolver which shifts values in the 'gap' forward by the duration of the gap (which is usually 1 hour). This corresponds to the instant that would have occured, had there not been a transition.

Implementation

static final SkippedTimeResolver returnForwardShifted = (LocalDateTime local, DateTimeZone zone, ZoneInterval before, ZoneInterval after) {
  Preconditions.checkNotNull(zone, 'zone');
  Preconditions.checkNotNull(before, 'before');
  Preconditions.checkNotNull(after, 'after');
  return IZonedDateTime.trusted(OffsetDateTime(local, before.wallOffset).withOffset(after.wallOffset), zone);
};