read
If you are trying to parse an String date like:
“02:34 PM”
Init the Formatter with US locale:
<pre style="background-image: URL(http://2.bp.blogspot.com/_z5ltvMQPaa8/SjJXr_U2YBI/AAAAAAAAAAM/46OqEP32CJ8/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"> SimpleDateFormat("hh:mm a", Locale.US);
</pre>
Note: Witouth the locale parameter it say “Parse failure” error message.