getSolarDateNext static method

DateTime? getSolarDateNext({
  1. required dynamic fromDate,
  2. required int rangeDays,
})

Get Solar 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 DateTime? getSolarDateNext(
    {required dynamic fromDate, required int rangeDays}) {
  return _newDate(fromDate, rangeDays);
}