{"id":18737464,"url":"https://github.com/6tail/lunar-csharp","last_synced_at":"2025-10-24T13:44:21.664Z","repository":{"id":51226245,"uuid":"256256597","full_name":"6tail/lunar-csharp","owner":"6tail","description":"日历、公历(阳历)、农历(阴历、老黄历)、佛历、道历，支持节假日、星座、儒略日、干支、生肖、节气、节日、彭祖百忌、每日宜忌、吉神宜趋凶煞宜忌、吉神(喜神/福神/财神/阳贵神/阴贵神)方位、胎神方位、冲煞、纳音、星宿、八字、五行、十神、建除十二值星、青龙名堂等十二神、黄道黑道日及吉凶等。lunar is a calendar library for Solar and Chinese Lunar.","archived":false,"fork":false,"pushed_at":"2025-03-06T13:59:42.000Z","size":588,"stargazers_count":263,"open_issues_count":2,"forks_count":52,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-03T16:11:30.113Z","etag":null,"topics":["calendar","csharp","lunar"],"latest_commit_sha":null,"homepage":"https://6tail.cn/calendar/api.html","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/6tail.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-16T15:33:28.000Z","updated_at":"2025-04-01T16:35:28.000Z","dependencies_parsed_at":"2023-01-25T21:31:28.661Z","dependency_job_id":"937e262f-dbfa-49be-94c0-ad6e5aac7817","html_url":"https://github.com/6tail/lunar-csharp","commit_stats":null,"previous_names":[],"tags_count":57,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6tail%2Flunar-csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6tail%2Flunar-csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6tail%2Flunar-csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/6tail%2Flunar-csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/6tail","download_url":"https://codeload.github.com/6tail/lunar-csharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248590560,"owners_count":21129847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["calendar","csharp","lunar"],"created_at":"2024-11-07T15:25:23.272Z","updated_at":"2025-10-24T13:44:21.592Z","avatar_url":"https://github.com/6tail.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# lunar [![License](https://img.shields.io/badge/license-MIT-4EB1BA.svg?style=flat-square)](https://github.com/6tail/lunar-csharp/blob/master/LICENSE)\n\nlunar是一款无第三方依赖的公历(阳历)、农历(阴历、老黄历)、佛历和道历工具，支持星座、儒略日、干支、生肖、节气、节日、彭祖百忌、每日宜忌、吉神宜趋凶煞宜忌、吉神(喜神/福神/财神/阳贵神/阴贵神)方位、胎神方位、冲煞、纳音、星宿、八字、五行、十神、建除十二值星、青龙名堂等十二神、黄道日及吉凶等。\n\n\u003e 自v1.4.0开始拥抱netstandard2.0、C#7.1\n\n[English](https://github.com/6tail/lunar-csharp/blob/master/README_EN.md)\n\n## 示例\n\n    using System;\n    using Lunar;\n\n    namespace demo\n    {\n        class Program\n        {\n            static void Main(string[] args)\n            {\n                var solar = new Solar(1986, 5, 29);\n                 \n                var lunar = solar.Lunar;\n                 \n                Console.WriteLine(lunar.FullString);\n                Console.WriteLine(solar.FullString);\n            }\n        }\n    }\n\n\n输出结果：\n\n    一九八六年四月廿一 丙寅(虎)年 癸巳(蛇)月 癸酉(鸡)日 子(鼠)时 纳音[炉中火 长流水 剑锋金 桑柘木] 星期四 北方玄武 星宿[斗木獬](吉) 彭祖百忌[癸不词讼理弱敌强 酉不会客醉坐颠狂] 喜神方位[巽](东南) 阳贵神方位[巽](东南) 阴贵神方位[震](正东) 福神方位[兑](正西) 财神方位[离](正南) 冲[(丁卯)兔] 煞[东]\n    1986-05-29 00:00:00 星期四 双子座\n\n## 文档\n\n请移步至 [https://6tail.cn/calendar/api.html](https://6tail.cn/calendar/api.html \"https://6tail.cn/calendar/api.html\")\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=6tail/lunar-csharp\u0026type=Date)](https://star-history.com/#6tail/lunar-csharp\u0026Date)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F6tail%2Flunar-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F6tail%2Flunar-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F6tail%2Flunar-csharp/lists"}