#14164: add roundByHour method