Package net.solarnetwork.domain
Class SkyConditions
java.lang.Object
net.solarnetwork.domain.SkyConditions
A set of sky conditions.
- Since:
- 1.50
- Version:
- 1.0
- Author:
- matt
-
Constructor Summary
ConstructorsConstructorDescriptionSkyConditions(Set<SkyCondition> conditions) Constructor for day conditions.SkyConditions(Set<SkyCondition> conditions, boolean night) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the set of conditions.booleanisNight()Get the night-time flag.
-
Constructor Details
-
SkyConditions
Constructor for day conditions.- Parameters:
conditions- the daytime conditions
-
SkyConditions
Constructor.- Parameters:
conditions- the conditionsnight- true for night-time, false for daytime
-
-
Method Details
-
isNight
public boolean isNight()Get the night-time flag.- Returns:
- true for night-time conditions
-
getConditions
Get the set of conditions.- Returns:
- the conditions
-