Given the code fragment:
LocalDate now = LocalDate.now();
LocalDate this_labourDay = LocalDate.of(2021, Month.MAY, 1); LocalDate next_labourDay = this_labourDay.plusYears(1);
LocalDate add_week = next_labourDay.plusDays(7);
Period p = now.until(add_week);
System.out.println(p);
Assume LocalDate.now() returns 17th Aug 2021.
What is the result?
unix105
3 weeks, 2 days ago