|
很多人想要日历,包含农历, 其中增加一些诸如油价,油价调整日, 天黑自动根据经纬度打开路灯,
或者说农村 一四七, 二五八 赶集的信息, 某天农历宜忌日,
我们可以保存几个数组, 或json格式的数据, 按日期去调用.
{
"code": 200,
"msg": "农历Json,计算天干地支,集成油价(包含油价调整时间),法定节假日,日落时间,路灯开启时间,以及自定义阳历农历纪念日",
"data": {
"solar": {
"year": 2024,
"month": 8,
"day": 30,
"week": 5,
"weekInChinese": "五",
"leapYear": true,
"constellation": "处女",
"salaryRate": 1,
"festivals": "",
"otherFestivals": "",
"sunriseTime": "05:37",
"sunsetTime": "18:22",
"openLightsTime": "18:37",
"closeLightsTime": "05:22",
"holiday": {
"day": "",
"isWork": "",
"name": "",
"target": ""
},
"customAnniversaryDay": "",
"oilChangeDate": "0905",
"oilPrice": "7.71"
},
"lunar": {
"nLunar": "二〇二四年七月廿七",
"nFullString": "二〇二四年七月廿七 甲辰(龙)年 壬申(猴)月 丙寅(虎)日 子(鼠)时 纳音[覆灯火 剑锋金 炉中火 霹雳火] 星期五 北方玄武 星宿[牛金牛](凶) 彭祖百忌[丙不修灶必见灾殃 寅不祭祀神鬼不尝] 喜神方位[坤](西南) 阳贵神方位[兑](正西) 阴贵神方位[乾](西北) 福神方位[乾](西北) 财神方位[坤](西南) 冲[(庚申)猴] 煞[北]",
"nYear": 2024,
"dnYear": "二〇二四",
"nMonth": 7,
"dnMonth": "七",
"nDay": 27,
"dnDay": "廿七",
"nYueXiang": "蛾眉残",
"nFestivals": "",
"nOtherFestivals": "",
"nYearGanZhi": "甲辰",
"nMonthGanZhi": "壬申",
"nDayGanZhi": "丙寅",
"nisPoQun": "",
"nHongSha": "",
"nDaHongSha": "",
"nChongSang": "",
"nLiuChong": "",
"nTimeGanZhi": "戊子",
"nDayNaYin": "炉中火",
"nDayTianShen": "天刑",
"nDayTianShenType": "黑道",
"nDayTianShenLuck": "凶",
"nYanggongJiri": "",
"nMonthRenri": "",
"nZhiXing": "破",
"nDayLu": "巳命互禄 甲命进禄",
"nYearShengXiaoExact": "龙",
"nMonthShengXiaoExact": "猴",
"nDayShengXiao": "虎",
"nJieQi": "",
"nShuJiu": null,
"nSanFu": null,
"nLiuYao": "先负",
"nWuHou": "天地始肃",
"nXiu": "牛",
"nAnimal": "牛",
"nXiuLuck": "凶",
"nXiuSong": "牛星造作主灾危,九横三灾不可推,家宅不安人口退,田蚕不利主人衰,嫁娶婚姻皆自损,金银财谷渐无之,若是开门并放水,牛猪羊马亦伤悲。",
"nZheng": "金",
"nGong": "北",
"nShou": "玄武",
"nPengZuGan": "丙不修灶必见灾殃",
"nPengZuZhi": "寅不祭祀神鬼不尝",
"nDayYi": "破屋,坏垣,治病,馀事勿取",
"nDayJi": "祈福,纳采,订盟,嫁娶,入宅,安葬",
"nCustomAnniversaryDay": "",
"nDayJiShen": "月空,天恩,驿马,天后,圣心,解神,五合,鸣吠对",
"nDayXiongSha": "月破,大耗,月刑,天刑",
"nTimeYi:": "赴任,出行,求财,见贵,祭祀,酬神",
"nTimeJi:": "祈福,求嗣",
"nDayJiShenPosition": {
"福神方位": "乾 西北",
"喜神方位": "坤 西南",
"财神方位": "坤 西南",
"阴贵神方位": "乾 西北",
"阳贵神方位": "兑 正西"
},
"nTimeJiShenPosition": {
"福神方位": "艮 东北",
"喜神方位": "巽 东南",
"财神方位": "坎 正北",
"阴贵神方位": "坤 西南",
"阳贵神方位": "艮 东北"
}
}
},
"nYear": {
"nZaoMaTou": "一龙治水,十牛耕田,三马驮谷,八屠共猪,三人分饼,八日得金,草子九分,花收十二分,甲田一分,六姑看蚕,六鸡抢米,十一人三丙,十一人四锄,九鼠偷粮",
"jieQiTable": {
"DA_XUE": "2023-12-07 17:32:55",
"冬至": "2023-12-22 11:27:20",
"小寒": "2024-01-06 04:49:20",
"大寒": "2024-01-20 22:07:20",
"立春": "2024-02-04 16:27:05",
"雨水": "2024-02-19 12:13:10",
"惊蛰": "2024-03-05 10:22:43",
"春分": "2024-03-20 11:06:23",
"清明": "2024-04-04 15:02:15",
"谷雨": "2024-04-19 21:59:44",
"立夏": "2024-05-05 08:10:03",
"小满": "2024-05-20 20:59:29",
"芒种": "2024-06-05 12:09:52",
"夏至": "2024-06-21 04:50:58",
"小暑": "2024-07-06 22:20:01",
"大暑": "2024-07-22 15:44:24",
"立秋": "2024-08-07 08:09:13",
"处暑": "2024-08-22 22:55:01",
"白露": "2024-09-07 11:11:18",
"秋分": "2024-09-22 20:43:39",
"寒露": "2024-10-08 02:59:55",
"霜降": "2024-10-23 06:14:45",
"立冬": "2024-11-07 06:20:02",
"小雪": "2024-11-22 03:56:29",
"大雪": "2024-12-06 23:17:00",
"DONG_ZHI": "2024-12-21 17:20:32",
"XIAO_HAN": "2025-01-05 10:32:44",
"DA_HAN": "2025-01-20 04:00:05",
"LI_CHUN": "2025-02-03 22:10:26",
"YU_SHUI": "2025-02-18 18:06:31",
"JING_ZHE": "2025-03-05 16:07:15"
}
}
}
|
|