Adding begin/endTimeRange generation and parsing.