- 1、本文档共32页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
农历推算(Lunar reckoning)
农历推算(Lunar reckoning)
You can go to Baidu, Google search, and the following is a reference:
Ill help you find again, there is no direct realization of the lunar calendar chip, single chip to the Chinese calendar procedures more troublesome, there are ready-made chips best
//C51 wrote the Gregorian calendar, turning the lunar calendar and the week
#define uchar unsigned char
#define uint unsigned int
#include intrins.h
*
The Gregorian calendar corresponds to three bytes of lunar calendar each year,
BIT7-4 said the first byte format leap month, a value of 0 for non leap, BIT3-0 corresponds to the size of lunar 1-4 1
The second byte BIT7-0 corresponds to the size of the 5-12 month of the lunar calendar, and the third byte BIT7 represents the size of the thirteenth month of the lunar calendar
The corresponding month for the month is 1, indicating that the lunar month is large (30 days), which is 0, indicating small (29 days)
The third byte BIT6-5 stands for the lunar calendar month of the Spring Festival, and BIT4-0 means the Gregorian calendar date of the Spring Festival
* /
Code, uchar, year_code[597] = {
0x04,0xAe, 0x53, //1901 0
0x0A, 0x57,0x48, //1902 3
0x55,0x26,0xBd, //1903 6
0x0D, 0x26,0x50, //1904 9
0x0D, 0x95,0x44, //1905 12
0x46,0xAA, 0xB9, //1906 15
0x05,0x6A, 0x4d, //1907 18
0x09,0xAd, 0x42, //1908 21
0x24,0xAe, 0xB6, //1909
0x04,0xAe, 0x4A, //1910
0x6A, 0x4d, 0xBe, //1911
0x0A, 0x4d, 0x52, //1912
0x0D, 0x25,0x46, //1913
0x5d, 0x52,0xBA, //1914
0x0B, 0x54,0x4e, //1915
0x0D, 0x6A, 0x43, //1916
0x29,0x6d, 0x37, //1917
0x09,0x5B, 0x4B, //1918
0x74,0x9B, 0xC1, //1919
0x04,0x97,0x54, //1920
0x0A, 0x4B, 0x48, //1921
0x5B, 0x25,0xBC, //1922
0x06,0xA5,0x50, //1923
0x06,0xd4,0x45, //1924
0x4A, 0xdA, 0xB8, //1925
0x02,0xB6,0x4d, //1926
0x09,0x57,0x42, //1927
0x24,0x97,0xB7, //1928
0x04,0x97,0x4A, //1929
0x66,0x4B, 0x3e, //1930
0x0D, 0x4A, 0x51, //1931
0x0e, 0xA5,0x46, //1932
0x56,0xd4,0xBA, //1933
0x05,0xAd, 0x4e, //1934
0x02,0xB6,0x44, //1935
0x39,0x37,0x38, //1936
您可能关注的文档
- 一个老工程师对土木工程新人的忠告(An old engineer's advice to new people in Civil Engineering).doc
- 一些不同来源的经典日文句子(Some classic Japanese sentences from different sources).doc
- 一些希腊字母、符号、特殊字符的读法和英文发音(A number of Greek letters, symbols, special characters, pronunciations and English pronunciations).doc
- 一位土木工程师的自述(A civil engineer's account of himself).doc
- 一位总经理的辞职信(转)(A letter of resignation from a general manager).doc
- 一位总经理的辞职信(A letter of resignation from a general manager).doc
- 一位操盘手的赠言(A trader's words).doc
- 一人有限责任公司与个人独资企业之比较(The comparison of one person limited liability company and individual proprietorship).doc
- 一年级学生的习惯培养11191(The habit of first year students 11191).doc
- 一方失踪如何离婚——由一则一方下落不明的离婚案件适用缺席(One party is missing how to divorce - a divorce case where one party is missing is in default).doc
- 绿色能源应用策略指南.doc
- 基于参数置信域体积比的非线性回归模型诊断研究:理论、方法与实践.docx
- 2025年人体健康管理师职业技能资格知识考试题库与答案.docx
- 2025届广东省茂名市高三年级下册学期第二次综合测试生物学试卷(含答案).docx
- 10.2 消元——解二元一次方程组 第1课时 教学设计 人教版(2025)数学七年级下册.docx
- 2.2逻辑思维的基本要求练习(含解析)-2025年高中政治统编版选择性必修3逻辑与思维.docx
- 面向未来的电商行业智能化运营策略研究.doc
- 2025年人体健康管理师职业技能资格知识考试题库与答案.pdf
- 快递行业客户服务试题集.doc
- 智能税务申报系统交易协议.doc
文档评论(0)