Skip to content

API to Check whether a date is a chinese holiday 中国法定节假日API

Notifications You must be signed in to change notification settings

RogerKing/ChineseHoliday

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ChineseHoliday

仅一个类库,无需装包,无需更新,实时在线查询Github最新数据

C#

get holidays by year

ChineseHoliday.GetHoliday(2020)

get holidays by month

ChineseHoliday.GetHoliday(2020,1)

check whether a date is working day

ChineseHoliday.IsWorkingDay(DateTime.Now.Date)

check whether a time is working time

ChineseHoliday.IsWorkingTime(DateTime.Now)

Java

get holidays by year

ChineseHoliday.getHoliday(2020)

get holidays by month

ChineseHoliday.getHoliday(2020,1)

check whether a date is working day

ChineseHoliday.isWorkingDay(LocalDate.now())

check whether a time is working time

ChineseHoliday.isWorkingTime(LocalDateTime.now())

About

API to Check whether a date is a chinese holiday 中国法定节假日API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 60.8%
  • C# 39.2%