I'm going to assume that Locale.getDefault()
for you is pl-PL
since you seem to be in Poland.
English words in date strings therefore cause an unparseable date.
An appropriate Polish date String
would be something like
"Wt pa? 16 00:00:00 -0500 2013"
Otherwise, change your Locale
to Locale.ENGLISH
so that the SimpleDateFormat
object can parse String
dates with English words.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…