calendar

package module
v1.2020.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 1 Imported by: 0

README

Calendar

GoDoc

Library for calculating working days in Russia.

Updated to 2020.

Documentation

Index

Constants

View Source
const Version = 2020

Variables

This section is empty.

Functions

func Add

func Add(date time.Time, days int) time.Time

Add return the date corresponding to adding the given number of working days to date

func IsWorkDay

func IsWorkDay(date time.Time) bool

IsWorkDay determines a date is a working day or not

func Period

func Period(from, to time.Time) int

Period calculates count of working day between from and to

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL