added end_of_hour beginning_of_hour