isSameOrAfter method

bool isSameOrAfter(
  1. Jiffy jiffy, {
  2. Unit unit = Unit.microsecond,
})

Returns a boolean value indicating whether this Jiffy instance is the same as or after the given jiffy instance.

The unit parameter specifies the unit of measurement to use when comparing the two instances. The default value is Unit.microsecond.

Implementation

bool isSameOrAfter(Jiffy jiffy, {Unit unit = Unit.microsecond}) {
  return _query.isSameOrAfter(
      dateTime, jiffy.dateTime, unit, _locale.startOfWeek());
}