added yesterday and tomorrow function, adapted JulianDate to throw
exception and stop programm