大家好,

我最近完成了一款支持中国农历的命令行提醒小程序 ccalendar:

https://github.com/liweitianux/ccalendar

该程序基于 FreeBSD 的 calendar(1) 
程序重写而来,主要增加了中国农历的支持。在改写的过程中,也改用了更优的天文算法来计算太阳🌞和月亮🌙的方位,这些是确定农历月份和二十四节气所必须的。此外,还着重改进了日历文件和日期的解析,增强了程序的可扩展性,方便后面再支持其他日历。

该程序所用的新算法主要参考了这本好书:

Edward M. Reingold and Nachum Dershowitz, Calendrical Calculations: The 
Ultimate Edition (4th Edition). Cambridge University Press, 2018. ISBN: 
9781107057623
http://www.cs.tau.ac.il/~nachum/calendar-book/fourth-edition/

此外,该程序已合并入 DragonFly BSD:
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d19ef5a274debcb71f2e8cd8dce8b954dc73944b

这里可以查看程序的 man 手册:
http://mdoc.su/d/calendar.1

欢迎大家关注、使用、指正。谢谢。


祝好
Weitian

-- 
-- You received this message because you are subscribed to the Google Groups 
Shanghai Linux User Group group. To post to this group, send email to 
[email protected]. To unsubscribe from this group, send email to 
[email protected]. For more options, visit this group at 
https://groups.google.com/d/forum/shlug?hl=zh-CN
--- 
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到[email protected]。
要在网络上查看此讨论,请访问 
https://groups.google.com/d/msgid/shlug/HK0PR01MB2722F7F529F5C3DE3F9BBD43C2250%40HK0PR01MB2722.apcprd01.prod.exchangelabs.com。

Reply via email to