StemBranch.dayFromLunar constructor

StemBranch.dayFromLunar(
  1. 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));
}