I still have to look up SimpleDateFormat every time I use it even though I used it multiple times. I somehow can't get comfortable with it.
I feel like I can write the Adapter pattern now, as long as someone tells me for which to which interfaces.
I couldn't figure out by myself ...
I got really frustrated with validation for these tasks. When the task didn't walidate there was some kind of information what was wrong but the actual error was sth completely different...
I had the same. It kept saying that there was something wrong with the sequence of names but it was the parsing of the Date. Maybe CodeGym can look into this please!!
Date date = new SimpleDateFormat("MM dd yyyy", Locale.ENGLISH).parse(parts[3]+" "+ parts[4]+" "+parts[5]);
return new Person(parts[1], parts[2], parts[0], date);
GO TO FULL VERSION