Interface TariffSchedule

All Known Implementing Classes:
SimpleTemporalTariffSchedule

public interface TariffSchedule
API for a tariff schedule, that can resolve a tariff based on a date.
Since:
1.71
Version:
1.0
Author:
matt
  • Method Details

    • resolveTariff

      Tariff resolveTariff(LocalDateTime dateTime, Map<String,?> parameters)
      Resolve a tariff.
      Parameters:
      dateTime - the date to resolve a tariff for
      parameters - optional parameters
      Returns:
      the tariff, or null if no tariff applies