package
module
Version:
v0.0.0-...-80da477
Opens a new window with list of versions in this module.
Published: Jun 7, 2017
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
holidays
Golang package to provide functions for calculating bank holidays in England & Wales. Current tests only cover 2010-2020.
Installation
go get github.com/aca02djr/holidays
Docs
http://godoc.org/github.com/aca02djr/holidays
Documentation
¶
Package holidays provides functions for calculating bank holidays in England & Wales for a given year.
Check returns whether or not the provided time.Time is bank holiday. It ignores the time portion, checking only the date.
ForYear returns a time.Time slice representing the bank holidays for the provided year.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.