FYI: Fix Calendar.ampm test to use localised strings

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FYI: Fix Calendar.ampm test to use localised strings

gnu_andrew
This fixes the Calendar.ampm test so it passes on both
GNU Classpath and OpenJDK.  The AM/PM strings are localised
and so should be retrieved from the locale data.

ChangeLog:

2008-12-31  Andrew John Hughes  <[hidden email]>

        * gnu/testlet/java/util/Calendar/ampm.java:
        Use the localised am/pm strings from DateFormatSymbols
        rather than hardcoding.

--
Andrew :)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8

calendar-01.diff (2K) Download Attachment