YY
should be yy
(in lower case). You can find the list of available characters and their meaning in the documentation.
Out of curiosity, more information about YY
, which is for week year, here (not 100% sure what it is to be honest).
More Related Contents:
- java.text.ParseException: Unparseable date: "Augu 16, 1979" [duplicate]
- What is this date format? 2011-08-12T20:17:46.384Z
- How to parse date string to Date? [duplicate]
- Difference between java HH:mm and hh:mm on SimpleDateFormat
- Date object SimpleDateFormat not parsing timestamp string correctly in Java (Android) environment
- java.util.Date format SSSSSS: if not microseconds what are the last 3 digits?
- How to convert String to Date without knowing the format?
- Regex date format validation on Java
- Spring Boot Jackson date and timestamp Format
- Java: unparseable date exception
- Make SimpleDateFormat.parse() fail on invalid dates (e.g. month is greater than 12)
- SimpleDateFormat.parse() ignores the number of characters in pattern
- How to get the given date string format(pattern) in java?
- Best way to convert Java SQL Date from yyyy-MM-dd to dd MMMM yyyy format
- Parse String date in (yyyy-MM-dd) format
- Why can’t this SimpleDateFormat parse this date string?
- Java Date Format for Locale
- Determine if a String is a valid date before parsing
- Fastest way to parse a date in Basic ISO 8601 format, using Java [closed]
- How to determine day of week by passing specific date?
- “EEE MMM dd HH:mm:ss ZZZ yyyy” date format to java.sql.Date
- What is the easiest way to parse an INI file in Java?
- Parsing JSON in Java without knowing JSON format
- how to convert milliseconds to date format in android?
- How to convert a date String to a Date or Calendar object?
- How can I determine if a date is between two dates in Java? [duplicate]
- How to convert date in to yyyy-MM-dd Format?
- Compare two dates in Java
- How to obtain the start time and end time of a day?
- Simplest way to correctly load html from web page into a string in Java