libcdos-fw
CFLunar类 参考

Public 成员函数

 CFLunar (CFUInt16 iYear, CFUInt16 iMonth, CFUInt16 iDay)
 
void getDate (CFUInt16 &iYear, CFUInt16 &iMonth, CFUInt16 &iDay)
 
CFUInt16 getDay ()
 
CFUInt16 getMonth ()
 
CFUInt16 getYear ()
 
int setDate (CFUInt16 iYear, CFUInt16 iMonth, CFUInt16 iDay)
 

静态 Public 成员函数

static long calcDateDiff (CFUInt16 iEndYear, CFUInt16 iEndMonth, CFUInt16 iEndDay, CFUInt16 iStartYear=LUNAR_START_YEAR, CFUInt16 iStartMonth=1, CFUInt16 iStartDay=1)
 
static void formatLunarDay (CFUInt16 iLunarDay, char *pBuffer)
 
static void formatLunarMonth (CFUInt16 iLunarMonth, char *pBuffer)
 
static void formatLunarYear (CFUInt16 iLunarYear, char *pBuffer)
 
static void formatWeekDay (CFUInt16 iYear, CFUInt16 iMonth, CFUInt16 iDay, char *pBuffer)
 
static bool getFormatLeapMonth (CFUInt16 iLunarYear, char *pBuffer)
 
static void getFormatLunarDate (CFUInt16 iYear, CFUInt16 iMonth, CFUInt16 iDay, char *pBuffer)
 
static CFUInt16 getLeapMonth (CFUInt16 iLunarYear)
 
static void getLunarDate (CFUInt16 iYear, CFUInt16 iMonth, CFUInt16 iDay, CFUInt16 &iLunarYear, CFUInt16 &iLunarMonth, CFUInt16 &iLunarDay)
 
static bool getSolarTerm (CFUInt16 iYear, CFUInt16 iMonth, CFUInt16 iDay, char *pBuffer)
 
static int isLeapYear (CFUInt16 iYear)
 
static long lunarMonthDays (CFUInt16 iLunarYear, CFUInt16 iLunarMonth)
 
static CFUInt16 lunarYearDays (CFUInt16 iLunarYear)
 
static CFUInt16 monthDays (CFUInt16 iYear, CFUInt16 iMonth)
 
static CFUInt16 weekDay (CFUInt16 iYear, CFUInt16 iMonth, CFUInt16 iDay)
 

该类的文档由以下文件生成: