155156157158159160161
BigDecimal zenithAngle = PercentHelper.getDecimalValue(50); return new SunState(luminosity, riseAngle, zenithAngle); } public static TimeCounterState createRandomTimeCounterState() { return new TimeCounterState(Randomizer.randomBetween(0, 60)); }
164165166167168169170
* Create specific time counter state with seconds = 22 * * @return */ public static TimeCounterState createSpecificTimeCounterState() { return new TimeCounterState(22); }