isBetween method
Returns a boolean value indicating whether this Jiffy instance is
between the two given jiffyFrom
and jiffyTo
instances.
The unit
parameter specifies the unit of measurement to use when
comparing the three instances. The default value is Unit.microsecond.
Implementation
bool isBetween(Jiffy jiffyFrom, Jiffy jiffyTo,
{Unit unit = Unit.microsecond}) {
return _query.isBetween(dateTime, jiffyFrom.dateTime, jiffyTo.dateTime,
unit, _locale.startOfWeek());
}