EveryDueDayMonth.from constructor

EveryDueDayMonth.from(
  1. DateTime date
)

Returns a EveryDueDayMonth with the dueDay being the DateTime.day of the given date. When you call next or previous on this EveryDueDayMonth, it will return the dueDay of the next or previous month.

Implementation

factory EveryDueDayMonth.from(DateTime date) => EveryDueDayMonth(date.day);