Commit Graph

838 Commits

Author SHA1 Message Date
Michael Ow
a94b29c5a2 ICU-10084 Update version to 52.0.1
X-SVN-Rev: 33608
2013-05-08 01:38:44 +00:00
Travis Keep
e78cb5b4b0 ICU-10026 Fix DecimalFormat to handle variation of minus signs according to Mark Davis' suggestions.
X-SVN-Rev: 33605
2013-05-07 20:06:58 +00:00
George Rhoten
c55b3819a6 ICU-10136 Do not throw an exception when requesting the quotes for fr_CA. It should fallback to data from fr.
X-SVN-Rev: 33568
2013-05-01 21:37:14 +00:00
Bing Long
c6902ad571 ICU-100113 Added DateTimePatternGeneratorSample.java. Updated the API document in datetimepatterngenerator class for getBestPattern, addPattern, replaceFieldTypes.
X-SVN-Rev: 33555
2013-04-26 19:23:57 +00:00
Yoshito Umaoka
10f1e3259e ICU-10097 Replace ICURWLock implementation with JDK's ReentrantReadWriteLock. At the same time, disabled the stats collection (never used by ICU library consumers) by default.
X-SVN-Rev: 33543
2013-04-22 21:04:37 +00:00
Mark Davis
4524c8c33d ICU-8474 tuned portuguese, bengali, latvian, romanian, zulu
X-SVN-Rev: 33541
2013-04-22 14:49:51 +00:00
Mark Davis
297e433797 ICU-8474 fixes for serialization, which included change to equals
X-SVN-Rev: 33528
2013-04-15 06:19:53 +00:00
Yoshito Umaoka
e255e7d747 ICU-8957 Fixed issues detected by FindBugs in ICU library code except #9667 and #10097. Added FindBugs exclusion filter files in ICU4J library project directories.
X-SVN-Rev: 33516
2013-04-12 15:31:31 +00:00
Mark Davis
aa08affb3c ICU-8474 fix serbian, revamp rules to generate smarter samples
X-SVN-Rev: 33502
2013-04-09 13:43:13 +00:00
Mark Davis
74c81065f6 ICU-8474 updates to fix new rules, separate out test generation class, factory class, change toString() to roundtrip, etc.
X-SVN-Rev: 33499
2013-04-08 14:11:49 +00:00
Travis Keep
d8a9e311a3 ICU-10017 Git rid of special code in TimePeriod that copies non-immutable Number types. Add comments explaining that Number objects need to be immutable. Add unit test for TestPeriod.equals/hashCode. In JAVA implementation remove extra boolean flag for numeric and treat NUMERIC as a full fledged style as much as possible.
X-SVN-Rev: 33490
2013-04-03 22:05:00 +00:00
Travis Keep
c0ac428d94 ICU-10067 Add getLocale() and createPatternForNumItems() to ListFormatter.
X-SVN-Rev: 33488
2013-04-03 20:42:55 +00:00
Travis Keep
5dfe1df049 ICU-10063 Change ListFormatter.format() method to take a Collection<?> instead of a Collection<Object>
X-SVN-Rev: 33480
2013-03-29 22:23:24 +00:00
Travis Keep
cfd8e84278 ICU-10017 Correctly handle all types of Number fields in TimePeriod.
X-SVN-Rev: 33479
2013-03-29 21:43:18 +00:00
Travis Keep
f91bd1239d ICU-10017 Remove unused imports
X-SVN-Rev: 33478
2013-03-29 20:17:43 +00:00
Travis Keep
3652768a72 ICU-10017 Add test to insure that TimePeriod.forAmounts() throws IllegalArgumentException when necessary.
X-SVN-Rev: 33476
2013-03-28 22:51:46 +00:00
Travis Keep
3af99923b3 ICU-10017 Add test for formatPeriod for numeric style and for TimePeriods with just a single field.
X-SVN-Rev: 33475
2013-03-28 22:25:47 +00:00
Travis Keep
d21588cb60 ICU-10017 Do defensive copy of TimeUnitAmount objects in TimePeriod.forAmounts.
X-SVN-Rev: 33474
2013-03-28 21:04:41 +00:00
Travis Keep
eab9da1176 ICU-10017 Add test for TimeUnitFormat.formatPeriod for english using full name style.
X-SVN-Rev: 33473
2013-03-28 20:35:26 +00:00
Travis Keep
b35aa4dcf7 ICU-10017 Add API specification for composition of time periods for ICU4J into code.
X-SVN-Rev: 33471
2013-03-28 17:38:18 +00:00
Travis Keep
7c6a50445b ICU-10026 Add comment to normalizePlusAndMinus function in DecimalFormat.
X-SVN-Rev: 33466
2013-03-27 15:52:49 +00:00
Mark Davis
d3f8a3c777 ICU-8474 enhanced syntax
X-SVN-Rev: 33465
2013-03-27 13:57:35 +00:00
Travis Keep
d2f57f1ad3 ICU-10026 Make Numberformat.parse() even more lenient by allowing 7 alternates for plus and minus when parsing Not just ascii plus and minus.
X-SVN-Rev: 33462
2013-03-26 23:51:41 +00:00
Travis Keep
46a99dae07 ICU-10026 Make Numberformat.parse() method accept ascii plus and minus in addition to native plus and minus of locale for ICU4J.
X-SVN-Rev: 33461
2013-03-26 23:03:44 +00:00
Travis Keep
b33cab0a51 ICU-9914 DateIntervalFormat to handle 2 year vs. 4 year formats in ICU4J.
X-SVN-Rev: 33447
2013-03-21 16:43:17 +00:00
Yoshito Umaoka
2c0cefc43a ICU-9722 Resolved a JavaDoc warning.
X-SVN-Rev: 33371
2013-03-05 05:05:26 +00:00
Peter Edberg
3451781673 ICU-9965 Don't skip availableFormats items from non-root locales if conflict only due to basePattern (J)
X-SVN-Rev: 33359
2013-03-04 11:09:41 +00:00
Yoshito Umaoka
ee4e9d25ce ICU-9987 Fixed getWithFallback problem with a resource path including alias table. The issue with multiple getWithFallback calls will be tracked by #9964. This fix resolved the date format issue with Dangi calendar in English locale. It also fixed a part of problems reported by #9952.
X-SVN-Rev: 33353
2013-03-02 00:22:00 +00:00
John Emmons
26d2bde0fd ICU-9878 Update language/country code lists
X-SVN-Rev: 33338
2013-02-27 14:01:41 +00:00
Yoshito Umaoka
9f684a0417 ICU-9722 Clean up import statements.
X-SVN-Rev: 33324
2013-02-25 22:24:11 +00:00
Yoshito Umaoka
0a9b3e4833 ICU-9722 Updated the ICU4J version from 51.0.1 to 51.1 for RC. Moved timebombs.
X-SVN-Rev: 33323
2013-02-25 21:52:23 +00:00
Markus Scherer
7dd438bd57 ICU-9884 add comment for how to get a CurrencyInfo object
X-SVN-Rev: 33294
2013-02-21 20:59:39 +00:00
Yoshito Umaoka
9478c8e14f ICU-9722 Fixed java compiler and javadoc warnings.
X-SVN-Rev: 33293
2013-02-21 20:58:42 +00:00
Peter Edberg
91b8823ba5 ICU-9952 Workaround to fix inheritance for availFmt/intervalFmt items in ICU4J; #9964 for long-term fix
X-SVN-Rev: 33292
2013-02-21 11:33:13 +00:00
Yoshito Umaoka
4fa11a300d ICU-9947 Updated public API status for ICU4J 51.
X-SVN-Rev: 33290
2013-02-21 03:38:55 +00:00
Andy Heninger
4d713a0022 ICU-9715 Review comments.
X-SVN-Rev: 33289
2013-02-21 02:13:56 +00:00
Yoshito Umaoka
4984b0e4f0 ICU-9937 Quick fix for the bad code in CompactDecimalDataCache.
X-SVN-Rev: 33278
2013-02-20 21:17:27 +00:00
Yoshito Umaoka
af902b149f ICU-9696 Fixed HTML tagging problem in the previous change.
X-SVN-Rev: 33269
2013-02-19 10:30:59 +00:00
Yoshito Umaoka
63d88e3b2c ICU-9696 Updated the API doc for ICU4J SimpleDateForamt with the latest CLDR specification. Also include the reference to the LDML specification.
X-SVN-Rev: 33268
2013-02-19 08:42:21 +00:00
Markus Scherer
16795b49be ICU-9538 add script metadata properties API
X-SVN-Rev: 33260
2013-02-17 23:24:36 +00:00
Peter Edberg
e0488a1ab8 ICU-9497 Add support for short(er) weekday names: format, parse, get/set symbols (J)
X-SVN-Rev: 33256
2013-02-17 17:14:10 +00:00
Yoshito Umaoka
4dce9ff799 ICU-9940 Fixed some coding problems detected by FindBugs - Fixed threading issue with lazy instantiation of static field in a few classes.
X-SVN-Rev: 33247
2013-02-15 23:38:44 +00:00
Travis Keep
7982b01ec3 ICU-9916 Fix documentation in DateTimePatternGenerator. add->addPattern.
X-SVN-Rev: 33246
2013-02-15 22:15:14 +00:00
Yoshito Umaoka
9e53141f8b ICU-9941 Fixed a coding problem detected by FindBugs - changed put with putIfAbsent to make the operation atomic.
X-SVN-Rev: 33237
2013-02-15 17:06:32 +00:00
Yoshito Umaoka
79174eedb1 ICU-9939 Fixed a coding problem detected by FindBugs - commented out synchronized block containing an empty if statement.
X-SVN-Rev: 33236
2013-02-15 16:36:51 +00:00
Yoshito Umaoka
92c0aa3b98 ICU-9938 Fixed a coding problem detected by FindBugs - replacing == with equals().
X-SVN-Rev: 33235
2013-02-15 16:25:03 +00:00
Yoshito Umaoka
d4ca6e2dec ICU-9475 Some additional notes in TimeZoneNames API reference.
X-SVN-Rev: 33228
2013-02-14 22:50:17 +00:00
Andy Heninger
4f59ab84cc ICU-9657 Thread safety fix in charset detector.
X-SVN-Rev: 33199
2013-02-12 23:11:58 +00:00
Travis Keep
ca88f9ccba ICU-9919 DateIntervalFormat instances with custom DateIntervalInfo instances should not use the cache to populate themselves.
X-SVN-Rev: 33178
2013-02-12 01:00:40 +00:00
Andy Heninger
5f066fb106 ICU-9440 SpoofChecker, sync ICU4J with ICU4C.
X-SVN-Rev: 33177
2013-02-12 00:44:39 +00:00