Fixed a fatal bug in the constructor.
Renamed checkNumberOfDays to setNumberOfDays.

Signed-off-by: Dennis <dennis@vonbargen.se>