code: private Set<io.motown.vas.viewmodel.persistence.entities.OpeningTime> convertFromApiOpeningTimes(Set<OpeningTime> input) {
          Set<io.motown.vas.viewmodel.persistence.entities.OpeningTime> output = new HashSet<>();
          for (OpeningTime source : input) {
              io.motown.vas.viewmodel.persistence.entities.OpeningTime openingTime = new io.motown.vas.viewmodel.persistence.entities.OpeningTime();
              openingTime.setDay(Day.fromValue(source.getDay().value()));
              openingTime.setTimeStart(source.getTimeStart().getHourOfDay() * MINUTES_IN_HOUR + source.getTimeStart().getMinutesInHour());
              openingTime.setTimeStop(source.getTimeStop().getHourOfDay() * MINUTES_IN_HOUR + source.getTimeStop().getMinutesInHour());
              output.add(openingTime);
          }
          return output;
      }
docs: Converts the opening times from the {@link io.motown.domain.api.chargingstation.OpeningTime} to the {@link io.motown.vas.viewmodel.persistence.entities.OpeningTime} format.
  
  @param input the opening times from the core.
  @return the new set of opening times.