Commit Graph

850 Commits

Author SHA1 Message Date
Ramy Said
a5f76fe20e ICU-9272 CharsetDetector Inefficiencies
X-SVN-Rev: 33722
2013-05-22 14:28:56 +00:00
Yoshito Umaoka
f3077f748f ICU-9931 Fixed rounding related problems in ICU4J DecimalFormat. Provided generic test case code for rounding behavior.
X-SVN-Rev: 33671
2013-05-16 22:25:42 +00:00
Scott Russell
5d704324fa ICU-10110 handle non-String'able objects to prevent class cast exception in SimpleDateFormat.parse()
X-SVN-Rev: 33670
2013-05-16 17:50:47 +00:00
Scott Russell
68f770cd8a ICU-10110 handle non-String objects to prevent class cast exception in SimpleDateFormat.parse()
X-SVN-Rev: 33669
2013-05-16 15:51:43 +00:00
Markus Scherer
54eb776527 ICU-10128 update ICU to Unicode 6.3 beta (merge from branches/markus/uni63 at r33585)
X-SVN-Rev: 33663
2013-05-15 22:16:48 +00:00
Bing Long
6dd8688bae ICU-10113 Added PluralFormatSample.java. Updated the API document for PluralFormat(ULocale ulocale, String pattern).
X-SVN-Rev: 33653
2013-05-14 20:51:05 +00:00
Bing Long
344f86cc16 ICU-10113 Added DateIntervalFormatSample.java.
Updated the API document for DateIntervalFormat->getInstance(String skeleton, Locale locale) and
DateIntervalFormat->getInstance(String skeleton, Locale locale, DateIntervalInfo dtitvinf)

X-SVN-Rev: 33652
2013-05-14 20:39:25 +00:00
Mark Davis
9469a6c1be ICU-8474 Updated the plural rules factory to match CLDR; took a first pass at modifying NumberFormat to get the right information out for plural select with fractions.
X-SVN-Rev: 33649
2013-05-14 12:32:16 +00:00
Travis Keep
c43fdd0dce ICU-10069 Add comments per Markus' review.
X-SVN-Rev: 33645
2013-05-13 23:41:55 +00:00
Yoshito Umaoka
8c9653dca9 ICU-10154 Optimized time zone historical offset iteration.
X-SVN-Rev: 33632
2013-05-10 16:32:04 +00:00
Travis Keep
2469052770 ICU-10069 Take into account compatible currency symbols, e.g half-width and full-width yen symbol, when parsing currencies. Currency symbol equivalence relation hard-coded in Currency class for now.
X-SVN-Rev: 33616
2013-05-08 23:46:30 +00:00
Travis Keep
8eeb9f536d ICU-10069 Clean up overly complicated currency matching code. This clean up was necessary because previous code assumed that currency string in text will match currency symbol in CLDR. With currency equivalences, this assumption no longer holds.
X-SVN-Rev: 33615
2013-05-08 19:53:08 +00:00
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