Throw error on empty time constants

Signed-off-by: Michael Buesch <m@bues.ch>