Class WeatherDayForecast

java.lang.Object
com.cercalia.sdk.model.poi.WeatherDayForecast

public final class WeatherDayForecast extends Object
Represents weather forecast data for a single day.
  • Method Details

    • getDate

      public String getDate()
      Returns:
      The date of the forecast in YYYYMMDD format.
    • getPrecipitationChance0012

      @Nullable public @Nullable Double getPrecipitationChance0012()
      Returns:
      The probability of precipitation (0-1) between 00:00 and 12:00.
    • getPrecipitationChance1224

      @Nullable public @Nullable Double getPrecipitationChance1224()
      Returns:
      The probability of precipitation (0-1) between 12:00 and 24:00.
    • getSnowLevel0012

      @Nullable public @Nullable Double getSnowLevel0012()
      Returns:
      The estimated snow level in meters between 00:00 and 12:00.
    • getSnowLevel1224

      @Nullable public @Nullable Double getSnowLevel1224()
      Returns:
      The estimated snow level in meters between 12:00 and 24:00.
    • getSkyConditions0012

      @Nullable public @Nullable Double getSkyConditions0012()
      Returns:
      Sky condition code between 00:00 and 12:00.
    • getSkyConditions1224

      @Nullable public @Nullable Double getSkyConditions1224()
      Returns:
      Sky condition code between 12:00 and 24:00.
    • getWindSpeed0012

      @Nullable public @Nullable Double getWindSpeed0012()
      Returns:
      Average wind speed in km/h between 00:00 and 12:00.
    • getWindSpeed1224

      @Nullable public @Nullable Double getWindSpeed1224()
      Returns:
      Average wind speed in km/h between 12:00 and 24:00.
    • getTemperatureMax

      @Nullable public @Nullable Double getTemperatureMax()
      Returns:
      Maximum temperature in Celsius.
    • getTemperatureMin

      @Nullable public @Nullable Double getTemperatureMin()
      Returns:
      Minimum temperature in Celsius.
    • builder

      public static WeatherDayForecast.Builder builder()
      Returns:
      A new builder instance.
    • toString

      public String toString()
      Overrides:
      toString in class Object