Added secondsSinceMidnight and secondsUntilEndOfDay helper methods