Documentation
¶
Overview ¶
@Title HolidayUtil @Description 法定节假日工具(自2001年12月29日起) @Author 6tail
Index ¶
- Variables
- func Fix(nms []string, dt string)
- func GetHoliday(ymd string) *calendar.Holiday
- func GetHolidayByYmd(year int, month int, day int) *calendar.Holiday
- func GetHolidays(ymd string) *list.List
- func GetHolidaysByTarget(ymd string) *list.List
- func GetHolidaysByTargetYmd(year int, month int, day int) *list.List
- func GetHolidaysByYear(year int) *list.List
- func GetHolidaysByYm(year int, month int) *list.List
Constants ¶
This section is empty.
Variables ¶
View Source
var NAMES = []string{"元旦节", "春节", "清明节", "劳动节", "端午节", "中秋节", "国庆节", "国庆中秋", "抗战胜利日"}
Functions ¶
func GetHoliday ¶
func GetHolidays ¶
func GetHolidaysByTarget ¶ added in v1.0.18
func GetHolidaysByYear ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.