SolarToLunarDay
Description
¾ç·Â ³¯Â¥¸¦ À½·Â ³¯Â¥·Î ¹Ù²Û´Ù.
Syntax
S8 SolarToLunarDay(U32 SolarDate, P_U16 pYear, P_U16 pMonth, P_U16 pDay, S8 IsLeapMonth)
Parameters
SolarDate
½Ã½ºÅÛ ³»ºÎ Çü½ÄÀ¸·Î Ç¥ÇöµÈ ¾ç·Â ³¯Â¥
pYear
À½·Â ¿¬µµ
pMonth
À½·Â ¿ù
pDay
À½·Â ÀÏ
IsLeapMonth
À½·Â ¿ùÀÌ À±´ÞÀ̸é 1 ÀÌ°í ¾Æ´Ï¸é 0
Returns
value
¼³¸í
1
¼º°ø
0
½ÇÆÐ
Comments
See Also
LunarToSolarDay
Example
U32 soldate;
U16 lyear, lmonth, lday;
S8 isleap;
soldate = EncodeDate( 1998, 12, 25 );
SolarToLunarDay( soldate, &lyear, &lmonth, &lday, &isleap );
// lyear = 1998, lmonth = 11, lday = 7