Interface TimeOfUseTariff
- All Known Implementing Classes:
AwattarImpl
,CorrentlyImpl
,DummyTimeOfUseTariffProvider
,TibberImpl
@ProviderType
public interface TimeOfUseTariff
Provides a prediction for the next 24 h; one value per 15 minutes; 96 values
in total.
-
Method Summary
Modifier and TypeMethodDescriptionGives electricity prices for the next 24 h; one value per 15 minutes; 96 values in total.
-
Method Details
-
getPrices
TimeOfUsePrices getPrices()Gives electricity prices for the next 24 h; one value per 15 minutes; 96 values in total.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;
TimeOfUsePrices.empty(java.time.ZonedDateTime)
if no prices are known
-