convertLunarDateToJulianDay static method

int convertLunarDateToJulianDay(
  1. LunarDateTime lunarDateTime, [
  2. int timeZone = 7
])

Convert lunar date to the julian day.

Implementation

static int convertLunarDateToJulianDay(
  LunarDateTime lunarDateTime, [
  int timeZone = 7,
]) {
  return FullCalender(
          date: convertLunarDateToSolarDate(lunarDateTime, timeZone) ??
              DateTime.now(),
          timeZone: timeZone)
      .julianDay;
}