Fixes big bug in inaccurate scheduling

The scala compiler inferred the util.Days.MillisecondsPerDay constant was an
Int instead of its correct type Long; thus, all operations involving it lacked
precision and led to incorrect Dates.
Adds minor whitespacing