code: public static Date localDateTimeToDate(LocalDateTime localDateTime) {
          Objects.requireNonNull(localDateTime, Required.LOCAL_DATE_TIME.toString());
          
          Instant instant = localDateTime.atZone(ZoneId.systemDefault()).toInstant();
          return Date.from(instant);
      }
docs: Converts a LocalDateTime to Date
  
  @param localDateTime The LocalDateTime to convert
  @return The converted Date