Documentation
¶
Overview ¶
Package workingdays provides business day calculations ABOUTME: Working days calculator using US federal holidays ABOUTME: Supports checking working days, counting business days, adding business days
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBusinessDays ¶
AddBusinessDays adds a specified number of business days to a date Returns the resulting date Supports negative counts (subtracts business days)
func BusinessDaysBetween ¶
BusinessDaysBetween counts the number of business days between two dates (exclusive of start, inclusive of end) If end is before start, returns negative count
func IsWorkingDay ¶
IsWorkingDay checks if the given date is a working day (not weekend or holiday) Returns true if the date is a weekday and not a US federal holiday
func NextWorkingDay ¶
NextWorkingDay finds the next working day after the given date Returns the next working day (may be the next day, or several days later if holidays/weekends)
Types ¶
This section is empty.