diff --git a/bundles/org.openhab.binding.astro/src/main/java/org/openhab/binding/astro/internal/model/Season.java b/bundles/org.openhab.binding.astro/src/main/java/org/openhab/binding/astro/internal/model/Season.java index e2f3e4418d8cf..00cfa2752f007 100644 --- a/bundles/org.openhab.binding.astro/src/main/java/org/openhab/binding/astro/internal/model/Season.java +++ b/bundles/org.openhab.binding.astro/src/main/java/org/openhab/binding/astro/internal/model/Season.java @@ -12,8 +12,8 @@ */ package org.openhab.binding.astro.internal.model; -import static org.openhab.core.library.unit.MetricPrefix.MILLI; - +import java.time.Duration; +import java.time.temporal.ChronoUnit; import java.util.Calendar; import javax.measure.quantity.Time; @@ -127,9 +127,10 @@ public SeasonName getNextName() { * Returns the time left for current season */ public QuantityType