I am designing a booking system in java that only has to handle dates for the year 2015 and using the LocalDate class, a booking consists of a start date and a duration e.g.
Assuming you're using Java 8, why not use LocalDate#plusDays?
LocalDate startDate = LocalDate.of(2015, 5, 26); LocalDate endDate = startDate.plusDays(7); System.out.println(endDate);
Which outputs 2015-06-02
2015-06-02