Serializable
public class DailyDataPoint extends Object implements Serializable
Constructor | Description |
---|---|
DailyDataPoint() |
public Instant getTime()
public void setTime(Instant time)
time
- The UNIX time at which this data point begins. minutely data point are always aligned to the top of the minute, hourly data point objects to the top of the hour,
and daily data point objects to midnight of the day, all according to the local time zone.public String getSummary()
public void setSummary(String summary)
summary
- A human-readable text summary of this data point. (This property has millions of possible values, so don’t use it for automated purposes: use the icon
property, instead!)public String getIcon()
public void setIcon(String icon)
icon
- A machine-readable text summary of this data point, suitable for selecting an icon for display. If defined, this property will have one of the following values:
clear-day, clear-night, rain, snow, sleet, wind, fog, cloudy, partly-cloudy-day, or partly-cloudy-night. (Developers should ensure that a sensible default is defined, as
additional values, such as hail, thunderstorm, or tornado, may be defined in the future.)public Double getPrecipIntensity()
public void setPrecipIntensity(Double precipIntensity)
precipIntensity
- The intensity (in inches of liquid water per hour) of precipitation occurring at the given time. This value is conditional on probability (that is,
assuming any precipitation occurs at all) for minutely data points, and unconditional otherwise.public Double getPrecipProbability()
public void setPrecipProbability(Double precipProbability)
precipProbability
- The probability of precipitation occurring, between 0 and 1, inclusive.public Double getDewPoint()
public void setDewPoint(Double dewPoint)
dewPoint
- The dew point in degrees Fahrenheit.public Double getHumidity()
public void setHumidity(Double humidity)
humidity
- The relative humidity, between 0 and 1, inclusive.public Double getWindSpeed()
public void setWindSpeed(Double windSpeed)
windSpeed
- The wind speed in miles per hour.public Integer getWindBearing()
public void setWindBearing(Integer windBearing)
windBearing
- The direction that the wind is coming from in degrees, with true north at 0° and progressing clockwise. (If windSpeed is zero, then this value will not be
defined.)public Double getCloudCover()
public void setCloudCover(Double cloudCover)
cloudCover
- The percentage of sky occluded by clouds, between 0 and 1, inclusive.public Double getOzone()
public void setOzone(Double ozone)
ozone
- The columnar density of total atmospheric ozone at the given time in Dobson units.public Double getPressure()
public void setPressure(Double pressure)
pressure
- The sea-level air pressure in millibars.public String getPrecipType()
public void setPrecipType(String precipType)
precipType
- The type of precipitation occurring at the given time. If defined, this property will have one of the following values: "rain", "snow", or "sleet" (which
refers to each of freezing rain, ice pellets, and “wintery mix”). (If precipIntensity is zero, then this property will not be defined.)public Double getVisibility()
public void setVisibility(Double visibility)
visibility
- The average visibility in miles, capped at 10 miles.public Instant getSunriseTime()
public void setSunriseTime(Instant sunriseTime)
sunriseTime
- The UNIX time of when the sun will rise during a given day.public Instant getSunsetTime()
public void setSunsetTime(Instant sunsetTime)
sunsetTime
- The UNIX time of when the sun will set during a given day.public Double getMoonPhase()
public void setMoonPhase(Double moonPhase)
moonPhase
- The fractional part of the lunation number during the given day: a value of 0 corresponds to a new moon, 0.25 to a first quarter moon, 0.5 to a full moon,
and 0.75 to a last quarter moon. (The ranges in between these represent waxing crescent, waxing gibbous, waning gibbous, and waning crescent moons, respectively.)public Double getPrecipIntensityMax()
public void setPrecipIntensityMax(Double precipIntensityMax)
precipIntensityMax
- The maximum value of precipIntensity during a given day.@Deprecated public Double getTemperatureMin()
getTemperatureLow()
instead.@Deprecated public void setTemperatureMin(Double temperatureMin)
setTemperatureLow(java.lang.Double)
instead.temperatureMin
- The minimum value of temperature during a given date.@Deprecated public Instant getTemperatureMinTime()
getTemperatureLowTime()
instead.@Deprecated public void setTemperatureMinTime(Instant temperatureMinTime)
setTemperatureLowTime(java.time.Instant)
instead.temperatureMinTime
- The UNIX time of when temperatureMin occurs during a given date.@Deprecated public Double getTemperatureMax()
()
instead.@Deprecated public void setTemperatureMax(Double temperatureMax)
setTemperatureHigh(java.lang.Double)
instead.temperatureMax
- The maximum temperature during a given date.@Deprecated public Instant getTemperatureMaxTime()
getTemperatureHighTime()
instead.@Deprecated public void setTemperatureMaxTime(Instant temperatureMaxTime)
setTemperatureHighTime(java.time.Instant)
instead.temperatureMaxTime
- The UNIX time representing when the maximum temperature during a given date occurs.@Deprecated public Double getApparentTemperatureMin()
getApparentTemperatureLow()
instead.@Deprecated public void setApparentTemperatureMin(Double apparentTemperatureMin)
setApparentTemperatureLow(java.lang.Double)
instead.apparentTemperatureMin
- The minimum apparent temperature during a given date.@Deprecated public Instant getApparentTemperatureMinTime()
getApparentTemperatureLowTime()
instead.@Deprecated public void setApparentTemperatureMinTime(Instant apparentTemperatureMinTime)
setApparentTemperatureLowTime(java.time.Instant)
instead.apparentTemperatureMinTime
- The UNIX time representing when the minimum apparent temperature during a given date occurs.@Deprecated public Double getApparentTemperatureMax()
getApparentTemperatureHigh()
instead.@Deprecated public void setApparentTemperatureMax(Double apparentTemperatureMax)
setApparentTemperatureHigh(java.lang.Double)
instead.apparentTemperatureMax
- The maximum apparent temperature during a given date.@Deprecated public Instant getApparentTemperatureMaxTime()
getApparentTemperatureHighTime()
instead.@Deprecated public void setApparentTemperatureMaxTime(Instant apparentTemperatureMaxTime)
setApparentTemperatureHighTime(java.time.Instant)
instead.apparentTemperatureMaxTime
- The UNIX time representing when the maximum apparent temperature during a given date occurs.public Double getTemperatureLow()
public void setTemperatureLow(Double temperatureLow)
temperatureLow
- The overnight low temperature.public Instant getTemperatureLowTime()
public void setTemperatureLowTime(Instant temperatureLowTime)
temperatureLowTime
- The UNIX time representing when the overnight low temperature occurs.public Double getTemperatureHigh()
public void setTemperatureHigh(Double temperatureHigh)
temperatureHigh
- The daytime high temperature.public Instant getTemperatureHighTime()
public void setTemperatureHighTime(Instant temperatureHighTime)
temperatureHighTime
- The UNIX time representing when the daytime high temperature occurs.public Double getApparentTemperatureLow()
public void setApparentTemperatureLow(Double apparentTemperatureLow)
apparentTemperatureLow
- The overnight low apparent temperature.public Instant getApparentTemperatureLowTime()
public void setApparentTemperatureLowTime(Instant apparentTemperatureLowTime)
apparentTemperatureLowTime
- The UNIX time representing when the overnight low apparent temperature occurs.public Double getApparentTemperatureHigh()
public void setApparentTemperatureHigh(Double apparentTemperatureHigh)
apparentTemperatureHigh
- The daytime high apparent temperature.public Instant getApparentTemperatureHighTime()
public void setApparentTemperatureHighTime(Instant apparentTemperatureHighTime)
apparentTemperatureHighTime
- The UNIX time representing when the daytime high apparent temperature occurs.public Instant getPrecipIntensityMaxTime()
public void setPrecipIntensityMaxTime(Instant precipIntensityMaxTime)
precipIntensityMaxTime
- The UNIX time of when precipIntensityMax occurs during a given day.public Double getPrecipAccumulation()
public void setPrecipAccumulation(Double precipAccumulation)
precipAccumulation
- The amount of snowfall accumulation expected to occur, in inches. (If no snowfall is expected, this property will not be defined.)public Double getWindGust()
public void setWindGust(Double windGust)
windGust
- The wind gust speed in miles per hour.public Instant getWindGustTime()
public void setWindGustTime(Instant windGustTime)
windGustTime
- The UNIX time of when the windGust occurs during a given day.public Integer getUvIndex()
public void setUvIndex(Integer uvIndex)
uvIndex
- The UV index.public Integer getUvIndexTime()
public void setUvIndexTime(Integer uvIndexTime)
uvIndexTime
- The UNIX time of when the maximum uvIndex occurs during a given day.Copyright © 2018. All rights reserved.