Advanced Java : Lab practice with dates and exceptions