中华农历论坛知识讨论区历法知识 → [分享]吏上实历闰月数据包


  共有16279人关注过本帖树形打印

主题:[分享]吏上实历闰月数据包

帅哥哟,离线,有人找我吗?
chwc
  1楼 个性首页 | QQ | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:黑侠 帖子:603 积分:5315 威望:0 精华:4 注册:2008/4/21 19:06:00
[分享]吏上实历闰月数据包  发帖心情 Post By:2008/12/10 16:45:00

var starY=-103;  //记录从前104到公元2050年的实历闰月
var leapM='0060030c0090050010a0070030b008005001090070040c0080050020a0060030c0090040010a0060030c0090050010a0070030b0080050010a008005001090050020a0060030c0080040010a0060030c0090050010a0070030b0080050010a0070030b008005001090070040c0080050020a0060030c0080040010a0060030c0090050010a0070030b008005001090070040c0080050020a0060030c0080040010a0060030c0090050010b0060030c0090050010a0070030b008005001090070040c0080050020a0060030c0080040010a0070030b0080050010a0070040c0080050020a0060030c0080040010a0070030c0090050010a0070030b0080050020a0060030c0080040010a0060030c0090050050020a0060030c0090050010b0070030c0090050010a0070040c0080040020a0060030c0080050020a0060030c0090050010a0070030b0080040020a0060040c0090050020b0070030c00a0050010a0070030b0090050020a0070030c0080040020a0060030c0090050010a0070030c0090050030b007005001090070040c009004001090060020c0070050c0090060030b0080040020a0060030b0080040010a0060030b0080050010a0050040c0080050010a0060030c0080050010b0070030c007005001090070030b0070040020a0060030c0080040020a0070030b0090050010a0060040c0080050020a0060040c0080050010b0070030c007005001090070030c0080050020a0070030c0090050020a0070030c0090050020a0060040c0090050020a0060040c0090050010b0070030c0080050030b007004001090060020c008004002090060020a008004001090050030b0080040020a0060040b0080040c00a0060020b007005001090060030b0070050020a0060020c008004002090070030c008005002090070040c0080040020a0060040b0090050010a0060030b0080050020a0060040c0080050010b00700300108005001090070030c0080050020a007003001090050030a0070030b0090050020a0060040c0090050030b0070040c0090050010c0070040c0080060020b00700400a090060020b007003002090060020a005004001090050030b007004001090050040c0080040c00a0060020c007005001090060030b0070050020a0060020c008004002090060030b008004002090060030b0080040020a0060040b0080040010b0060030b0070050010a00600400207005003080060040030700500307006004003070050030800600400307005004090060040030700500409006005002070050030a0060050030700500400206004002060050030020600400307005004090060040030700500408007005003080050040a00600500307005004002060050030800500400206005002070050040020600500307006004002070050030800600400307005004080060040a006005003080050040020700500409006004002060050030b00600500207005003'
function leapMon(y){
  var v=leapM.charAt(y-starY);
  if(v=='a')
    v=10;
  if(v=='b')
    v=11;
  if(v=='c')
    v=12;
  if(v=='')
    v=0;
  return parseInt(v);
 } ////数据来前104年到1900年自历吏博物馆和《中国古代万年历》,1900年到2050年来自《泉州洪氏百年经》。
其中分裂时用的是魏、晋、宋、齐、梁、陈、[隋]未统一全国的590年以前也是用陈。后梁、后唐、后晋、后汉、后周、北宋、南宋、元朝未统全国的1280年以前也是用南宋。
另:公元9年到23年的闰月数是建丑为正[1月](注:如闰4月、那转寅正就是3月;下同);公元237年魏青龙5年(景初1年)到景初3年也是闰月数建丑为正;公元689年到700年用的闰月数建子为正。


