dateIsStartOrEnd method
Returns whether the date is the start or the end of the selected range or not.
This is useful to display the correct border radius on the day tile.
Implementation
bool dateIsStartOrEnd(DateTime date) {
return dateIsStart(date) || dateIsEnd(date);
}