<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: To get the last day of a month.</title>
	<atom:link href="http://hangunsworld.com/blog/325/feed" rel="self" type="application/rss+xml" />
	<link>http://hangunsworld.com/blog/325</link>
	<description>about ActionScript, Flash, Web and more...</description>
	<lastBuildDate>Wed, 16 May 2012 20:50:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Hangun's World</title>
		<link>http://hangunsworld.com/blog/325/comment-page-1#comment-33412</link>
		<dc:creator>Hangun's World</dc:creator>
		<pubDate>Mon, 26 Oct 2009 02:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://hangunsworld.com/blog/?p=325#comment-33412</guid>
		<description>1500년 이전에는 윤달이 없는 건가요? 윤달로 인식하여 2월 29일로 날자를 지정하면 3월 1일로 넘어가 버려서 결과값이 1로 나오는 것 같네요. getLastDayOld() 함수에서 1500년 이전인 경우의 윤달 계산 부분에 수정이 필요해 보이는 군요.
좋은 지적 감사합니다. 미처 생각지 못했던 것을 하나 배웠네요.</description>
		<content:encoded><![CDATA[<p>1500년 이전에는 윤달이 없는 건가요? 윤달로 인식하여 2월 29일로 날자를 지정하면 3월 1일로 넘어가 버려서 결과값이 1로 나오는 것 같네요. getLastDayOld() 함수에서 1500년 이전인 경우의 윤달 계산 부분에 수정이 필요해 보이는 군요.<br />
좋은 지적 감사합니다. 미처 생각지 못했던 것을 하나 배웠네요.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hangun's World</title>
		<link>http://hangunsworld.com/blog/325/comment-page-1#comment-33411</link>
		<dc:creator>Hangun's World</dc:creator>
		<pubDate>Mon, 26 Oct 2009 02:29:05 +0000</pubDate>
		<guid isPermaLink="false">http://hangunsworld.com/blog/?p=325#comment-33411</guid>
		<description>일 설정에 문제가 있어서 그런것 같네요. 30일로 지정되면서 2월 30일이 3월 2일로 넘어가 버려서, 2월과 3월이 모두 3월의 결과값인 31이 출력되는 문제로 보입니다. 날자를 31일로 지정하면 대부분의 달에서 잘못 게산되는 군요.
day.setMonth(i, 1); 와 같이 날자를 제한시키면 일이 넘어가는 문제로 인한 오류를 피할 수 있습니다.</description>
		<content:encoded><![CDATA[<p>일 설정에 문제가 있어서 그런것 같네요. 30일로 지정되면서 2월 30일이 3월 2일로 넘어가 버려서, 2월과 3월이 모두 3월의 결과값인 31이 출력되는 문제로 보입니다. 날자를 31일로 지정하면 대부분의 달에서 잘못 게산되는 군요.<br />
day.setMonth(i, 1); 와 같이 날자를 제한시키면 일이 넘어가는 문제로 인한 오류를 피할 수 있습니다.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oneLove</title>
		<link>http://hangunsworld.com/blog/325/comment-page-1#comment-33410</link>
		<dc:creator>oneLove</dc:creator>
		<pubDate>Mon, 26 Oct 2009 02:15:43 +0000</pubDate>
		<guid isPermaLink="false">http://hangunsworld.com/blog/?p=325#comment-33410</guid>
		<description>잘 봤습니다. ^.^ 
혹시나 그레고리식 달력 보기 문제가 있나 확인하는데..문제가 있네요 
위 getLastDayOld (1500) 입력식..2월달은 결과가 1이 나옵니다.
그리고 아래 getLastDay(1598, 2, 30) 넣으면 결과가 1월 2월 3월 몽땅 31일까지 나옵니다.</description>
		<content:encoded><![CDATA[<p>잘 봤습니다. ^.^<br />
혹시나 그레고리식 달력 보기 문제가 있나 확인하는데..문제가 있네요<br />
위 getLastDayOld (1500) 입력식..2월달은 결과가 1이 나옵니다.<br />
그리고 아래 getLastDay(1598, 2, 30) 넣으면 결과가 1월 2월 3월 몽땅 31일까지 나옵니다.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hangun's World</title>
		<link>http://hangunsworld.com/blog/325/comment-page-1#comment-19113</link>
		<dc:creator>Hangun's World</dc:creator>
		<pubDate>Thu, 26 Jun 2008 03:47:38 +0000</pubDate>
		<guid isPermaLink="false">http://hangunsworld.com/blog/?p=325#comment-19113</guid>
		<description>setMonth()나 setDate()의 레퍼런스에는 입력 범위가 0-11, 1-31로 제한되어 있다고 나오지만, 범위 밖의 값을 입력하면 자동으로 차이만큼 계산해서 날짜가 변경이 되더군요. 그래서 0일은 이전달의 마지막 날이 나오는 거고요.</description>
		<content:encoded><![CDATA[<p>setMonth()나 setDate()의 레퍼런스에는 입력 범위가 0-11, 1-31로 제한되어 있다고 나오지만, 범위 밖의 값을 입력하면 자동으로 차이만큼 계산해서 날짜가 변경이 되더군요. 그래서 0일은 이전달의 마지막 날이 나오는 거고요.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 검쉰</title>
		<link>http://hangunsworld.com/blog/325/comment-page-1#comment-19110</link>
		<dc:creator>검쉰</dc:creator>
		<pubDate>Thu, 26 Jun 2008 01:14:59 +0000</pubDate>
		<guid isPermaLink="false">http://hangunsworld.com/blog/?p=325#comment-19110</guid>
		<description>와~ 간단하군요 ;)</description>
		<content:encoded><![CDATA[<p>와~ 간단하군요 ;)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

