<?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/chinese-lunisolar-calendar/feed</link><description>多元化原創文章，內容包羅萬象，有程式語言、網站應用、軟體介紹、硬體介紹、作業系統、旅行遊記、專題採訪、益智問題、文學創作，以及作者們的知識分享和作品分享。</description><language>zh-TW</language><lastBuildDate>Tue, 7 Apr 2026 05:41:17 +0000</lastBuildDate><sy:updatePeriod>hourly</sy:updatePeriod><sy:updateFrequency>8</sy:updateFrequency><sy:updateBase>1970-01-01T00:00+00:00</sy:updateBase><item><title>如何在Rust程式語言中實現西曆和農曆的轉換？如何計算八字重量？</title><link>https://magiclen.org/chinese-lunisolar-calendar</link><description><![CDATA[    <img src="https://magiclen.org/wp-content/uploads/2018/04/rust-220x162.png" srcset="https://magiclen.org/wp-content/uploads/2018/04/rust-220x162.png 1x, https://magiclen.org/wp-content/uploads/2018/04/rust-440x324.png 2x, https://magiclen.org/wp-content/uploads/2018/04/rust-660x486.png 3x" alt="">
中國的農曆同時考慮到月球繞行地球與地球繞行太陽的情形，不像西曆那樣有著明顯的規律，雖然農曆本身的干支年是60年循環一次，但是每個年份在每次循環中，所含的各個月份之天數有可能是不一樣的，甚至連該年有沒有閏月，有閏月的話是閏幾月也都不能固定，單講哪個干支年也無法確定究竟是第幾次循環的，因此通常還會搭配其它曆法或是紀年法來使用，現在的話當然就是搭配西曆來用啦！]]></description><category>Rust</category><category>生辰八字</category><category>農曆</category><category>Rust</category><category>chinese-lunisolar-calendar</category><guid>https://magiclen.org/chinese-lunisolar-calendar</guid><pubDate>Mon, 28 Jan 2019 20:00:58 +0800</pubDate><dc:creator>Magic Len</dc:creator></item></channel></rss>