package
2.85.0+incompatible
Repository: https://github.com/transcom/mymove.git
Documentation: pkg.go.dev
# Functions
CreateFutureMoveDates generates a list of dates in the future.
CreatePastMoveDates generates a list of dates in the past.
CreateValidDatesBetweenTwoDates returns date range inclusive of startDate, exclusive of endDate (unless endDate is before or equal to startDate and allowEarlierEndDate).
NewUSCalendar returns a new Calendar object initialized with standard US Federal Holidays.
NextNonWorkday returns the next weekend or holiday after the given date, using the given calendar.
NextValidMoveDate returns next subsequent non-holiday weekday This is mostly used for testing purposes.
NextWorkday returns the next workday after the given date, using the given calendar.
# Structs
MoveDatesSummary contains the set of dates for a move.