secret 0.1.1

Flutter Android iOS web

Support constellation, Julian day, stem branch, zodiac, solar terms, festivals, Peng Zu Baiji, daily bogey, auspiciousness and trend, auspiciousness and auspiciousness and so on.

secret #

secret是一款无第三方依赖的公历(阳历)和农历(阴历、老黄历)工具,支持星座、儒略日、干支、生肖、节气、节日、彭祖百忌、每日宜忌、吉神宜趋、凶煞宜忌、吉神(喜神/福神/财神/阳贵神/阴贵神)方位、胎神方位、冲煞、纳音、星宿、八字、五行、十神、建除十二值星、青龙名堂等十二神、黄道黑道日及吉凶等。

示例 #

  pr(String name, dynamic obj) {
    print('$name------$obj');
  }
  Lunar d = Lunar(DateTime.now());
  pr('公历', '${d.getSolar()}');
    pr('农历',
        '${d.getYearInChinese()}-${d.getMonthInChinese()}-${d.getDayInChinese()}');
    pr('吉神宜趋', d.getDayJiShen());
    pr('凶煞宜忌', d.getDayXiongSha());
    pr('宜', d.getDayYi());
    pr('忌', d.getDayJi());
    pr('时宜', d.getTimeYi());
    pr('时忌', d.getTimeJi());
    pr('节日', d.getFestivals());
    pr('节', d.getJie());
    pr('气', d.getQi());
    pr('非正式节日', d.getOtherFestivals());
    pr('干支纪年', d.getYearInGanZhi());
    pr('干支纪月', d.getMonthInGanZhi());
    pr('干支纪日', d.getDayInGanZhi());
    pr('干支纪月', d.getMonthInGanZhiExact());
    pr('二十八', d.getXiu());
    pr('二十八', d.getAnimal());
    pr('二十八', d.getXiuLuck());
    pr('二十八', d.getXiuSong());
    pr('生肖年', d.getYearShengXiao());
    pr('生肖月', d.getMonthShengXiao());
    pr('生肖日', d.getDayShengXiao());
    pr('生肖年', d.getYearShengXiaoByLiChun());
    pr('生肖年', d.getYearShengXiaoExact());
    pr('七政', d.getZheng());
    pr('四宫', d.getGong());
    pr('四神兽', d.getShou());
    pr('彭祖百忌-天干', d.getPengZuGan());
    pr('彭祖百忌-地支', d.getPengZuZhi());
    pr('喜神方位', '--${d.getPositionXi()}=${d.getPositionXiDesc()}');
    pr('阳贵神方位', '${d.getPositionYangGui()}=${d.getPositionYangGuiDesc()}');
    pr('阴贵神方位', '${d.getPositionYinGui()}=${d.getPositionYinGuiDesc()}');
    pr('福神方位', '--${d.getPositionFu()}=${d.getPositionFuDesc()}');
    pr('财神方位', '--${d.getPositionCai()}=${d.getPositionCaiDesc()}');
    pr('今日胎神', d.getDayPositionTai());
    pr('本月胎神', d.getMonthPositionTai());
    pr('冲煞', d.getDayChong());
    pr('冲煞', d.getDayChongGan());
    pr('冲煞', d.getDayChongGanTie());
    pr('冲煞', d.getDayChongShengXiao());
    pr('日冲', d.getDayChongDesc());
    pr('日煞', d.getDaySha());
    pr('时干支', d.getTimeInGanZhi());
    pr('时冲', d.getTimeChongDesc());
    pr('时煞', d.getTimeSha());
    pr('纳音', d.getYearNaYin());
    pr('纳音', d.getMonthNaYin());
    pr('纳音', d.getDayNaYin());
    pr('纳音', d.getTimeNaYin());
    pr('八字', d.getBaZi());
    pr('八字', d.getBaZiWuXing());
    pr('八字', d.getBaZiNaYin());
    pr('八字', d.getBaZiShiShenGan());
    pr('八字', d.getBaZiShiShenZhi());
    pr('十二值星', d.getZhiXing());
    pr('十二天神', d.getDayTianShen());
    pr('十二天神', d.getDayTianShenType());
    pr('十二天神', d.getDayTianShenLuck());
    pr('十二天神', d.getTimeTianShen());
    pr('十二天神', d.getTimeTianShenType());
    pr('十二天神', d.getTimeTianShenLuck());
    pr('吉神宜趋', d.getDayJiShen());
    pr('凶煞宜忌', d.getDayXiongSha());
    pr('星期', d.getWeek());
    pr('星期', d.getWeekInChinese());
    pr('时辰', d.getTimeGan());
    pr('时辰', d.getTimeZhi());
    pr('时辰', d.getTimeInGanZhi());
    pr('时辰', d.getTimeShengXiao());

文档 #

请移步至 http://6tail.cn/calendar/api.html

1
likes
85
pub points
27%
popularity

Publisher

6b.ai

Support constellation, Julian day, stem branch, zodiac, solar terms, festivals, Peng Zu Baiji, daily bogey, auspiciousness and trend, auspiciousness and auspiciousness and so on.

Homepage

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on secret