[threeten-dev] Host Locale Provider cannot get Japanese DayOfWeek
Frank Ding
dingxmin at linux.vnet.ibm.com
Sun May 5 19:19:02 PDT 2013
Thanks, Masayoshi.
On 5/5/2013 7:01 PM, Masayoshi Okutsu wrote:
> I've been able to reproduce the same symptom on Windows 7, and filed a
> bug report (8013903).
>
> Thanks,
> Masayoshi
>
> On 5/3/2013 11:43 AM, Frank Ding wrote:
>> Hi Masayoshi,
>> Thanks for looking into it. It's on Windows.
>>
>> Best regards,
>> Frank
>>
>> On 5/2/2013 11:22 PM, Masayoshi Okutsu wrote:
>>> Hi Frank,
>>>
>>> Do you see the problem on what platform? I tested it on Linux and it
>>> worked OK.
>>>
>>> Thanks,
>>> Masayoshi
>>>
>>> On 5/2/2013 4:03 PM, Frank Ding wrote:
>>>> Hi guys,
>>>> Would anybody take a look at it?
>>>>
>>>> Best regards,
>>>> Frank
>>>>
>>>> On 4/27/2013 4:00 PM, Frank Ding wrote:
>>>>> Forgot to mention that the era Heisei should be actually
>>>>> translated to Japanese characters for HOST locale provider.
>>>>>
>>>>> Best regards,
>>>>> Frank
>>>>>
>>>>> On 4/27/2013 3:51 PM, Frank Ding wrote:
>>>>>> Hi threeten guys,
>>>>>> A bug was found in b87 when Host Locale Provider was used, "Day
>>>>>> name in week" and "AM/PM mark" become blank in Japanese environment.
>>>>>>
>>>>>> Locale locale = new Locale("ja","JP","JP");
>>>>>> SimpleDateFormat df = new SimpleDateFormat("GGGG yyyy.MM.dd
>>>>>> '('E')' a hh:mm:ss zzz", locale);
>>>>>> System.out.println(df.format(new Date()));
>>>>>>
>>>>>> The expected output is "\u5e73\u6210 25.04.19 (\u91d1)
>>>>>> \u5348\u5f8c 06:28:59 JST" or "平成 25.04.27 (土) 午後 03:47:28
>>>>>> CST", which can be obtained by specifying JRE as locale provider
>>>>>> (-Djava.locale.providers=JRE). However, it's now "Heisei 25.04.19
>>>>>> () 06:24:02 JST
>>>>>> " when option "-Djava.locale.providers=HOST" is specified.
>>>>>>
>>>>>> Can anybody take a look at it and confirm?
>>>>>>
>>>>>> Best regards,
>>>>>> Frank
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
More information about the threeten-dev
mailing list