1.0.0 • Published 4 years ago
whatsprintisit v1.0.0
A library for telling what sprint it is.
This library exports 3 functions:
- getSprint(date: number | Date | undefined) returns the sprint and week for the given date, or if no date is given, the current date.
- getSprintSpan(sprint: number) returns the start and end times of the given sprint.
- getSprintWeekSpan(sprintWeek: { sprint: number, week: number}) returns the start and end of the given week of the given sprint.
This library performs remarkably little sanity checking of its arguments. Garbage in, garbage out.