Package net.solarnetwork.domain.datum
Interface DayDatum
- All Superinterfaces:
AtmosphericDatum,Datum
Solar day related datum.
- Version:
- 2.0
- Author:
- matt
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringA status sample key forgetBriefOverview()values.static final StringAn instantaneous sample key forgetMoonriseTime()values.static final StringAn instantaneous sample key forgetMoonsetTime()values.static final StringAn instantaneous sample key forgetSunriseTime()values.static final StringAn instantaneous sample key forgetSunsetTime()values.static final StringAn instantaneous sample key forgetTemperatureMaximum()values.static final StringAn instantaneous sample key forgetTemperatureMinimum()values.Fields inherited from interface net.solarnetwork.domain.datum.AtmosphericDatum
ATMOSPHERIC_PRESSURE_KEY, CO2_KEY, DEW_POINT_KEY, HUMIDITY_KEY, IRRADIANCE_KEY, LUX_KEY, RAIN_KEY, SKY_CONDITION_CODES_KEY, SKY_CONDITIONS_KEY, SNOW_KEY, TAG_ATMOSPHERE_INDOOR, TAG_ATMOSPHERE_OUTDOOR, TAG_FORECAST, TEMPERATURE_KEY, VISIBILITY_KEY, WIND_DIRECTION_KEY, WIND_SPEED_KEYFields inherited from interface net.solarnetwork.domain.datum.Datum
DATUM_TYPE_PROPERTY, DATUM_TYPES_PROPERTY, OP_STATE, OP_STATES, REVERSE_ACCUMULATING_SUFFIX_KEY, SOURCE_ID, TIMESTAMP -
Method Summary
Modifier and TypeMethodDescriptiondefault StringGet a brief textual description of the overall conditions, e.g.default LocalTimeGet the moon rise time.default LocalTimeGet the moon set time.default LocalTimeGet the sunrise time.default LocalTimeGet the sunset time.default BigDecimalGet the maximum temperature for the day.default BigDecimalGet the maximum temperature for the day.Methods inherited from interface net.solarnetwork.domain.datum.AtmosphericDatum
getAtmosphericPressure, getCO2, getDewPoint, getHumidity, getIrradiance, getLux, getRain, getSkyConditions, getSnow, getTemperature, getVisibility, getWindDirection, getWindSpeedMethods inherited from interface net.solarnetwork.domain.datum.Datum
asSampleOperations, asSimpleMap, copyWithId, copyWithSamples, getKind, getObjectId, getSampleData, getSourceId, getTimestamp
-
Field Details
-
BRIEF_OVERVIEW_KEY
A status sample key forgetBriefOverview()values.- See Also:
-
SUNRISE_KEY
An instantaneous sample key forgetSunriseTime()values.- See Also:
-
SUNSET_KEY
An instantaneous sample key forgetSunsetTime()values.- See Also:
-
MOONRISE_KEY
An instantaneous sample key forgetMoonriseTime()values.- See Also:
-
MOONSET_KEY
An instantaneous sample key forgetMoonsetTime()values.- See Also:
-
TEMPERATURE_MAXIMUM_KEY
An instantaneous sample key forgetTemperatureMaximum()values.- See Also:
-
TEMPERATURE_MINIMUM_KEY
An instantaneous sample key forgetTemperatureMinimum()values.- See Also:
-
-
Method Details
-
getBriefOverview
Get a brief textual description of the overall conditions, e.g. "Sunshine and some clouds. High 18C. Winds N at 10 to 15 km/h."- Returns:
- general overall conditions description
-
getSunriseTime
Get the sunrise time.- Returns:
- the sunrise
-
getSunsetTime
Get the sunset time.- Returns:
- the sunset
-
getMoonriseTime
Get the moon rise time.- Returns:
- the moon rise
-
getMoonsetTime
Get the moon set time.- Returns:
- the moon set
-
getTemperatureMinimum
Get the maximum temperature for the day.- Returns:
- the maximum temperature.
-
getTemperatureMaximum
Get the maximum temperature for the day.- Returns:
- the maximum temperature.
-