public DaylightCondition(final DaylightPhase... daylightPhases){
  super();
  this.daylightPhases=Arrays.asList(daylightPhases);
}

public DaylightCondition ( final DaylightPhase ... daylightPhases ) { super ( ) ; this . daylightPhases = Arrays . asList ( daylightPhases ) ; }
creates a new daytimecondition