var starY=-2700;  //记录从-2700前850(-849)到公元2302年开始--------------------------                                                                                                                                                                                                                  
var leapM='0c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c000c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c007004007090050020b007004002090060030b00800400b090060020a008005007090060030b007004007090050020b007004002090060030b00800400b090060020a008005007090070030c0080050010a0070030c0080050020a0070030c0080050040a0070030c0080050020a0070030c0080050010a0070030c0080050020a0070030c0080050040a0070030c0080050020a0070030c0080050010a0070030c0080050020a0070030c0080050010a0070030c0080050010a0070030c0080050020a0070030c0080050020a0070030c0090050020a0070030c0090050020a0060030c0060030c00900600c0c0060c00c00c00c0c000600c0c0006090303030006000c00c060c0006c00000c0c0c0060003030006c00009009c0090c00c009000300030906030030c0c00060c00090c0060600c0030060c00c003006009060030c0060060c0090900c00090c0090c00c006030006060003030c0c00030c0060030c0090060030c0090300c0080050020a0060030c0080050020b0070030c0090050010a0070030b0090060020a0070040c0080050020a0060030c0080050020b0070030c0090050010a0070030b0090060020a0070040c0080050020a0060030c0080050020b0070030c0090050000c00c0c00c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c00c00c00c0c00c00c0c0060030c0090050010a0070030b008005001090070040c0080050020a0060030c0090040010a0060030c0090050010a0070030b0080050010a008005001090050020a0060030c0080040010a0060030c0090050010a0070030b0080050010a0070030b008005001090070040c0080050020a0060030c0080040010a0060030c0090050010a0070030b008005001090070040c0080050020a0060030c0080040010a0060030c0090050010b0060030c0090050010a0070030b008005001090070040c0080050020a0060030c0080040010a0070030b0080050010a0070040c0080050020a0060030c0080040010a0070030c0090050010a0070030b0080050020a0060030c0080040010a0060030c0090050050020a0060030c0090050010b0070030c0090050010a0070040c0080040020a0060030c0080050020a0060030c0090050010a0070030b0080040020a0060040c0090050020b0070030c00a0050010a0070030b0090050020a0070030c0080040020a0060030c0090050010a0070030c0090050030b007005001090070040c009004001090060020c0070050c0090060030b0080040020a0060030b0080040010a0060030b0080050010a0050040c0080050010a0060030c0080050010b0070030c007005001090070030b0070040020a0060030c0080040020a0070030b0090050010a0060040c0080050020a0060040c0080050010b0070030c007005001090070030c0080050020a0070030c0090050020a0070030c0090050020a0060040c0090050020a0060040c0090050010b0070030c0080050030b007004001090060020c008004002090060020a008004001090050030b0080040020a0060040b0080040c00a0060020b007005001090060030b0070050020a0060020c008004002090070030c008005002090070040c0080040020a0060040b0090050010a0060030b0080050020a0060040c0080050010b00700300108005001090070030c0080050020a007003001090050030a0070030b0090050020a0060040c0090050030b0070040c0090050010c0070040c0080060020b00700400a090060020b007003002090060020a005004001090050030b007004001090050040c0080040c00a0060020c007005001090060030b0070050020a0060020c008004002090060030b008004002090060030b0080040020a0060040b0080040010b0060030b0070050010a00600400207005003080060040030700500307006004003070050030800600400307005004090060040030700500409006005002070050030a0060050030700500400206004002060050030020600400307005004090060040030700500408007005003080050040a00600500307005004002060050030800500400206005002070050040020600500307006004002070050030800600400307005004080060040a006005003080050040020700500409006004002060050030b00600500207005003080060040030700500408006004003070050040800600400207005004090060040030700500409006005002070050040b006005003070060040a006005003070060040020600500307006004090060040030700500409007005003080050040b006005003070060050010700500308006004002060050030700600400200000000000';//-2700-2230(2)//
//
function leapMon(y){
  var v=leapM.charAt(y-starY);
  if(v=='a')
    v=10;
  if(v=='b')
    v=11;
  if(v=='c')
    v=12;
  if(v=='')
    v=0;
  return parseInt(v);
 } ////数据来前104年到1900年自历吏博物馆和《中国古代万年历》,1900年到2050年来自《泉州洪氏百年经》。
其中分裂时用的是魏、晋、宋、齐、梁、陈、[隋]未统一全国的590年以前也是用陈。后梁、后唐、后晋、后汉、后周、北宋、南宋、元朝未统全国的1280年以前也是用南宋。
另:前104年以前的乱,是一家一见、其中秦历闰月数用的是建亥正,闰12月转寅正就是9月;公元9年到23年的闰月数是建丑为正[1月](注:如闰4月、那转寅正就是3月;下同);公元237年魏青龙5年(景初1年)到景初3年也是闰月数建丑为正;公元689年到700年用的闰月数建子为正。

 下载信息  [文件大小:   下载次数: ]
图片点击可在新窗口打开查看点击浏览该文件:


支持(0中立(0反对(0单帖管理 | 引用 | 回复 回到顶部
帅哥哟,离线,有人找我吗?
kitor
  2楼 个性首页 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:新手上路 帖子:6 积分:616 威望:0 精华:0 注册:2008/11/10 5:26:00
  发帖心情 Post By:2008/12/14 19:56:00

谢谢分享!!


支持(0中立(0反对(0单帖管理 | 引用 | 回复 回到顶部

返回版面帖子列表

[分享]吏上实历闰月数据包








签名