Package nwsWeatherApi

Class ZoneForecast

java.lang.Object
nwsWeatherApi.Forecast
nwsWeatherApi.ZoneForecast

public class ZoneForecast extends Forecast
Wraps the ZoneForecastGeoJson schema of the NWS API.
Author:
cobalt
  • Constructor Details

    • ZoneForecast

      public ZoneForecast(com.github.cliftonlabs.json_simple.JsonObject obj)
      Constructs a ZoneForecast from a valid JSON of the ZoneForecastGeoJson schema of the NWS API.
      Parameters:
      obj -
    • ZoneForecast

      public ZoneForecast(String zone)
      Constructs a ZoneForecast from the zone's code.
      Parameters:
      zone -