I have to use the 4-4-5 accounting calendar in java.
I'm finding a way to have, given a specific date the current month, the corresponding accounting month.
For example, for the year 2020 I will have this accounting months:
29-Dec 25-Jan
26-Jan 22-Feb
23-Feb 28-Mar
29-Mar 25-Apr
26-Apr 23-May
24-May 27-Jun
28-Jun 25-Jul
26-Jul 22-Aug
23-Aug 26-Sep
27-Sep 24-Oct
25-Oct 21-Nov
22-Nov 26-Dec
So, for example, given a date 28 Apr I need to receive something like this:
26-Apr 23-May
I tried to use also ThreeTen-Extra project with AccountingChronology an AccountingChronologyBuilder. But, sincerely, I struggle to understand how to use it.