API methods for handling date range parameters