datesOnly function

JalaliRange datesOnly(
  1. JalaliRange range
)

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));
}