I have a comparison that checks if the current time is after the configured time.
LocalTime horaConfig = new LocalTime(6, 00, 00);
LocalTime horaAtual = new LocalTime(20, 00, 00);
horaAtual.isAfter(horaConfig);
My problem is that since the current time is 8pm at night, Joda Time understands that 6am is already after 8pm. and ends up stopping my process. It's working if I put a time until 11:00 PM.
Is there any method to solve this compare problem with jodaTime?