Package net.solarnetwork.domain.tariff
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 Summary
Modifier and TypeMethodDescriptionresolveTariff(LocalDateTime dateTime, Map<String, ?> parameters) Resolve a tariff.
-
Method Details
-
resolveTariff
Resolve a tariff.- Parameters:
dateTime- the date to resolve a tariff forparameters- optional parameters- Returns:
- the tariff, or null if no tariff applies
-