Returns true if dateTime is between from and to (inclusive)
dateTime
bool contains(DateTime dateTime) => from <= dateTime && dateTime <= to;