code: private static Moment moveEventuallyToLS(Moment adjusted) {
  
          PlainDate date = adjusted.getDateUTC();
          PlainTime time = adjusted.getTimeUTC();
  
          if (
              (LeapSeconds.getInstance().getShift(date) == 1)
              && (time.getHour() == 23)
              && (time.getMinute() == 59)
              && (time.getSecond() == 59)
          ) {
              return adjusted.plus(1, SI.SECONDS);
          } else {
              return adjusted;
          }
  
      }
docs: Schaltsekundenkorrektur