<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"><channel><title>MagicLen</title><link>https://magiclen.org/cn/tag/javachinesecalendar/</link><description>多元化原创文章，内容包罗万象，有编程语言、网站应用、软件介绍、硬件介绍、操作系统、旅行游记、专题采访、益智问题、文学创作，以及作者们的知识分享和作品分享。</description><language>zh-CN</language><lastBuildDate>Sun, 22 Nov 2026 19:08:25 +0800</lastBuildDate><atom:link href="https://magiclen.org/cn/tag/javachinesecalendar/feed/" rel="self" type="application/rss+xml"/><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>8</sy:updateFrequency><sy:updateBase>1970-01-01T00:00+00:00</sy:updateBase><item><title>基于 JavaFX 的阴阳历转换程序</title><link>https://magiclen.org/cn/chinese-calendar-converter/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2015/12/shot-01-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2015/12/shot-01-220x162.png 1x, https://magiclen.org/wp-content/uploads/2015/12/shot-01-440x324.png 2x, https://magiclen.org/wp-content/uploads/2015/12/shot-01-660x486.png 3x" alt>
西历又称为公历、阳历，是以地球绕行太阳公转为基准制定的历法；农历又称为阴历，是以月球绕行地球公转为基准制定的历法。农历的用途最为直接的就是判别月亮的阴晴圆缺，例如农历十五、十六号，是月亮最圆的时候。在民俗信仰方面，农历日期与时间也会影响到当时的风水磁场。农历和西历的转换并没有特定的规律，因此使用专门的软件程序来进行转换会比较快。]]></description><category>作品分享</category><category>软件介绍</category><category>Java</category><category>Chinese Calendar Converter</category><category>Java</category><category>JavaChineseCalendar</category><category>JavaFX</category><category>农历</category><guid>https://magiclen.org/cn/chinese-calendar-converter</guid><pubDate>Thu, 17 Dec 2015 12:06:03 +0800</pubDate><dc:creator>Magic Len</dc:creator></item><item><title>JavaChineseCalendar─能让 Java 支持农历历法的 Java 函数库</title><link>https://magiclen.org/cn/java-chinese-calendar/</link><description><![CDATA[<img src="https://magiclen.org/wp-content/uploads/2023/09/shot-02-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2023/09/shot-02-220x162.png 1x, https://magiclen.org/wp-content/uploads/2023/09/shot-02-440x324.png 2x, https://magiclen.org/wp-content/uploads/2023/09/shot-02-660x486.png 3x" alt>
虽然 Java 8 之后的日期函数库能够支持多种历法，但是中国的农历还是尚未被纳入支持范围。如果要在 Java 使用农历历法，可以使用「JavaChineseCalendar」这个 Java 函数库。JavaChineseCalendar 支持农历和西历日期的转换，时间可从西历的公元 1901 年 2 月 19 日支持到 2100 年 12 月 31 日。另外，它还能计算生辰八字的重量。]]></description><category>作品分享</category><category>软件介绍</category><category>Java</category><category>Java</category><category>JavaChineseCalendar</category><category>生辰八字</category><category>农历</category><guid>https://magiclen.org/cn/java-chinese-calendar</guid><pubDate>Tue, 15 Oct 2013 20:14:59 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>