Skip to content
提供具有中国特色的休假安排或者工作日查询
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
holidays
README.md
go.mod
go.sum

README.md

chinese-holidays-go

提供具有中国特色的休假安排或者工作日查询。

Install

go get github.com/bastengao/chinese-holidays-go

Usage

import (
    "github.com/bastengao/chinese-holidays-go/holidays"
)

d := time.Date(2019, 10, 1, 0, 0, 0, 0, china)
holidays.isHoliday(d)    // true
holidays.isWorkingday(d) // false

Features

You can’t perform that action at this time.