私は Web サービスを使用しており、ブラジルのフロリアノポリス市では次の日付を取得しています。
2012 年 11 月 6 日(火) 17:30 LST
現在、タイムゾーン「LST」は、SimpleDateFormat パーサーに問題を引き起こします。
// Date to parse
String dateString = "Tue, 06 Nov 2012 5:30 pm LST";
// This parser works with other timezones
SimpleDateFormat LONG_DATE = new SimpleDateFormat("EEE, d MMM yyyy h:mm a zzz");
// Here it throws a ParseException
Date date = LONG_DATE.parse(dateString);
タイムゾーンの解析が難しいことはわかっています。あなたは何を提案しますか?
ありがとうございました