Commit Graph

1220 Commits

Author SHA1 Message Date
Travis Keep
75d2b6eb2f ICU-10268 Incorporte Suggestions from Markus
X-SVN-Rev: 34766
2013-12-13 21:18:00 +00:00
Travis Keep
afa4315082 ICU-10268 Take Measurement API out of technology preview and have it match the current API proposal.
X-SVN-Rev: 34765
2013-12-13 18:26:18 +00:00
Travis Keep
3fa5329e97 ICU-8464 Update Java RelativeDateTimeFormatter with latest API proposal.
X-SVN-Rev: 34709
2013-12-04 21:19:34 +00:00
Yoshito Umaoka
132f872930 ICU-10566 Fixed HTML syntax problems in the API doc.
X-SVN-Rev: 34706
2013-12-03 20:02:45 +00:00
Andy Heninger
7c5ff0aad6 ICU-10532 Charset Detect of plain ASCII, boost UTF-8 likelyhood.
X-SVN-Rev: 34694
2013-11-26 01:26:58 +00:00
Travis Keep
2601495ccd ICU-8464 Fix so that calendar used in RelativeDateTimeFormatter is the default calendar for locale which may not be the gregorian calendar.
X-SVN-Rev: 34682
2013-11-21 23:30:27 +00:00
Travis Keep
b90cbad09c ICU-8464 Add Relative Date Formatting for JAVA.
X-SVN-Rev: 34663
2013-11-14 19:50:19 +00:00
Travis Keep
7db028c450 ICU-10542 Add more tests. Use Math.log10() instead of multiplying by 0.1 in a for loop.
X-SVN-Rev: 34656
2013-11-12 01:38:45 +00:00
Travis Keep
42dee8ca3b ICU-10542 Fix rounding for scientific notation.
X-SVN-Rev: 34654
2013-11-11 23:52:59 +00:00
Andy Heninger
cc2d6e41f8 ICU-10532 Improve UTF-16 charset detection.
X-SVN-Rev: 34646
2013-11-07 19:55:48 +00:00
Yoshito Umaoka
6eede10a42 ICU-10528 Deleted unused com.ibm.icu.text.ListFormatterData
X-SVN-Rev: 34632
2013-10-31 21:05:26 +00:00
Scott Russell
fcdb86f818 ICU-10239 make eee[ee] & EEEEE processing in J behave the same as C
X-SVN-Rev: 34627
2013-10-30 21:18:19 +00:00
Yoshito Umaoka
e980695446 ICU-10518 Fixed an infinite loop problem in observesDaylightTime() revealed by tzdata2013h integration.
X-SVN-Rev: 34618
2013-10-29 07:20:08 +00:00
Yoshito Umaoka
77b6bb7721 ICU-10493 Added a stub implementation of hashCode() with assert false to make it consistent with equals() in SpoofChecker.
X-SVN-Rev: 34579
2013-10-17 19:34:21 +00:00
Travis Keep
f1df548fc4 ICU-10485 Fixed ListFormatter so that it finds the unit and unit-short version of lists.
X-SVN-Rev: 34564
2013-10-14 20:32:35 +00:00
Yoshito Umaoka
a50e894eb8 ICU-10219 Fixed a compiler warning in the previous change.
X-SVN-Rev: 34563
2013-10-14 19:17:54 +00:00
Yoshito Umaoka
83b441346b ICU-10485 Fixed a build error on Java 5 in the previous change.
X-SVN-Rev: 34562
2013-10-14 19:04:26 +00:00
Travis Keep
80b75a5817 ICU-10219 Fix rounding in TimeUnitFormat for JAVA.
X-SVN-Rev: 34554
2013-10-10 22:35:06 +00:00
Travis Keep
a3e12a9fe7 ICU-10419 Fix rounding in DecimalFormat in JAVA
X-SVN-Rev: 34553
2013-10-10 22:34:05 +00:00
Travis Keep
c1fbbc062e ICU-10485 Fix MeasureUnit failing tests.
X-SVN-Rev: 34546
2013-10-10 20:58:53 +00:00
Yoshito Umaoka
0d26708552 ICU-10484 Fixed a compiler warning - unused variable.
X-SVN-Rev: 34545
2013-10-10 19:49:09 +00:00
Yoshito Umaoka
80ed875e6a ICU-10484 Update the ICU4J version numbers to 53/m1
X-SVN-Rev: 34544
2013-10-10 19:01:15 +00:00
Yoshito Umaoka
ff0dbde358 ICU-10313 Added Hebrew calendar month value checking for leap year.
X-SVN-Rev: 34540
2013-10-10 17:36:54 +00:00
Peter Edberg
22f108c028 ICU-10161 (J) Speed up trimMarksFromAffix per Yoshito, skip it entirely for affix length 1
X-SVN-Rev: 34463
2013-09-24 04:06:18 +00:00
Yoshito Umaoka
3a41fdc007 ICU-10399 Some updates for the eclipse plug-in version. Resolve some compiler warnings, updated the build version.
X-SVN-Rev: 34456
2013-09-23 18:14:29 +00:00
Yoshito Umaoka
c1839fae2c ICU-10399 Added @provisional tag to @draft APIs.
X-SVN-Rev: 34454
2013-09-23 15:10:45 +00:00
Yoshito Umaoka
cb99f40912 ICU-8449 ICU4J Islamic Umm Al-Qura calendar updates based on Yoshito's review.
X-SVN-Rev: 34445
2013-09-23 05:15:07 +00:00
Scott Russell
c4a3dda5fc ICU-10261 review comment updates
X-SVN-Rev: 34402
2013-09-19 18:02:36 +00:00
Yoshito Umaoka
886e16a276 ICU-10399 Fixed a coding issue. During the initialization of MeasureUnit, it should not use a subclass Currency. Currency.CURRENCY_FACTORY is actually in MeasureUnit, so it should not be accessed through Currency.
X-SVN-Rev: 34401
2013-09-19 17:44:06 +00:00
Yoshito Umaoka
e2f60a29ee ICU-10399 Added missing API status tags
X-SVN-Rev: 34389
2013-09-18 22:51:19 +00:00
Yoshito Umaoka
c9b42d2525 ICU-10399 Fixed some compiler warnings (Eclipse and JDK javac).
X-SVN-Rev: 34387
2013-09-18 21:52:51 +00:00
Yoshito Umaoka
3e7d7e68f8 ICU-10415 Additional fixes to PluralRules and PluralSamples. Incorrect and missing tags.
X-SVN-Rev: 34386
2013-09-18 20:58:47 +00:00
Yoshito Umaoka
87fff22f2f ICU-10393 API status promotion from draft to stable in ICU4J 52.
X-SVN-Rev: 34384
2013-09-18 19:55:38 +00:00
Mark Davis
0989e56a2f ICU-10415 fix mistag
X-SVN-Rev: 34383
2013-09-18 18:52:24 +00:00
Markus Scherer
14168ce260 ICU-10180 document that a string trie cannot be empty
X-SVN-Rev: 34381
2013-09-18 16:39:06 +00:00
Mark Davis
7b164713f3 ICU-10383 fix synchronization per Andy.
X-SVN-Rev: 34370
2013-09-18 13:41:49 +00:00
Yoshito Umaoka
1e57298e3f ICU-10012 Disable EBCDIC Arabic/Hebrew detectors by default. Added APIs to enable/disable each charset and get currently active charsets. Use ISO-8859-8-I for ISO-8859-8/logica/implicit - to make the behavior compatible with ICU4C implementation (#9364).
X-SVN-Rev: 34351
2013-09-17 07:07:53 +00:00
John Emmons
a380bf4716 ICU-9995 Remove Region.UNDEFINED_NUMERIC_CODE and document.
X-SVN-Rev: 34333
2013-09-16 20:27:16 +00:00
Travis Keep
7fb9143401 ICU-10378 Use copy-on-write semantics when modifying pre-existing EnumSet.
X-SVN-Rev: 34331
2013-09-16 16:49:11 +00:00
Scott Russell
bfbffd7805 ICU-10261 give DateFormat more granular leniency control
X-SVN-Rev: 34326
2013-09-16 12:20:50 +00:00
Peter Edberg
36e54c57f8 ICU-10378 (J) Change to use EnumSet instead of bitmasks
X-SVN-Rev: 34325
2013-09-16 05:20:11 +00:00
Matitiahu Allouche
66a277a085 ICU-10142 fixes to UBA implementation to satisfy all tests in BidiTest and BidiCharacterTest (version 6.3.0d3)
X-SVN-Rev: 34324
2013-09-15 20:53:10 +00:00
Yoshito Umaoka
1cb23f24df ICU-10399 ICU4J version number to 52.1.
X-SVN-Rev: 34318
2013-09-13 20:07:16 +00:00
Mark Davis
a7f34e92c9 ICU-8474 restored the canonicalization to =, !=, and %. (Somehow it got reverted, not sure how.) Ran the core tests; was unable to run all the tests (see email to core).
X-SVN-Rev: 34317
2013-09-13 19:53:16 +00:00
Yoshito Umaoka
90ded7ad3c ICU-10399 Organized import statements.
X-SVN-Rev: 34311
2013-09-13 17:54:23 +00:00
Markus Scherer
8e59fa7be4 ICU-9915 do not mask off the continuation bits and then later test this masked CE value for isContinuation()
X-SVN-Rev: 34310
2013-09-13 17:12:11 +00:00
Peter Edberg
d7aff40250 ICU-10378 (J) Support skeleton meta-character 'J' in DateTimePatternGenerator
X-SVN-Rev: 34294
2013-09-12 23:50:38 +00:00
Yoshito Umaoka
e27c77829d ICU-8474 Revert changes ULocale's class signature and comparTo method. Also removed Comparable from PluralRule's class signature, but preserved compareTo method as @internal.
X-SVN-Rev: 34289
2013-09-12 20:53:12 +00:00
Markus Scherer
56d546f8c5 ICU-8474 minor changes parallel with C++
X-SVN-Rev: 34276
2013-09-11 23:32:15 +00:00
Peter Edberg
a183ef1302 ICU-10065 (J) In DateTimePatternGenerator, add support for pattern chars O,X,x, adjust support for V,Z
X-SVN-Rev: 34263
2013-09-10 21:53:00 +00:00
Peter Edberg
dc0285bb1f ICU-7647 J, Add/use LaoBreakEngine and corresponding dictionary
X-SVN-Rev: 34233
2013-09-07 01:03:46 +00:00
Peter Edberg
ec72ffe189 ICU-10161 J - Ignore LRM/RLM/ALM in text and affixes when comparing;
add internal support for minus/plus symbol strings to DecimalFormatSymbols;
pre-integrate some CLDR 24 number symbol/pattern changes so tests match them.

X-SVN-Rev: 34212
2013-09-06 02:06:05 +00:00
Scott Russell
d5f385d4e5 ICU-10249 Implement new Islamic calendar variants tbla, rgsa (fix for broken test)
X-SVN-Rev: 34178
2013-09-04 02:44:27 +00:00
Scott Russell
d2d0d0d9f0 ICU-10249 Implement new Islamic calendar variants tbla, rgsa
X-SVN-Rev: 34172
2013-09-03 22:26:48 +00:00
Peter Edberg
f6f9d3762f ICU-9960 The private/@internal versions of matchString,subParse added in r31186 should be marked as such
X-SVN-Rev: 34166
2013-09-03 05:14:19 +00:00
Markus Scherer
748e8c9cc6 ICU-10142 implement Unicode 6.3 bidi algorithm additions: merge icu4j/branches/mati/uba63 into trunk, merge new test for BidiCharacterTest.txt into BiDiConformanceTest.java
X-SVN-Rev: 34149
2013-08-30 19:50:39 +00:00
Scott Russell
b5da651126 ICU-8449 compiler warning clean-up & add support for maintaining existing civil property along with new cType
X-SVN-Rev: 34146
2013-08-30 14:45:58 +00:00
Travis Keep
33c0acf233 ICU-10017 Rollback TimePeriod additions.
X-SVN-Rev: 34137
2013-08-30 00:17:33 +00:00
Yoshito Umaoka
bc031bb637 ICU-10268 Restored Currency serialization backward compatibility support for now. Also fixed a bunch of compiler warnings (both Eclipse compiler and JDK) introduced by unit/measure format work.
X-SVN-Rev: 34132
2013-08-29 21:14:09 +00:00
Travis Keep
3a4fa13ef8 ICU-10268 Mark Units API as internal deprecated and fix some minor bugs.
X-SVN-Rev: 34127
2013-08-29 18:31:11 +00:00
Peter Edberg
4431fc1f14 ICU-10299 Fix CjkBreakEngine fWordSet to include 30FC,FF70 (ICU4J)
X-SVN-Rev: 34125
2013-08-29 18:04:59 +00:00
Yoshito Umaoka
ca03cd866d ICU-10268 Serialization compatibility test related changes. Cleaned up skip cases. Reverted a previous change that seemed to exclude Currency from the compatibility test. Also fixed some compiler warnings introduced by previous commits for this ticket.
X-SVN-Rev: 34124
2013-08-29 17:45:39 +00:00
Travis Keep
fa9f269f4d ICU-8474 CompactDecimalFormat improvement avoid extra format call. Fix bugs in FixedDecimal.
X-SVN-Rev: 34100
2013-08-28 19:34:03 +00:00
Mark Davis
6037d39183 ICU-10268 Add the units along the lines of what was discussed. Needs more work, however.
X-SVN-Rev: 34099
2013-08-28 15:55:54 +00:00
Markus Scherer
2a36e2f226 ICU-8474 support plurals with decimals in MessageFormat and PluralFormat
X-SVN-Rev: 34087
2013-08-26 20:29:07 +00:00
Mark Davis
4505512d3e ICU-8474 Many changes to tests and code in order to properly separate DECIMAL from INTEGER isLimited and samples; fix samples/unbounded in CLDR, fix bounded, fix when to return null, check disallowed syntax etc.
X-SVN-Rev: 34082
2013-08-23 10:38:57 +00:00
Yoshito Umaoka
d73447b346 ICU-9526 Fixed a paring problem with custom monetary grouping separator. Ported equivalent fix for monetary decimal separator handing, updating the fix done by #9521. Fixed some bad coding style. Added a test case for testing custom symbols.
X-SVN-Rev: 34070
2013-08-20 20:59:18 +00:00
Peter Edberg
b19b309b18 ICU-10243 J, LocaleData.getMeasurementSystem/getPaperSize should get data from supplementalData
X-SVN-Rev: 34066
2013-08-19 23:49:53 +00:00
Mark Davis
60c838d40f ICU-8474 major change to PluralRules to move sample generation code into CLDR. Also did close to final renaming of internal classes
X-SVN-Rev: 34063
2013-08-19 18:32:19 +00:00
Scott Russell
5f2027f091 ICU-8449 fix incorrect deprecations
X-SVN-Rev: 34050
2013-08-16 16:44:14 +00:00
Scott Russell
a442610f93 ICU-8449 Add Um al-Qura Hijri Calendar Support
X-SVN-Rev: 34048
2013-08-16 16:04:37 +00:00
Yoshito Umaoka
d8d708a40c ICU-10256 Fixed NPE problem in TimeZoneJDK#clone().
X-SVN-Rev: 34038
2013-08-13 14:35:01 +00:00
Yoshito Umaoka
78a74d6171 ICU-10281 Fixed a VTIMEZONE writer problem that may produce overlapping rules.
X-SVN-Rev: 34025
2013-08-09 16:32:00 +00:00
Travis Keep
0bd4a85122 ICU-10204 Fix broken link in hebrew calendar documentation.
X-SVN-Rev: 34002
2013-07-31 23:38:17 +00:00
Travis Keep
75ee6eb19b ICU-10274 Attempt to fix broken ICU4J build.
X-SVN-Rev: 33987
2013-07-25 17:00:16 +00:00
Travis Keep
4b1b47ddb0 ICU-10274 Add compound duration formatting for JAVA.
X-SVN-Rev: 33980
2013-07-24 23:07:31 +00:00
Travis Keep
90f5a56a9d ICU-10222 Fix failing TimeUnitTest.java the cldr path for duration units changed units -> units/duration; unitsShort -> unitsShort/duration.
X-SVN-Rev: 33971
2013-07-23 23:17:32 +00:00
Yoshito Umaoka
9da57d92b2 ICU-10084 BRS - clean up imports (update)
X-SVN-Rev: 33962
2013-07-23 17:02:56 +00:00
Travis Keep
12b26e3073 ICU-10067 Implement feedback from API proposal.
X-SVN-Rev: 33955
2013-07-22 22:18:54 +00:00
Mark Davis
7b11899477 ICU-8474 make the fields of NumberInfo @internal for access by CLDR.
X-SVN-Rev: 33951
2013-07-20 22:57:32 +00:00
Mark Davis
07c13a589e ICU-8474 Fixed more test cases caused by plurals change
X-SVN-Rev: 33950
2013-07-20 21:18:07 +00:00
Mark Davis
50323c01c7 ICU-8474 made syntax fixes in accordance with doc, adjusted code for currencies to work right.
X-SVN-Rev: 33945
2013-07-19 19:38:17 +00:00
Mark Davis
7d4180dc4d ICU-10187 Fix test (regions that leaked () in CLDR).
X-SVN-Rev: 33923
2013-07-15 13:40:57 +00:00
Mark Davis
fa4c3dbe59 ICU-10187 replace the parens by brackets. Note: could not write a test, since we can't change ICU's locale data. However, stepped through the data to ensure that it worked.
X-SVN-Rev: 33921
2013-07-15 10:10:12 +00:00
Peter Edberg
dc3bff3e0d ICU-10244 (C) LocaleData.getLocaleSeparator now returns piece between {0} and {1} in new localeSeparator pattern
X-SVN-Rev: 33913
2013-07-11 18:59:13 +00:00
Ramy Said
e52a073bee ICU-9272 CharsetDetector Inefficiencies
X-SVN-Rev: 33901
2013-07-10 07:16:36 +00:00
Yoshito Umaoka
2e0d24aafc ICU-10084 BRS - Updated the API change report. Supplied API status tag to a bunch of new draft/private APIs. Fixed a API change report tool problem caused by an extremely long API signature (expanded an internal API signature token limit from 256 to 512).
X-SVN-Rev: 33899
2013-07-09 22:23:02 +00:00
Yoshito Umaoka
b280b62e5c ICU-10084 Resolve Eclipse compiler warnings.
X-SVN-Rev: 33898
2013-07-09 18:28:49 +00:00
Yoshito Umaoka
f1d2dd38fd ICU-10084 BRS - clean up import statements.
X-SVN-Rev: 33897
2013-07-09 16:45:56 +00:00
Peter Edberg
8d826958fd ICU-10222 (J) Integrate CLDR data snapshot for ICU 52.0.1; add calendar types
X-SVN-Rev: 33888
2013-07-08 06:31:43 +00:00
Peter Edberg
1358964c56 ICU-10244 (J) Handle localeDisplayPattern/separator as pattern
X-SVN-Rev: 33887
2013-07-08 06:28:29 +00:00
Mark Davis
b62f044d82 ICU-8474 cleanup, moving some test code to CLDR.
X-SVN-Rev: 33882
2013-07-03 08:58:32 +00:00
Scott Russell
3f23269839 ICU-9968 Return value of SimpleDateFormat subparse not correctly reflecting error at start pos 0 - fix failing ERA test
X-SVN-Rev: 33872
2013-07-01 19:00:14 +00:00
Scott Russell
5442e5a7a4 ICU-9968 Return value of SimpleDateFormat subparse not correctly reflecting error at start pos 0
X-SVN-Rev: 33871
2013-07-01 15:24:42 +00:00
Mark Davis
9333318d4e ICU-8474 cleanup, moving some test code to CLDR.
X-SVN-Rev: 33870
2013-07-01 10:35:20 +00:00
Andy Heninger
fa30f0afbf ICU-9936 Improved API descriptions for DecimalFormat set min/max significant digits.
X-SVN-Rev: 33868
2013-06-28 21:12:10 +00:00
Peter Edberg
9268ae09e5 ICU-10061 (J) Make getDayOfWeekType behave as documented for last weekend day; fix for 1-day weekends
X-SVN-Rev: 33858
2013-06-27 06:53:35 +00:00
Peter Edberg
a573382a0b ICU-9984 (J) For DTPG, Y in skeleton should produce Y in pattern
X-SVN-Rev: 33857
2013-06-27 06:16:33 +00:00
Andy Heninger
b64a61baba ICU-9936 Decimal Format, auto-enable SignificantDigitsUsed when setting significant digits.
X-SVN-Rev: 33834
2013-06-17 20:35:47 +00:00
Andy Heninger
83ad0ae901 ICU-5901 RBBI.getRuleStatus(), hoist to BreakIterator from RuleBasedBreakIterator.
X-SVN-Rev: 33829
2013-06-13 23:38:21 +00:00
Andy Heninger
2f731899ca ICU-10140 Spoof Checker rule builder fixes. Was dropping Whole Script confusable data.
X-SVN-Rev: 33828
2013-06-13 21:17:34 +00:00
Yoshito Umaoka
56a5b9c0a0 ICU-10172 Minor corrections in DecimalFormat set/getRoundingIncrement API docs.
X-SVN-Rev: 33824
2013-06-13 15:03:37 +00:00
Yoshito Umaoka
408820999c ICU-10221 Fixed parsed length issue with a grandfathered tag in LanguageTag parser implementation.
X-SVN-Rev: 33822
2013-06-13 14:41:39 +00:00
Yoshito Umaoka
86471ecf62 ICU-10209 Fixed odd TimeType problem with ZONE_ID, ZONE_ID_SHORT and EXEMPLAR_LOCATION in TimeZoneFormat#format. Also added generic TimeZoneFormat format test including the test cases verifying the fix.
X-SVN-Rev: 33820
2013-06-12 21:37:46 +00:00
Markus Scherer
715d77036f ICU-8134 improve API docs for getBaseName() & setKeywordValue()
X-SVN-Rev: 33815
2013-06-10 22:38:41 +00:00
Travis Keep
2193ad4563 ICU-10202 Fix documentation on getXXXInstance() methods.
X-SVN-Rev: 33806
2013-06-05 21:33:31 +00:00
Travis Keep
e7c709b18e ICU-10201 Fix wording in documentation of DateFormat.
X-SVN-Rev: 33805
2013-06-05 20:49:25 +00:00
Yoshito Umaoka
78106e6434 ICU-10174 Fixed a bad code snippet in the LocaleMatcher's API class doc.
X-SVN-Rev: 33801
2013-06-04 16:15:58 +00:00
Yoshito Umaoka
4ba8437677 ICU-10192 Fix the LanguageTag#toString() missing variant fields problem.
X-SVN-Rev: 33765
2013-05-28 20:16:17 +00:00
Mark Davis
f989418d4f ICU-8471 Update to fix the Compact Numbers for fractional plurals, and for use in CLDR.
X-SVN-Rev: 33760
2013-05-27 22:25:45 +00:00
Mark Davis
65c0d155b2 ICU-8471 Update to fix the Compact Numbers for fractional plurals, and for use in CLDR.
X-SVN-Rev: 33759
2013-05-27 15:34:55 +00:00
Travis Keep
ed6f7e1545 ICU-10045 Fix significant digits with zero for JAVA.
X-SVN-Rev: 33750
2013-05-24 22:16:05 +00:00
Travis Keep
4ce7ebccfa ICU-10153 Fix javadoc for TimeUnitFormat.setNumberFormat()
X-SVN-Rev: 33739
2013-05-23 18:49:28 +00:00
Travis Keep
3fd9bb89c8 ICU-10151 Fix typo in UnicodeSet documentation.
X-SVN-Rev: 33738
2013-05-23 18:33:24 +00:00
Peter Edberg
724cb16c28 ICU-10186 Need special numeric era format/parse for dangi too (J)
X-SVN-Rev: 33735
2013-05-23 02:00:04 +00:00
Yoshito Umaoka
c7d2a18170 ICU-10148 TZ database/Windows zone ID mapping APIs.
X-SVN-Rev: 33727
2013-05-22 20:34:10 +00:00
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
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
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
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
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