Location:
Search - Lunar.d
Search list
Description: 可以实现取农历数据,取对应阳历年月的天数,检测对应年份是否闰年。-Lunar data access can be achieved, corresponding to the solar calendar years from the number of days, testing whether it corresponds to the year a leap year.
Platform: |
Size: 13312 |
Author: chengxuyuan |
Hits:
Description: ChnCalendar DateTimePicker 农历月历
如果想要启用XP主题,需要在窗口上放一个XPMan控件。
Ctl3D设置为true时显示平面效果。
可以实现除平面与普通界面外,还可实现桌面主题的外框。-Lunar Calendar ChnCalendar DateTimePicker If you want to enable XP theme, the need to put a window XPMan control. Ctl3D set to true to display graphic effects. Can be achieved in addition to ordinary plane interface, can also realize the desktop theme frame.
Platform: |
Size: 274432 |
Author: jm |
Hits:
Description: 阴历-农历-转换类
/**
* 将阳历转换为阴历
* @param year 公历-年
* @param month 公历-月
* @param date 公历-日
*/
/**
* 将阴历转换为阳历
* @param year 阴历-年
* @param month 阴历-月,闰月处理:例如如果当年闰五月,那么第二个五月就传六月,相当于阴历有13个月,只是有的时候第13个月的天数为0
* @param date 阴历-日
*/
/**
* 判断是否是闰年
* @param year
*/
/**
* 获取干支纪年
* @param year
*/
function getLunarYearName($year){
$sky = array( 庚 , 辛 , 壬 , 癸 , 甲 , 乙 , 丙 , 丁 , 戊 , 己 )
$earth = array( 申 , 酉 , 戌 , 亥 , 子 , 丑 , 寅 , 卯 , 辰 , 巳 , 午 , 未 )
$year = $year.
return $sky[$year{3}].$earth[$year 12]
}
/**
* 根据阴历年获取生肖
* @param year 阴历年
*/
/**
* 获取阳历月份的天数
* @param year 阳历-年
* @param month 阳历-月
*/-Lunar calendar- Lunar- Conversion Class
/**
* Will be converted to a lunar solar calendar
* @ Param year calendar- years
* @ Param month calendar- January
* @ Param date calendar- day
* /
/**
Convert solar calendar to lunar calendar*
* @ Param year the lunar calendar- years
* @ Param month lunar- month, leap month treatment: For example, if a leap year in May, then the second pass in May, June, equivalent to 13 lunar months, but sometimes the first 13 months, 0 days
* @ Param date the lunar calendar- day
* /
/**
* Determine whether it is a leap year
* @ Param year
* /
/**
* Get Lunar Chronology
* @ Param year
* /
function getLunarYearName ($ year) {
$ sky = array ( g , Sim , Wang , Kuei , A , B , C , D , e , have )
$ earth = array ( application , unitary , xu , Hai , sub , ugly , Yin , d , e , had , afternoon , not )
$ year = $ ye
Platform: |
Size: 3072 |
Author: lee |
Hits: