JDK-6610724 : Japanese FULL DateFormat does not has day of week
  • Type: Bug
  • Component: globalization
  • Sub-Component: translation
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-09-28
  • Updated: 2010-07-29
  • Resolved: 2007-10-16
Related Reports
Relates :  
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Windows

A DESCRIPTION OF THE PROBLEM :
In JDK 1.5_0_11, Japanese FULL DateFormat does not have day of week in the fomort pattern, which is different from the pattern in JDK 1.4. Any ideas?


REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------

import java.util.Locale;
import java.util.Date;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.text.ParseException;

public class Test {

        public static void main(String[] args)
        {
                Locale l = new Locale("ja", "JP");
                DateFormat dff = DateFormat.getDateTimeInstance(DateFormat.FULL,
 DateFormat.FULL, l);
                SimpleDateFormat sdf = (SimpleDateFormat) dff;
                 System.out.println(sdf.toPattern());
        }

}
---------- END SOURCE ----------

Comments
EVALUATION Not having the standard for this format I'm closing this bug.
16-10-2007

EVALUATION Please refer to bugs 4685470 and 4810032. Seems like for Japanese, day of week was once added in 1.4.1 and then removed in 1.5.0. I think we still cannot find any standard stating this.
05-10-2007

EVALUATION Jiri will take care of it. I am not sure if this one needs help from shinya, anyway I think jiri can decide it. thanks
28-09-2007