Package tsl2.nano.cursus
Class Timer
java.lang.Object
tsl2.nano.cursus.Timer
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ETimer
Holds a start-end period and is able to walk through this period on given time-steps (see
runThrough(Date, Date) - then it is a generator.- Author:
- Tom
- See Also:
-
Field Details
-
from
-
until
-
stepType
protected int stepTypea value given by theCalendar. E.g. Calendar.DAY_OF_MONTH. -
stepLength
protected int stepLengthnumber ofstepTypefor each step. If 0, the timer is only a period, not a generator -
stepExceptions
explizit step exceptions on givenstepTypeto be ignored. It is defined as ArrayList, as List or Set is not Serializable and cannot be handled by JPA! -
subTimers
-
-
Constructor Details
-
Timer
public Timer() -
Timer
-
Timer
-
-
Method Details