The getTimeZoneTransition() method returns a ZonedDateTime object representing the closest instant after or before in which the time zone's UTC offset changes.