datesOnly function
Returns a JalaliRange with the dates of the original without any times set.
Implementation
JalaliRange datesOnly(JalaliRange range) {
return JalaliRange(start: dateOnly(range.start), end: dateOnly(range.end));
}
Returns a JalaliRange with the dates of the original without any times set.
JalaliRange datesOnly(JalaliRange range) {
return JalaliRange(start: dateOnly(range.start), end: dateOnly(range.end));
}