I use the JFXtras library in my project and when i get the value from LocalDateTimeTextField it appeared like this 1 juin 2017 01:00:00
My problem is when I want to set value to it. I tried many methods but do not worked
String date="1 juin 2017 17:00:00";
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("d MMM yyyy hh:mm:ss");
LocalDateTime localDate = LocalDateTime.parse(date, formatter);
fieldDate.setDisplayedLocalDateTime(localDate);
I debug my broject and give me the error in this line
LocalDateTime localDate = LocalDateTime.parse(date, formatter);