calendar

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type USCalendar

type USCalendar struct {
	Calendar *cal.Calendar
}

USCalendar ...

func SetupUSCalendar

func SetupUSCalendar() *USCalendar

SetupUSCalendar ...

func (*USCalendar) AddWorkHours

func (c *USCalendar) AddWorkHours(t time.Time, hours int) time.Time

AddWorkHours add number of working hours to a provided time excludes weekends, holidays and time between 6pm and 8am

Jump to

Keyboard shortcuts

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