diffMonthsFromCurrent property

num diffMonthsFromCurrent

Gets the number of months between the supplied DateTime and the current time

Implementation

num get diffMonthsFromCurrent {
  return Jiffy.parseFromDateTime(DateTime.now()).diff(Jiffy.parseFromDateTime(this), unit: Unit.month);
}