getLunarDateNext static method

LunarDateTime? getLunarDateNext({
  1. required dynamic fromDate,
  2. required int rangeDays,
})

Get Lunar Date after rangeDays from fromDate. The fromDate need be a object of DateTime or LunarDateTime. If passing another type the result will return null. You can pass the negative for date before.

Implementation

static LunarDateTime? getLunarDateNext(
    {required dynamic fromDate, required int rangeDays}) {
  var sld = _newDate(fromDate, rangeDays);
  return (sld == null)
      ? null
      : FullCalender(date: sld, timeZone: 7).lunarDate;
}