To run project
- Clone repo or download by zip
- Open solution file WorkDayCalculator.sln in IDE
- If Mac says you can't open go to 'privacy & security' in settings and allow the program. see more here: https://support.apple.com/en-us/102445
- Make sure .Net 8 is installed
- Open solution file
- Adjust the cases you want to test in Program.cs there's one example test case there
- Run WorkdayCalculator to see output with results
Known issues: I didn't add functionality for rounding to closest minute, hence the program might be wrong by 1 minute sometimes.