How to run the project?

./gradlew run

Assumptions

  • Input file will be a txt without a header
  • Input will have spaces to specify the date and not tabs
  • Date format is "dd MMMM - dd MMMM"
  • Month will always be written fully, January would not be written as Jan
  • Assuming this problem is only to calculate income tax of year between 2012 July-2013 June
  • Payslip is always generated for a whole month and not for partial month
  • Output need to be displayed on console
  • Exception is thrown and program comes to a halt, if input is wrong