Documentation
¶
Index ¶
- Constants
- func GetCapitalDateNum(num int) string
- func GetCapitalMonthNum(num int) string
- func GetDaysBetweenSolar(cyear int, cmonth int, cdate int, dyear int, dmonth int, ddate int) int
- func GetLeapMonth(year int) int64
- func GetLunarMonths(year int, yearData [4]int64) []int
- func GetLunarYearDays(year int, yearDate [4]int64) int
- func GetLunarYearMonths(year int, yearData [4]int64) []int
- func GetLunarYearName(year int) string
- func GetYearData(year int) [4]int64
- func GetYearZodiac(year int) string
- func IsLeapYear(year int) bool
- type Lunar
Constants ¶
View Source
const ( MINYEAR int = 1891 MAXYEAR int = 2100 )
Variables ¶
This section is empty.
Functions ¶
func GetDaysBetweenSolar ¶
*
- 计算2个阳历日期之间的天数
- @param year 阳历年
- @param cmonth
- @param cdate
- @param dmonth 阴历正月对应的阳历月份
- @param ddate 阴历初一对应的阳历天数
Types ¶
Click to show internal directories.
Click to hide internal directories.