CustomTimeRange constructor
The timezone is assumed by the from
passed in here.
CustomTimeRange does NOT ensure that from
and to
have the same timezone.
Implementation
const CustomTimeRange(this.from, this.to)
: assert(from <= to, "[from] must be before or equal to [to]");