Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/aibier/chinese-holidays-go

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/aibier/chinese-holidays-go

  • v1.0.1
  • Source
  • Go
  • Socket score

Version published
Created
Source

chinese-holidays-go

badge

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

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

  • bundled data
    • support 2021
    • support 2020
    • support 2019 and 5.1 changes
    • support 2018
    • support 2017
    • support 2016
  • online data

FAQs

Package last updated on 25 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc