datesOnly static method
Returns a JalaliRange with the dates of the original, but with times set to midnight.
See also:
- dateOnly, which does the same thing for a single date.
Implementation
static JalaliRange datesOnly(JalaliRange range) {
return JalaliRange(start: dateOnly(range.start), end: dateOnly(range.end));
}