Commit Graph

1427 Commits

Author SHA1 Message Date
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
John Emmons
cf0417c3e5 ICU-10137 Merge CLDR 23.1 data
X-SVN-Rev: 33592
2013-05-06 13:52:37 +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
0cb16ea2bb ICU-9104 A minor change in the doc updated in the previous commit.
X-SVN-Rev: 33550
2013-04-25 21:00:44 +00:00
Yoshito Umaoka
766add67f0 ICU-9104 Updated CollationElementIterator API spec not to support changing the iteration direction without reset. Added a field tracking the iteration direction and trigger assertion when a caller violates the restriction (only when Java assertion is enabled).
X-SVN-Rev: 33549
2013-04-25 20:15:50 +00:00
Michael Ow
4ee0730967 ICU-10037 Update tzdata in ICU4J to 2013c
X-SVN-Rev: 33548
2013-04-24 03:12:26 +00:00
Mark Davis
c418174fff ICU-8474 tweak for farsi
X-SVN-Rev: 33545
2013-04-23 15:17:51 +00:00
Mark Davis
6c0747cd6c ICU-8474 refactor to make it easier to copy to CLDR.
X-SVN-Rev: 33544
2013-04-23 12:32:37 +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
Yoshito Umaoka
d240d6478b ICU-8957 Updated ant build files supporting findbugs invoked from ant build.
X-SVN-Rev: 33539
2013-04-19 23:31:32 +00:00
Michael Ow
37aa0f8445 ICU-9973 Make CharsetProviderICU thread safe
X-SVN-Rev: 33534
2013-04-17 15:29:37 +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
a1d5c9a04e ICU-10080 Removed the old serializable test data except 3.6.
X-SVN-Rev: 33519
2013-04-12 18:04:23 +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
Yoshito Umaoka
5fbc363972 ICU-9743 Logging known issues with ticket information, instead of timebomb.
X-SVN-Rev: 33503
2013-04-10 08:15:11 +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
9c66e7e083 ICU-8474 correct isEmpty()
X-SVN-Rev: 33501
2013-04-09 09:04:45 +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
778782d402 ICU-10014 Updated ICU4J version related strings to 51.1 release.
X-SVN-Rev: 33426
2013-03-14 20:16:07 +00:00
Michael Ow
dbd26b8c36 ICU-9732 Update tzdata in ICU4J to 2013b
X-SVN-Rev: 33421
2013-03-13 21:49:58 +00:00
John Emmons
ee6ec163d9 ICU-10018 Merge data from CLDR 5744 + delete old shi_Latn_MA
X-SVN-Rev: 33393
2013-03-07 04:52:49 +00:00
Yoshito Umaoka
854ebcb796 ICU-9732 Update tzdata in ICU4J to 2013a
X-SVN-Rev: 33390
2013-03-07 02:58:25 +00:00
Andy Heninger
d96dda209d ICU-9983 Fixes for RBBITest failure.
X-SVN-Rev: 33378
2013-03-05 21:43:19 +00:00
Yoshito Umaoka
25217115c1 ICU-9722 Added ICU4J 51.1 serializable test data.
X-SVN-Rev: 33373
2013-03-05 05:35:36 +00:00
Yoshito Umaoka
2c0cefc43a ICU-9722 Resolved a JavaDoc warning.
X-SVN-Rev: 33371
2013-03-05 05:05:26 +00:00
Yoshito Umaoka
caed1f5d69 ICU-9722 Synchronize test data version with ICU4C.
X-SVN-Rev: 33364
2013-03-04 19:53:50 +00:00
Yoshito Umaoka
679c4bc7e0 ICU-9722 Updated copyright year in the Unicode license notice to match the update in last week.
X-SVN-Rev: 33362
2013-03-04 19:24:35 +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
John Emmons
404b8bb992 ICU-9890 Merge CLDR23 data
X-SVN-Rev: 33354
2013-03-03 21:17:08 +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
Yoshito Umaoka
214dbf417d ICU-9722 Updated license.html in ICU4J
X-SVN-Rev: 33340
2013-02-27 15:28:41 +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
ab0e59301c ICU-9722 Fixed some test case issues when JDK TimeZone implementation is used (mostly, skipping cases - not really a bug).
X-SVN-Rev: 33335
2013-02-26 22:53:58 +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
Yoshito Umaoka
27f8f4b33b ICU-9966 Patch for the test problem reported by #9966. Updated testdata.jar from ICU4C trunk.
X-SVN-Rev: 33322
2013-02-25 20:26:52 +00:00
Peter Edberg
853ab6e632 ICU-9925 Remove no-longer-necessary version-check test skip added in r33195
X-SVN-Rev: 33316
2013-02-24 22:05:03 +00:00
Markus Scherer
e550589f9f ICU-9929 fix RuleBasedCollator initialization of reorder codes (must go after init()), sync coll/zh.res with ICU4C including native-script-first reordering
X-SVN-Rev: 33309
2013-02-22 23:43:17 +00:00
Andy Heninger
339177ed3e ICU-9077 Missed checkin plus review comments on RBBI test data.
X-SVN-Rev: 33301
2013-02-22 02:32:40 +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
Peter Edberg
9d871b6d86 ICU-9927 Now that cintltst/citertst.c is updated, add sr_Latn collation with import (J)
X-SVN-Rev: 33288
2013-02-21 01:11:22 +00:00
Peter Edberg
d5eb3c2ec3 ICU-7103 Also update J build with data changes to remove obsolete collation aliases
X-SVN-Rev: 33284
2013-02-20 23:42:33 +00:00
Andy Heninger
186db36241 ICU-9842 Change NBSP to ASCII spaces in AlphabeticIndex.java
X-SVN-Rev: 33282
2013-02-20 22:33:55 +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
Peter Edberg
9450ae0f61 ICU-9925 Pick up the non-gregorian date format fixes from CLDR 8218 (J)
X-SVN-Rev: 33272
2013-02-19 19:51:20 +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
Peter Edberg
16ecba2369 ICU-9927 Update to current collation data (with import) for bs, bs_Cyrl, fa_AF (not sr_Latn)
X-SVN-Rev: 33263
2013-02-18 00:10:29 +00:00
Markus Scherer
144dd74c8e ICU-9538 fix C++-isms in the test
X-SVN-Rev: 33262
2013-02-17 23:41:48 +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
Andy Heninger
ba77e6d28b ICU-9077 Enhanced rbbi/RBBITest/TestExtended in ICU4J. Includes data refresh from ICU4C to pick up revised Character break rules.
X-SVN-Rev: 33251
2013-02-16 00:41:28 +00:00
Yoshito Umaoka
a1296b9947 ICU-9943 Fixed a coding problem detected by FindBugs - prevent null dereference
X-SVN-Rev: 33248
2013-02-16 00:02:50 +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
Markus Scherer
407be346b7 ICU-9880 sync with C++ port, fix minor bugs
X-SVN-Rev: 33243
2013-02-15 21:22:57 +00:00
Yoshito Umaoka
bd8a81bfd6 ICU-9942 Fixed a coding problem detected by FindBugs - replaced == with equals()
X-SVN-Rev: 33238
2013-02-15 17:17:44 +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
ded4f854b0 ICU-9945 Updated ISO currency numeric mapping data.
X-SVN-Rev: 33231
2013-02-14 23:51:39 +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
Peter Edberg
be694f6480 ICU-9925 CLDR 23 pre-integration part 3, batch 4 through CLDR r8192 (J)
X-SVN-Rev: 33221
2013-02-14 18:41:15 +00:00
Peter Edberg
9a171c895a ICU-9925 CLDR 23 pre-integration part 3, batch 3 (J)
X-SVN-Rev: 33216
2013-02-14 09:47:03 +00:00
Peter Edberg
258a1ad9b0 ICU-9925 CLDR 23 pre-integration part 3, batch 2 (J)
X-SVN-Rev: 33201
2013-02-13 13:12:16 +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
Peter Edberg
a15e0c2990 ICU-9925 CLDR 23 pre-integration part 3, batch 1 (J)
X-SVN-Rev: 33195
2013-02-12 20:45:06 +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
Travis Keep
dd9bf9ba48 ICU-9922 Fix DateIntervalInfo.setIntervalPattern so that it affects just the current instance instead of affecting all instances for a locale.
X-SVN-Rev: 33176
2013-02-11 23:45:43 +00:00
Markus Scherer
db8e47ddf1 ICU-9842 simplify <p> in JavaDoc
X-SVN-Rev: 33175
2013-02-11 23:09:29 +00:00
Andy Heninger
593a9fd589 ICU-9842 Incorporate review comments.
X-SVN-Rev: 33174
2013-02-11 21:55:06 +00:00
Yoshito Umaoka
98dafe28a3 ICU-9867 New time zone pattern letters/types spport for CLDR 23/ICU 51.
X-SVN-Rev: 33157
2013-02-10 17:26:01 +00:00
Andy Heninger
f18976290a ICU-9842 Alphabetic Index constructor with collator, ICU4J
X-SVN-Rev: 33146
2013-02-08 23:35:46 +00:00
Travis Keep
6d924df20b ICU-9918 Remove unused parameter from DateIntervalFormat constructor.
X-SVN-Rev: 33145
2013-02-08 22:35:44 +00:00