I am using DateTimeFormatter
in my code for parsing the timestamp.
I have timestamp like 01-JAN-21 10.10.10.100000 AM
and looking at this website
https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html
I tried with the pattern: dd-LLL-yy hh.mm.ss.SSSSSS a
which isn't working. I get illegal pattern component "LLL"
. I also tried with dd-MMM-yy hh.mm.ss.SSSSSS a
but the data isn't parsed.
How should the pattern look like?