A DESCRIPTION OF THE PROBLEM :
The documentation rightly says:
> Gets the previous transition before the specified instant.
But then it incorrectly says:
> This returns details of the previous transition **after** the specified instant
and
> Returns: the previous transition **after** the specified instant
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expect it to say
> This returns details of the previous transition before the specified instant
and
> Returns: the previous transition before the specified instant
ACTUAL -
> This returns details of the previous transition **after** the specified instant
and
> Returns: the previous transition **after** the specified instant
URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/8/docs/api/java/time/zone/ZoneRules.html#previousTransition-java.time.Instant-
The documentation rightly says:
> Gets the previous transition before the specified instant.
But then it incorrectly says:
> This returns details of the previous transition **after** the specified instant
and
> Returns: the previous transition **after** the specified instant
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I expect it to say
> This returns details of the previous transition before the specified instant
and
> Returns: the previous transition before the specified instant
ACTUAL -
> This returns details of the previous transition **after** the specified instant
and
> Returns: the previous transition **after** the specified instant
URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/8/docs/api/java/time/zone/ZoneRules.html#previousTransition-java.time.Instant-