What pattern of datetimeformat is needed for DateTimeFormatter to parse JAN01/2020? [duplicate]
问题 This question already has an answer here : Why pattern of datetimeformat is needed to avoid this causing a DateTimeParseException? [duplicate] Java 8 DateTimeFormatter for month in all CAPS not working [duplicate] (1 answer) Closed 7 months ago . I'm being passed a date in ths format - "JAN01/2020" but I can't seem to find the DateTimeFormatter pattern for it. I tried these (as well as several others) but they're resulting in DateTimeParseException - DateTimeFormatter.ofPattern("MMMd/YYYY")