<?xml version="1.0" encoding="utf-8"?><rss version="2.0" 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/tag/javachinesecalendar/feed</link><description>多元化原創文章，內容包羅萬象，有程式語言、網站應用、軟體介紹、硬體介紹、作業系統、旅行遊記、專題採訪、益智問題、文學創作，以及作者們的知識分享和作品分享。</description><language>zh-TW</language><lastBuildDate>Sat, 11 Apr 2026 14:40:57 +0000</lastBuildDate><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/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/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/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/java-chinese-calendar</guid><pubDate>Tue, 15 Oct 2013 20:14:59 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>