@Value.Immutable public abstract class DsDataPoint extends Object
DsResponse.currently(), a minute for
DsResponse.minutely(), an hour for DsResponse.hourly(), and a day for
DsResponse.daily().| Constructor and Description |
|---|
DsDataPoint() |
| Modifier and Type | Method and Description |
|---|---|
abstract BigDecimal |
apparentTemperature()
The apparent (or "feels like") temperature in degrees Fahrenheit.
|
abstract BigDecimal |
apparentTemperatureHigh()
The daytime high apparent temperature.
|
abstract Long |
apparentTemperatureHighTime()
The UNIX time representing when
apparentTemperatureHigh() occurs. |
abstract BigDecimal |
apparentTemperatureLow()
The overnight low apparent temperature.
|
abstract Long |
apparentTemperatureLowTime()
The UNIX time representing when
apparentTemperatureLow() occurs. |
abstract BigDecimal |
apparentTemperatureMax()
The maximum apparent temperature during a given date.
|
abstract Long |
apparentTemperatureMaxTime()
The UNIX time representing when
apparentTemperatureMax() occurs. |
abstract BigDecimal |
apparentTemperatureMin()
The minimum apparent temperature during a given date.
|
abstract Long |
apparentTemperatureMinTime()
The UNIX time representing when
apparentTemperatureMin() occurs. |
abstract BigDecimal |
cloudCover()
The percentage of sky occluded by clouds, between 0 and 1, inclusive.
|
abstract BigDecimal |
dewPoint()
The dew point in degrees Fahrenheit.
|
abstract BigDecimal |
humidity()
The relative humidity, between 0 and 1, inclusive.
|
abstract DsIcon |
icon()
A machine-readable text summary of this data point, suitable for selecting an icon
for display.
|
abstract BigDecimal |
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.
|
abstract BigDecimal |
nearestStormBearing()
The approximate direction of the nearest storm in degrees, with true north at 0°
and progressing clockwise.
|
abstract BigDecimal |
nearestStormDistance()
The approximate distance to the nearest storm in miles.
|
abstract BigDecimal |
ozone()
The columnar density of total atmospheric ozone at the given time in Dobson units.
|
abstract BigDecimal |
precipAccumulation()
The amount of snowfall accumulation expected to occur (over the hour or day,
respectively), in inches.
|
abstract BigDecimal |
precipIntensity()
The intensity (in inches of liquid water per hour) of precipitation occurring at
the given time.
|
abstract BigDecimal |
precipIntensityError()
The standard deviation of the distribution of
precipIntensity(). |
abstract BigDecimal |
precipIntensityMax()
The maximum value of
precipIntensity() during a given day. |
abstract Long |
precipIntensityMaxTime()
The UNIX time of when
precipIntensityMax() occurs. |
abstract BigDecimal |
precipProbability()
The probability of precipitation occurring, between 0 and 1, inclusive.
|
abstract DsPrecipType |
precipType()
The type of precipitation occurring at the given time.
|
abstract BigDecimal |
pressure()
The sea-level air pressure in millibars.
|
abstract String |
summary()
A human-readable text summary of this data point.
|
abstract Long |
sunriseTime()
The UNIX time of when the sun will rise during a given day.
|
abstract Long |
sunsetTime()
The UNIX time of when the sun will set during a given day.
|
abstract BigDecimal |
temperature()
The air temperature in degrees Fahrenheit.
|
abstract BigDecimal |
temperatureHigh()
The daytime high temperature.
|
abstract Long |
temperatureHighTime()
The UNIX time representing when
temperatureHigh() occurs. |
abstract BigDecimal |
temperatureLow()
The overnight low temperature.
|
abstract Long |
temperatureLowTime()
The UNIX time representing when
temperatureLow() occurs. |
abstract BigDecimal |
temperatureMax()
The maximum temperature during a given date.
|
abstract Long |
temperatureMaxTime()
The UNIX time representing when
temperatureMax() occurs. |
abstract BigDecimal |
temperatureMin()
The minimum temperature during a given date.
|
abstract Long |
temperatureMinTime()
The UNIX time representing when
temperatureMin() occurs. |
abstract long |
time()
The UNIX time at which this data point begins.
|
abstract Integer |
uvIndex()
The UV index.
|
abstract Long |
uvIndexTime()
The UNIX time of when the maximum
uvIndex() occurs during a given day. |
abstract BigDecimal |
visibility()
The average visibility in miles, capped at 10 miles.
|
abstract BigDecimal |
windBearing()
The direction that the wind is coming from in degrees, with true north at 0° and
progressing clockwise.
|
abstract BigDecimal |
windGust()
The wind gust speed in miles per hour.
|
abstract Long |
windGustTime()
The time at which the maximum wind gust speed occurs during the day.
|
abstract BigDecimal |
windSpeed()
The wind speed in miles per hour.
|
@Nullable public abstract BigDecimal apparentTemperature()
Only on DsResponse.hourly() and DsResponse.currently()
@Nullable public abstract BigDecimal apparentTemperatureHigh()
Only on DsResponse.daily()
@Nullable public abstract Long apparentTemperatureHighTime()
apparentTemperatureHigh() occurs.
Only on DsResponse.daily()
@Nullable public abstract BigDecimal apparentTemperatureLow()
Only on DsResponse.daily()
@Nullable public abstract Long apparentTemperatureLowTime()
apparentTemperatureLow() occurs.
Only on DsResponse.daily()
@Nullable public abstract BigDecimal apparentTemperatureMax()
Only on DsResponse.daily()
@Nullable public abstract Long apparentTemperatureMaxTime()
apparentTemperatureMax() occurs.
Only on DsResponse.daily()
@Nullable public abstract BigDecimal apparentTemperatureMin()
Only on DsResponse.daily()
@Nullable public abstract Long apparentTemperatureMinTime()
apparentTemperatureMin() occurs.
Only on DsResponse.daily()
@Nullable public abstract BigDecimal cloudCover()
@Nullable public abstract BigDecimal dewPoint()
@Nullable public abstract BigDecimal humidity()
@Nullable public abstract DsIcon icon()
@Nullable public abstract BigDecimal moonPhase()
Only on DsResponse.daily()
@Nullable public abstract BigDecimal nearestStormBearing()
nearestStormDistance() is zero, then this
value will not be defined.)
Only on DsResponse.currently()
@Nullable public abstract BigDecimal nearestStormDistance()
Only on DsResponse.currently()
@Nullable public abstract BigDecimal ozone()
@Nullable public abstract BigDecimal precipAccumulation()
Only on DsResponse.hourly(), DsResponse.currently() and
DsResponse.daily()
@Nullable public abstract BigDecimal precipIntensity()
@Nullable public abstract BigDecimal precipIntensityError()
precipIntensity(). (We only
return this property when the full distribution, and not merely the expected mean,
can be estimated with accuracy.)@Nullable public abstract BigDecimal precipIntensityMax()
precipIntensity() during a given day.
Only on DsResponse.daily()
@Nullable public abstract Long precipIntensityMaxTime()
precipIntensityMax() occurs.
Only on DsResponse.daily()
@Nullable public abstract BigDecimal precipProbability()
@Nullable public abstract DsPrecipType precipType()
precipIntensity() is zero, then this property will not be defined.
Additionally, due to the lack of data in our sources, historical precipType
information is usually estimated, rather than observed.)@Nullable public abstract BigDecimal pressure()
@Nullable public abstract String summary()
icon()
instead!)@Nullable public abstract Long sunriseTime()
Only on DsResponse.daily()
@Nullable public abstract Long sunsetTime()
Only on DsResponse.daily()
@Nullable public abstract BigDecimal temperature()
Only on DsResponse.hourly() and DsResponse.currently()
@Nullable public abstract BigDecimal temperatureHigh()
Only on DsResponse.daily()
@Nullable public abstract Long temperatureHighTime()
temperatureHigh() occurs.
Only on DsResponse.daily()
@Nullable public abstract BigDecimal temperatureLow()
Only on DsResponse.daily()
@Nullable public abstract Long temperatureLowTime()
temperatureLow() occurs.
Only on DsResponse.daily()
@Nullable public abstract BigDecimal temperatureMax()
Only on DsResponse.daily()
@Nullable public abstract Long temperatureMaxTime()
temperatureMax() occurs.
Only on DsResponse.daily()
@Nullable public abstract BigDecimal temperatureMin()
Only on DsResponse.daily()
@Nullable public abstract Long temperatureMinTime()
temperatureMin() occurs.
Only on DsResponse.daily()
public abstract long time()
DsResponse.minutely() data
point are always aligned to the top of the minute, DsResponse.hourly() data
point objects to the top of the hour, DsResponse.daily() data point objects
to midnight of the day, and DsResponse.currently() data point object to the
point of time provided all according to the local time zone.@Nullable public abstract Long uvIndexTime()
uvIndex() occurs during a given day.
Only on DsResponse.daily()
@Nullable public abstract BigDecimal visibility()
@Nullable public abstract BigDecimal windBearing()
windSpeed() is zero, then this value will not
be defined.)@Nullable public abstract BigDecimal windGust()
@Nullable public abstract Long windGustTime()
Only on DsResponse.daily()
@Nullable public abstract BigDecimal windSpeed()
Copyright © 2016–2020. All rights reserved.