lenientResolver property

ZoneLocalMappingResolver lenientResolver
final

A ZoneLocalMappingResolver which never throws an exception due to ambiguity or skipped time.

Ambiguity is handled by returning the earlier occurrence, and skipped times are shifted forward by the duration of the gap. This resolver combines returnEarlier and returnForwardShifted. Note: The behavior of this resolver was changed in version 2.0 to fit the most commonly seen real-world usage pattern. Previous versions combined the returnLater and returnStartOfIntervalAfter resolvers, which can still be used separately if desired.

Implementation

static final ZoneLocalMappingResolver lenientResolver = createMappingResolver(returnEarlier, returnForwardShifted);