Your task is to implement the getDayOfWeekName method that converts the number of the day of the week to its short name. If the given number is incorrect, the method should throw an IllegalArgumentException.
Let's assume that a week starts from Monday:
- 1 → "Mon";
- 2 → "Tue";
- 3 → "Wed";
- 4 → "Thu";
- 5 → "Fri";
- 6 → "Sat";
- 7 → "Sun".