convertLunarDateToJulianDay static method
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;
}