crape_myrtle/astro/astro library

Functions

byLunar(String lunarDateStr, int timeIndex, GenderName gender, [bool isLeapMonth = false, bool fixLeap = true]) FunctionalAstrolabe
通过农历获取星盘信息
bySolar(String solarDate, int timeIndex, GenderName gender, [bool fixLeap = true]) FunctionalAstrolabe
通过阳历获取星盘信息
config(Config config) → void
全局配置四化和亮度
getConfig() Config
getMajorStarByLunarDate(String lunarDateStr, int timeIndex, [bool isLeapMonth = false, bool fixLeap = true]) String
通过农历获取命宫主星
getMajorStarBySolarDate(String solarDateStr, int timeIndex, [bool fixLeap = true]) String
通过阳历获取命宫主星
getSignByLunarDate(String lunarDateStr, bool? isLeapMonth) String
通过农历获取星座
getSignBySolarDate(String solarDateStr) String
通过阳历获取星座
getZodiacBySolarDate(String solarDateStr) String
通过公历获取十二生肖
loadPlugin(Plugin plugin) → void
加载单个插件
loadPlugins(List<Plugin> plugins) → void
批量加载插件
rearrangeAstrolabe<T extends FunctionalAstrolabe>(ZhongZhouHeavenEarth from, T astrolabe, Option option) → T
withOptions(Option option) FunctionalAstrolabe
获取排盘信息。