The isGap() method of java.time.zone.ZoneOffsetTransition class is used to check if there is any gap in the local time represented by this zone off set transition.  Syntax: public boolean isGap() Parameter: this method does not accept any parameter.  Return Value: This method returns true if there is a gap in the transition otherwise false.  Below are the examples to illustrate the isGap() method: ...
https://neveropen.tech/zoneoffsettransition-isgap-method-in-java-with-example-2/?fsp_sid=121220