Commit Graph

1641 Commits

Author SHA1 Message Date
Yoshito Umaoka
c64fb93a29 ICU-10434 Oracle JDK still preserves solar times (Asia/Riyadh8x). The ICU4J time zone format test cases must exclude these zone when JDK tz implementation is used.
X-SVN-Rev: 34905
2014-01-15 22:35:58 +00:00
Peter Edberg
d894ab3a4f ICU-10574 Add API (getter/setter) to set capitalization context for NumberFormat, J
X-SVN-Rev: 34899
2014-01-15 09:13:26 +00:00
Peter Edberg
d6eb092438 ICU-10591 Fix capitalizationSetting initialization & comment about serialization
X-SVN-Rev: 34898
2014-01-15 09:10:22 +00:00
Peter Edberg
fce9b6ba8c ICU-10553 Implement context-sensitive capitalization for relative dates (J)
X-SVN-Rev: 34896
2014-01-15 08:12:16 +00:00
Peter Edberg
f12f43b80e ICU-10591 Hoist set/GetContext from SimpleDateFormat to DateFormat (J)
X-SVN-Rev: 34895
2014-01-15 03:40:46 +00:00
Andy Heninger
a82255096c ICU-10592 ICU4J BreakIterator, hoist rule status constants to base BreakIterator class
X-SVN-Rev: 34890
2014-01-14 22:27:51 +00:00
Yoshito Umaoka
77c39a1091 ICU-10606 Corrected the copyright year.
X-SVN-Rev: 34889
2014-01-14 20:35:14 +00:00
Scott Russell
8a3afd3cb5 ICU-10619 Improve usability of DateFormat's leniency control & promote BooleanAttribute control to draft for v53
X-SVN-Rev: 34887
2014-01-14 14:13:48 +00:00
Travis Keep
3da552ab8d ICU-10268 Add tests for narrow times.
X-SVN-Rev: 34885
2014-01-14 01:25:27 +00:00
Peter Edberg
38a4b241d6 ICU-10623 Integrated data generated from CLDR 25-M1, but skipped new data in data/coll/ (J)
X-SVN-Rev: 34879
2014-01-11 22:25:14 +00:00
Yoshito Umaoka
c25116c2c8 ICU-10615 Updated the fix by adding an intenal API Calendar.haveDefaultCentury() like ICU4C, to exclude Chiense/Japanese/Dangi calendar to skip the default century parsing.
X-SVN-Rev: 34868
2014-01-10 21:45:57 +00:00
George Rhoten
a94152774c ICU-8699 Never print stack trace in production code
X-SVN-Rev: 34864
2014-01-10 19:52:56 +00:00
Travis Keep
a988b05e8b ICU-10268 Added more tests.
X-SVN-Rev: 34862
2014-01-10 19:40:21 +00:00
Travis Keep
b2f94a75a8 ICU-10268 MeasureFormat to format currencies correctly.
X-SVN-Rev: 34860
2014-01-10 18:53:53 +00:00
Travis Keep
1ebcd33989 ICU-10268 Serialize FormatWidth enums by their ordinal values.
X-SVN-Rev: 34858
2014-01-10 16:55:55 +00:00
Yoshito Umaoka
a50418ca17 ICU-10583 Fixed a minor problem in illegal lead bye handling in the UTF-8 charset recognizer.
X-SVN-Rev: 34857
2014-01-10 16:12:09 +00:00
Travis Keep
cebd0a29d5 ICU-10268 Remove unused import
X-SVN-Rev: 34853
2014-01-10 00:46:11 +00:00
Peter Edberg
34558047c0 ICU-10609 Integrate changes from CLDR r9632 except for collation,brkitr (J)
X-SVN-Rev: 34852
2014-01-09 23:00:15 +00:00
Travis Keep
c06fef03ed ICU-10268 Mark Davis' review.
X-SVN-Rev: 34841
2014-01-08 21:07:37 +00:00
Yoshito Umaoka
e73ea7ab14 ICU-10390 Implemented Comparable interface in ULocale class.
X-SVN-Rev: 34840
2014-01-08 21:07:09 +00:00
Scott Russell
d72df4a157 ICU-10576 fix suboptimal if statement code in setBooleanAttribute
X-SVN-Rev: 34831
2014-01-06 21:23:13 +00:00
Yoshito Umaoka
b40d690f2a ICU-10615 A quick fix for 2-digit year parsing problem with Japanese calendar. Need more investigation.
X-SVN-Rev: 34830
2014-01-06 15:31:22 +00:00
Yoshito Umaoka
d6d57e4461 ICU-10434 tzdata2013i to ICU4J
X-SVN-Rev: 34829
2014-01-03 23:13:53 +00:00
Peter Edberg
cf004a4691 ICU-10609 Fix test failures only found in clean build, missed in incremental build, J
X-SVN-Rev: 34817
2013-12-23 06:43:34 +00:00
Peter Edberg
a9fc0b9464 ICU-10609 Roll in most of the data changes from CLDR r9586 (CLDR 25 pre-m1), J
X-SVN-Rev: 34815
2013-12-23 04:54:04 +00:00
Travis Keep
564948ef67 ICU-10268 Remove unused import.
X-SVN-Rev: 34803
2013-12-18 23:26:46 +00:00
Travis Keep
3b6a40b645 ICU-10268 Add additional test to handle MeasureFormat.formatMeasures() with zero and one arg.
X-SVN-Rev: 34802
2013-12-18 23:17:55 +00:00
Travis Keep
6f82c4b2d3 ICU-10606 Introduce DontCareFieldPosition.
X-SVN-Rev: 34799
2013-12-18 23:05:12 +00:00
Travis Keep
652d2952a2 ICU-10603 Add NUMERIC to MeasureFormat.FormatWidth.
X-SVN-Rev: 34797
2013-12-18 22:32:17 +00:00
Travis Keep
ef9fbd093c ICU-10268 Implement final comments from ICU meeting.
X-SVN-Rev: 34795
2013-12-18 21:55:57 +00:00
Travis Keep
905fd2dbc6 ICU-10268 Create private ImmutableNumberFormat wrapper so that developers don't have to remember to synchronize every use of NumberFormat.
X-SVN-Rev: 34794
2013-12-18 21:17:08 +00:00
Scott Russell
59dde192b7 ICU-10334 C vs. J differences when in lenient mode
X-SVN-Rev: 34791
2013-12-18 19:47:13 +00:00
Travis Keep
876d3ee9a9 ICU-10268 fix spelling and punctuation.
X-SVN-Rev: 34787
2013-12-17 23:20:58 +00:00
Travis Keep
e79533c9ad ICU-10268 Fix equals() / hashCode() according to effective JAVA in MeasureFormat. Take out synchronized blocks in CurrencyFormat as this class will remain thread unsafe.
X-SVN-Rev: 34786
2013-12-17 23:16:55 +00:00
Travis Keep
ddeb54ee63 ICU-10268 Make formatMeasures methods be together.
X-SVN-Rev: 34782
2013-12-17 01:23:49 +00:00
Travis Keep
3ef485dccf ICU-10268 Be sure that MeasureFormat and sub classes correctly implement clone() and getLocale(ULocale.VALID_LOCALE)
X-SVN-Rev: 34780
2013-12-17 01:09:02 +00:00
Travis Keep
a53682a55e ICU-10268 Fix serialization so that forward compatibility won't break when we add values to the FormatWidth enum.
X-SVN-Rev: 34775
2013-12-16 18:22:04 +00:00
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
Peter Edberg
3ac01a5b95 ICU-10593 Add "บลูทูธ" ("Bluetooth") to Thai break dictionary (update ICU4J)
X-SVN-Rev: 34753
2013-12-12 04:21: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
2f0c821f16 ICU-10515 Moved the top level TestAll to a new project icu4j-testall.
X-SVN-Rev: 34644
2013-11-06 22:09:21 +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
29fae20bf6 ICU-10434 tzdata2013h to ICU4J
X-SVN-Rev: 34626
2013-10-30 01:51:52 +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
Travis Keep
339b6e98dd ICU-10485 Remove warnings from MeasureUnitTest.
X-SVN-Rev: 34603
2013-10-21 22:47:41 +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
Yoshito Umaoka
334e8f52b8 ICU-10419 Removed unused import introduced by the previous change.
X-SVN-Rev: 34566
2013-10-14 22:21:29 +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
Yoshito Umaoka
1746d496d4 ICU-10462 Changed the default time zone used by the ICU unit test framework from PST to America/Los_Angeles.
X-SVN-Rev: 34547
2013-10-10 21:23:53 +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
Yoshito Umaoka
e47490270b ICU-10037 Update tzdata in ICU4J to 2013g
X-SVN-Rev: 34509
2013-10-02 23:52:12 +00:00
Markus Scherer
4e85ca937d ICU-10449 more Unicode 6.3 data updates from 2013sep25, revert some uppercase properties
X-SVN-Rev: 34493
2013-09-27 22:34:36 +00:00
Michael Ow
b059da2047 ICU-10037 Update tzdata in ICU4J to 2013f
X-SVN-Rev: 34489
2013-09-26 17:50:04 +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
95c91d8e72 ICU-10399 Added serialization compatibility test data.
X-SVN-Rev: 34459
2013-09-23 19:22:44 +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
Michael Ow
0111b99f92 ICU-10037 Update TestCanonicalID test case exclusion list in ICU4J
X-SVN-Rev: 34453
2013-09-23 14:36:27 +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
Michael Ow
86ce4329cd ICU-10037 Update tzdata in ICU4J to 2013e
X-SVN-Rev: 34444
2013-09-23 03:01:10 +00:00
Markus Scherer
4396765af8 ICU-10399 updated pool.res files
X-SVN-Rev: 34426
2013-09-20 20:47:17 +00:00
Scott Russell
379fa7922b ICU-10249 review comment updates
X-SVN-Rev: 34409
2013-09-19 22:02:47 +00:00
Markus Scherer
a8c9e3b922 ICU-10142 bidi test data files from 2013-sep-19
X-SVN-Rev: 34408
2013-09-19 21:58:32 +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
59d926f715 ICU-10409 fixed tests in wrong file, as per Markus's request
X-SVN-Rev: 34371
2013-09-18 13:51:30 +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
92464523f4 ICU-7897 Simplified TestSelection/TestConversionUTF16. Removed the charset encoding name data depending on index of array returned by getAvailableNames(), instead, use hardcoded popular charset names. Modernize the coding style, etc. Reduced the exhaustive test time a lot.
X-SVN-Rev: 34357
2013-09-17 18:20:50 +00:00
Travis Keep
bfb8e76bc0 ICU-9946 Add test for ede case of formatting {0}, {1}, {2}
X-SVN-Rev: 34355
2013-09-17 17:57:07 +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
002a4a751e ICU-10404 Last minute plural update
X-SVN-Rev: 34343
2013-09-17 03:47:56 +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