Changed method getTimeOfDay() into getTimeOfDay() and
getTimeOfDayAsString().