Recently, I have had trouble comparing LocalDateTime instances using the predefined method isAfter().

I have tried the following in Eclipse and it works fine:

...