Class SkyConditions

java.lang.Object
net.solarnetwork.domain.SkyConditions

public class SkyConditions extends Object
A set of sky conditions.
Since:
1.50
Version:
1.0
Author:
matt
  • Constructor Details

    • SkyConditions

      public SkyConditions(Set<SkyCondition> conditions)
      Constructor for day conditions.
      Parameters:
      conditions - the daytime conditions
    • SkyConditions

      public SkyConditions(Set<SkyCondition> conditions, boolean night)
      Constructor.
      Parameters:
      conditions - the conditions
      night - 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

      public Set<SkyCondition> getConditions()
      Get the set of conditions.
      Returns:
      the conditions