I've a complex (maybe) problem with my java application. Pratically, I've a date list (days of month) from a query and a date list (CoC) with a random number of dates.
I'm developing a java application to scan the days of month and write in output all the days of month and the relative date of other list when it changes.
I know, I'm uncleary but I've writed a simple code to make it clear to you. (I'm using JodaTime libs)