<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dansion&#039;s 日志 &#187; 农历</title>
	<atom:link href="http://www.dansion.com/blog/tag/%e5%86%9c%e5%8e%86/feed" rel="self" type="application/rss+xml" />
	<link>http://www.dansion.com/blog</link>
	<description>学无止境～～～～～～～</description>
	<lastBuildDate>Thu, 29 Sep 2011 09:25:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>google农历转换的一个错误</title>
		<link>http://www.dansion.com/blog/other/googlelunarcalendar.html</link>
		<comments>http://www.dansion.com/blog/other/googlelunarcalendar.html#comments</comments>
		<pubDate>Sat, 19 May 2007 11:39:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[其它]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[农历]]></category>

		<guid isPermaLink="false">http://www.dansion.com/blog/archives/21</guid>
		<description><![CDATA[自己写了一个关于农历的算法,无意中发现google也提供这样功能.&#60;br/&#62;&#60;a&#160;href=http://www.google.com/intl/zh-CN/features.html&#160;&#62;Google&#160;的特殊功能&#60;/a&#62;&#60;br/&#62;试用了一下,&#160;发现存在一个对生肖,年柱算法的错误.&#60;br/&#62;以2007年为例,猪年是以公历2007年2月4日为界,这一天是立春.&#60;br/&#62;24节气,每个节气以黄道15度为了一节.立春为黄道315度.也就每个生肖年的天数是差不多的.以春节为界那天算就不一样了.农历19年闰7个月,就有7年是要多一个月的.&#60;br/&#62;&#60;img&#160;src=http://www.dansion.com/blog/uploads/200705/20_190554_google_error.jpg&#160;/&#62;&#160;&#60;br/&#62;像google以春节为界,明显是错误,这种错误,看来也不是一时半会的事.好像每年的春节晚会也是这么宣传的.&#60;br/&#62;如果真的拿四柱命理等算命的东西去说理,很明显,八字中的头两个字就错了.&#60;br/&#62;&#60;span&#160;style=&#34;color:#c00;&#34;&#62;说得严重点,这可以拿人的命运开玩笑.&#60;br/&#62;说得严肃点,这是对中国文化的不尊重.&#60;br/&#62;&#60;/span&#62;&#60;br/&#62;&#60;br/&#62;&#60;b&#62;注：四柱就是八字，每年，每月，每日，以天干地支给合的形式表示，时间则以地支表示．&#60;br/&#62;例：公历2007-5-20&#160;19:24:00&#160;丁亥年乙巳月甲寅日戌时&#60;br/&#62;&#60;/b&#62;
]]></description>
		<wfw:commentRss>http://www.dansion.com/blog/other/googlelunarcalendar.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>写了一个FLASH农历日期类.</title>
		<link>http://www.dansion.com/blog/works/flashlunarcalendar.html</link>
		<comments>http://www.dansion.com/blog/works/flashlunarcalendar.html#comments</comments>
		<pubDate>Sat, 19 May 2007 10:00:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[作品]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Flash ActionScript]]></category>
		<category><![CDATA[农历]]></category>

		<guid isPermaLink="false">http://www.dansion.com/blog/archives/20</guid>
		<description><![CDATA[对农历算法研究几天,发现算法其实不是难事,关键是有一个农历每年大小月以及闰月的数据.
贴上代码,有兴趣的朋友可以看看.
我这里是只直继承DATE类.(转载请注明出处)

LunarCalendar.as下载
class LunarCalendar extends Date {
 /*
 1900-2100两百年的农历.
 制作:dansion/dansion.com,dansion@163.com
 /////////////////////////
 初例化方法和FLASH的Date类相同.无参数为系统当然日期.
 getCYear() 中国农历年.
 getCMonth() 中国农历月.
 getCDay();中国农历日.
 getNianZhu();年柱
 getYueZhu();月柱
 getRiZhu();白柱
 getShi();时辰
 getJie();二十四节气
 //////////////////////////*/
 private var lunarInfo = new Array(0&#215;4bd8, 0&#215;4ae0, 0xa570, 0&#215;54d5, 0xd260, 0xd950, 0&#215;5554, 0&#215;56af, 0&#215;9ad0, 0&#215;55d2, 0&#215;4ae0, 0xa5b6, 0xa4d0, 0xd250, 0xd255, 0xb54f, 0xd6a0, 0xada2, 0&#215;95b0, 0&#215;4977, 0&#215;497f, 0xa4b0, 0xb4b5, 0&#215;6a50, 0&#215;6d40, 0xab54, 0&#215;2b6f, 0&#215;9570, 0&#215;52f2, [...]]]></description>
		<wfw:commentRss>http://www.dansion.com/blog/works/flashlunarcalendar.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>中国玄学择吉术</title>
		<link>http://www.dansion.com/blog/other/china-metaphysics.html</link>
		<comments>http://www.dansion.com/blog/other/china-metaphysics.html#comments</comments>
		<pubDate>Mon, 14 May 2007 16:01:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[其它]]></category>
		<category><![CDATA[农历]]></category>
		<category><![CDATA[玄学]]></category>

		<guid isPermaLink="false">http://www.dansion.com/blog/archives/16</guid>
		<description><![CDATA[这段时间朋友结婚的很多，而结婚的日子却不是我有空的时候，想想都觉得郁闷，红色ZD接了不少，喜酒却没喝过几场。不过，对此，突然对挑日子，择吉术展生兴趣，经过一段时间的考究。发现择吉的方法太多了，想去学，看来是有点难度的。理出的分类如下：1.天干地支主要是八字（年柱，月柱，日柱，时辰），四柱命理。2.阴阳五行(金，木，水，火，土)3.周易八卦（先天八卦，后天八卦）4.十二建星（建、除、满、平、定、执、破、危、成、收、开、闭）5.二十八星宿角亢氐房心尾萁(东方七宿)-斗午女虚危室壁(北方七宿)-奎娄胃昂毕嘴参(西方七宿)-井鬼柳星张翼轸(南方七宿)6.黄道黑道神煞(青龙，白虎，明堂，天刑，朱雀，金匮，天德，玉堂，天牢，元武，司命，勾陈)7.九宫飞星(一白贪狼星&#160;,二黑巨门星&#160;,三碧禄存星&#160;,四绿文曲星,五黄廉贞星&#160;,六白武曲星&#160;,七赤破军星&#160;,八白左辅星&#160;,九紫右弼星)8.太乙9.六壬10.奇门遁甲11.禽星12.丛辰(一大堆神煞，又分年神煞，月神煞,日神煞，时神煞)13.堪舆14.风角15.占星16.六曜,又称孔明六曜星(先胜、友引、先负、佛灭、大安、赤口)17.孤虚18.九星术(一水白星,&#160;二土黑星,&#160;三木碧星,&#160;四木绿星,&#160;五土黄星,&#160;六金白星,&#160;七金赤星,&#160;八土白星,&#160;九火紫星)&#160;有的还有太阴、太阳、孛星、罗睺、水星、金星、土星、木星、计都九方阵图19.每日冲煞20.胎神。21.彭祖百忌22.紫微斗数（又分为三合派和四化派）紫微星,天机星,太阳星,武曲星,天同星,廉贞星,天府星,太阴星,贪狼星,巨门星,天相星,天梁星,七杀星,破军星,天魁天钺这么多的方法，很多是方法是相互结合，有些又是完全独立，看来当个择日师也不容易啊。如果精通几种方法，或许混个饭应该不是难事！真是有感中国文化的丰富多彩啊!!
]]></description>
		<wfw:commentRss>http://www.dansion.com/blog/other/china-metaphysics.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

