StemBranch.dayFromLunar constructor
StemBranch.dayFromLunar(
- LunarDateTime date
Creates a StemBranch instance based on the given the instance of LunarDateTime date
.
Implementation
factory StemBranch.dayFromLunar(LunarDateTime date) {
return StemBranch.day(
FullCalenderExtension.convertLunarDateToJulianDay(date));
}