-
Bug
-
Resolution: Fixed
-
P3
-
8, 8u45, 9
-
In my test, it's Windows 7.
-
b101
-
generic
-
windows
On windows 7 en_US, the short era display name of AD detected by .net is "AD". My application is a .net exe file, but the Framework should get the data from windows.
In Java 8, when -Djava.locale.providers=HOST, the short display name of AD got from Calender or SimpleDateFormat is "A.D.", different from what is in windows (AD).
In http://msdn.microsoft.com/en-us/library/windows/desktop/dd317734%28v=vs.85%29.aspx,
there is:
CAL_SABBREVERASTRING Windows 7 and later: Abbreviated native name of an era. The full era is represented by the CAL_SERASTRING constant.
In Java 8, when -Djava.locale.providers=HOST, the short display name of AD got from Calender or SimpleDateFormat is "A.D.", different from what is in windows (AD).
In http://msdn.microsoft.com/en-us/library/windows/desktop/dd317734%28v=vs.85%29.aspx,
there is:
CAL_SABBREVERASTRING Windows 7 and later: Abbreviated native name of an era. The full era is represented by the CAL_SERASTRING constant.