Interface TimeOfUseTariff

All Known Subinterfaces:
TimeOfUseTariffAwattar, TimeOfUseTariffCorrently, TimeOfUseTariffTibber, TouEntsoe
All Known Implementing Classes:
DummyTimeOfUseTariffProvider, TimeOfUseTariffAwattarImpl, TimeOfUseTariffCorrentlyImpl, TimeOfUseTariffTibberImpl, TouEntsoeImpl

@ProviderType public interface TimeOfUseTariff
Provides quarterly Time-of-Use Tariff prices.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gives electricity prices; one value per 15 minutes.
  • Method Details

    • getPrices

      TimeOfUsePrices getPrices()
      Gives electricity prices; one value per 15 minutes.

      E.g. if called at 10:05, the first value stands for 10:00 to 10:15; second value for 10:15 to 10:30.

      Returns:
      the prices;
      invalid reference
      TimeOfUsePrices#empty(java.time.ZonedDateTime)
      if no prices are known