Commit Graph

1294 Commits

Author SHA1 Message Date
Mark Davis
ee0a1c0ecd ICU-12053 fix UnicodeMap, and move in a couple of methods that were elsewhere. Did a bunch of cleanup on the tests as well.
X-SVN-Rev: 38327
2016-02-19 15:55:00 +00:00
Mark Davis
cc2ee5c6e6 ICU-4229 update to use new CLDR data, and to work with v28 data during transition.
X-SVN-Rev: 38321
2016-02-18 11:39:40 +00:00
Peter Edberg
c9d3995332 ICU-12072 RelativeDateTimeFormatter: improve J format API
X-SVN-Rev: 38320
2016-02-17 07:29:48 +00:00
Peter Edberg
e435f6e750 ICU-12085 Update J TestToUnicodeLocaleType/TestToLegacyType for "rg"
X-SVN-Rev: 38314
2016-02-16 19:31:42 +00:00
Peter Edberg
abe480ef9e ICU-12085 Implement J support for new CLDR locale key "rg"
X-SVN-Rev: 38313
2016-02-16 07:11:10 +00:00
John Emmons
3376c4a0b7 ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38277
2016-02-05 02:28:56 +00:00
Peter Edberg
3bbe499ec2 ICU-12133 (J) Change proportion-karat to concentr-karat, add 5 new units in CLDR 29
X-SVN-Rev: 38248
2016-02-02 00:36:47 +00:00
Yoshito Umaoka
3cbb178df4 ICU-12084 Fixed Eclipse compiler warnings.
X-SVN-Rev: 38230
2016-01-30 01:11:30 +00:00
Yoshito Umaoka
1a28b453fc ICU-12084 Clean up import statements.
X-SVN-Rev: 38229
2016-01-30 01:01:17 +00:00
Yoshito Umaoka
af7c08969e ICU-11962 tzdata2016a updates to ICU4J
X-SVN-Rev: 38223
2016-01-29 00:01:16 +00:00
Markus Scherer
dcb76aab72 ICU-7618 replace MessageFormat with SimpleFormatterImpl where easy; remove obsolete ChoiceFormat handling of currency names
X-SVN-Rev: 38199
2016-01-26 22:52:45 +00:00
Markus Scherer
00122edbf6 ICU-10896 split SimplePatternFormatter into public SimpleFormatter and all-static SimpleFormatterImpl
X-SVN-Rev: 38194
2016-01-23 05:17:18 +00:00
Markus Scherer
cbc1e34b7f ICU-11802 add 4 Emoji properties from emoji-data.txt 2.0
X-SVN-Rev: 38184
2016-01-21 04:41:55 +00:00
Craig Cornelius
0013251fcb ICU-12018 Overhaul RelativeDateTimeFormatter data loading
X-SVN-Rev: 38176
2016-01-15 23:50:25 +00:00
Andy Heninger
a5c02bbcda ICU-5383 Re-enable test.
X-SVN-Rev: 38172
2016-01-15 22:17:16 +00:00
Andy Heninger
09819eab73 ICU-11669 Thread safety of DateIntervalFormat::format()
X-SVN-Rev: 38157
2016-01-07 21:15:19 +00:00
Markus Scherer
0183cad1d7 ICU-12032 remove SimplePatternFormatter wrapper objects from MeasureFormat range formatting, too
X-SVN-Rev: 38156
2016-01-07 00:45:28 +00:00
Markus Scherer
a7119fa972 ICU-12032 SimplePatternFormatter allow values=null, some better API docs, some changes parallel with C++
X-SVN-Rev: 38154
2016-01-07 00:18:30 +00:00
Andy Heninger
ec1aaee041 ICU-12034 Fix MeasureUnit static initialization race.
X-SVN-Rev: 38150
2016-01-04 21:25:47 +00:00
Markus Scherer
e13ef30930 ICU-12032 rewrite SimplePatternFormatter: quoting like MessageFormat, shorter, create fewer objects; callers avoid wrapper objects
X-SVN-Rev: 38149
2016-01-02 01:12:37 +00:00
Mark Davis
1d5b1fbb6f ICU-4229 Check for that zzzz is treated as duplicate of "others"; only allow regular scripts + zzzz.
X-SVN-Rev: 38138
2015-12-16 09:26:36 +00:00
Mark Davis
c3d49f32fc ICU-4229 Check for duplicate reorder codes
X-SVN-Rev: 38132
2015-12-15 20:21:08 +00:00
Mark Davis
565abe4808 ICU-4229 Enhanced the checking further.
X-SVN-Rev: 38128
2015-12-14 16:14:40 +00:00
Mark Davis
bdfe1a68cf ICU-4229 Enhanced the checking further.
X-SVN-Rev: 38125
2015-12-13 21:37:37 +00:00
Markus Scherer
fcd9bcbe71 ICU-12031 text.PluralRules.StandardPluralCategories -> impl.StandardPlural with new names for constants & methods
X-SVN-Rev: 38124
2015-12-11 22:27:18 +00:00
Markus Scherer
3d76dd93d2 ICU-11986 optimize UnitPatternSink a bit; add MeasureUnitTest.testIndividualPluralFallback()
X-SVN-Rev: 38101
2015-12-02 22:18:50 +00:00
Yoshito Umaoka
7c43d7d3f5 ICU-12022 Updated the minimum JRE version to Java 6.
X-SVN-Rev: 38099
2015-12-01 05:29:28 +00:00
Markus Scherer
7ac5360664 ICU-11986 MeasureFormat unit display patterns need to fall back to the parent locales per plural form, not as a set
X-SVN-Rev: 38098
2015-11-30 22:44:04 +00:00
Markus Scherer
3f4f8032d1 ICU-11986 UResource.Value.getAliasString(), sink.leave(), MeasureFormat use resource enumeration, store one data reference not pieces of that data
X-SVN-Rev: 38095
2015-11-19 22:56:12 +00:00
Michael Ow
e4126a0fb6 ICU-11979 Fix max char size for iso-2022-kr in icu4j
X-SVN-Rev: 38085
2015-11-17 23:05:18 +00:00
Andy Heninger
11da2bc073 ICU-11619 VTimeZone throws a ClassCastException when Zone ID unknown; move fixes from branch to trunk.
X-SVN-Rev: 38039
2015-10-07 00:32:46 +00:00
John Emmons
31ef2b0df7 ICU-11928 Fix NPEs in test framework (affects CLDR build)
X-SVN-Rev: 38011
2015-09-23 19:50:53 +00:00
Peter Edberg
6b23d8ac58 ICU-11929 (J) Rename MeasureUnit constants GENERIC, REVOLUTION
X-SVN-Rev: 38010
2015-09-23 18:37:20 +00:00
Yoshito Umaoka
2f09a06e26 ICU-11918 Excluded ISO-2022-KR check on IBM Java 8. Java ISO-2022-KR is broken in the latest IBM Java 8 release (8.0.1.10).
X-SVN-Rev: 38008
2015-09-23 18:31:46 +00:00
Yoshito Umaoka
c5324d571a ICU-11918 Added 56.1 serialization test data. Deleted 52.1 serialization test data.
X-SVN-Rev: 37998
2015-09-23 02:18:52 +00:00
Yoshito Umaoka
e3222a5716 ICU-11755 Excluded a couple of locales (ROOT and de_GR) from locale SPI test. __ICU4J does not make much sense, and de_GR is not supported by ICU4J.
X-SVN-Rev: 37990
2015-09-22 19:24:31 +00:00
Mark Davis
09b798d757 ICU-11861 Added immutable lists of skeletons for iteration, as @internal. Also added test to make sure that they are aligned with what is tested. Note that I reordered and added items to DateFormatTest to verify coverage and order.
X-SVN-Rev: 37984
2015-09-22 12:01:44 +00:00
Mark Davis
72e1610789 ICU-11898 fixed assertion and added test.
X-SVN-Rev: 37983
2015-09-22 11:23:13 +00:00
Yoshito Umaoka
e5105c7f84 ICU-11918 Fixed compiler warnings.
X-SVN-Rev: 37977
2015-09-22 00:32:25 +00:00
Scott Russell
d671fbb0c4 ICU-11572 API proposal updates for approved constants
X-SVN-Rev: 37962
2015-09-16 02:36:11 +00:00
Peter Edberg
24d0d779d2 ICU-11750 For Indic search: Allow match end at normalization boundary in middle of grapheme cluster (J)
X-SVN-Rev: 37952
2015-09-13 19:01:29 +00:00
Mark Davis
003c9da518 ICU-11738 Updated to handle string ranges.
X-SVN-Rev: 37943
2015-09-10 14:30:28 +00:00
Mark Davis
1f9540cce1 ICU-11803 added 'main', simplified code for easier debugging
X-SVN-Rev: 37942
2015-09-10 12:14:46 +00:00
Peter Edberg
eef3e8f0f7 ICU-11787 Add support for STANDARDCURRENCYSTYLE and locale u-ext key -cf- (J)
X-SVN-Rev: 37941
2015-09-10 07:01:41 +00:00
Craig Cornelius
266f4e8b67 ICU-11805 DecimalFormat missing negative sign in US locale formatToCharacterIterator
X-SVN-Rev: 37925
2015-09-09 20:52:52 +00:00
Markus Scherer
ea8111fe25 ICU-11447 better SpoofChecker.CheckResult.toString()
X-SVN-Rev: 37923
2015-09-09 19:29:17 +00:00
Mark Davis
ac4466583f ICU-11721 small fixes
X-SVN-Rev: 37919
2015-09-09 13:27:10 +00:00
Mark Davis
1fc1ceab55 ICU-11447 add toString. Just an override of existing API, so not an API change.
X-SVN-Rev: 37918
2015-09-09 13:14:46 +00:00
Mark Davis
2c7e3cfe4d ICU-11803 fixed (but see comments)
X-SVN-Rev: 37917
2015-09-09 13:04:56 +00:00
Mark Davis
c5396b67a2 ICU-8288 Looks like the code was fixed some time in the past, so just added test.
X-SVN-Rev: 37916
2015-09-09 12:45:06 +00:00
Mark Davis
d81ee368f0 ICU-11544 Made the main changes to bring it up to snuff with the CLDR data.
X-SVN-Rev: 37915
2015-09-09 12:30:26 +00:00
Travis Keep
16c1b96f5a ICU-11740 Final sync of C and J copies of data driven tests.
X-SVN-Rev: 37911
2015-09-09 00:10:38 +00:00
Craig Cornelius
1a6b2975d1 ICU-11808 Missing ArithmeticException when using ICU4J DecimalFormat
X-SVN-Rev: 37909
2015-09-08 23:39:59 +00:00
Peter Edberg
5dc7ebe25b ICU-11773 Withdraw COLON as pattern char, leave support for TIME_SEPARATOR_FIELD (J)
X-SVN-Rev: 37899
2015-09-08 02:21:22 +00:00
Craig Cornelius
2dfa676385 ICU-11784 Fix DecimalFormat FieldPosition for Field.CURRENCY
X-SVN-Rev: 37887
2015-09-04 21:58:03 +00:00
Markus Scherer
3b7d1aa8aa ICU-11879 change to child-first resource enumeration: avoid deserializing overridden resource values
X-SVN-Rev: 37865
2015-09-02 02:08:44 +00:00
George Rhoten
252f2a14e9 ICU-11653 Add more test cases for rounding in RBNF.
X-SVN-Rev: 37842
2015-08-28 18:14:04 +00:00
John Emmons
c0a1914073 ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37838
2015-08-27 21:04:13 +00:00
George Rhoten
be9d69bef6 ICU-11818 Implement PluralRules in fractional RBNF
X-SVN-Rev: 37824
2015-08-26 10:42:45 +00:00
George Rhoten
9a011771da ICU-11653 Override roundingMode API from the NumberFormat superclass so that it doesn't throw an exception.
X-SVN-Rev: 37812
2015-08-25 19:33:18 +00:00
George Rhoten
8653b95982 ICU-11760 Add rule syntax for NaN, infinity and alternate decimal points.
Some performance enhancements were added for good measure too.  Creating new RuleBasedNumberFormat objects can take a long time due to all the rule parsing.
 Also I fixed a potential infinite recursion problem when RuleBasedNumberFormat used NumberFormat.createInstance, which could occasionally depend on creating RuleBasedNumberFormat for itself, which was bad.

X-SVN-Rev: 37778
2015-08-17 08:38:34 +00:00
Fredrik Roubert
1b61660ea6 ICU-11789 Always specify class loader when loading test data.
X-SVN-Rev: 37758
2015-08-12 15:24:01 +00:00
Markus Scherer
9e0d7d9554 ICU-11537 move shared resource bundle string values to pool.res, .res formatVersion 3
X-SVN-Rev: 37732
2015-08-07 18:46:21 +00:00
Peter Edberg
4874d2eeaf ICU-11629 J, update MeasureUnit interfaces and tests for new units in CLDR 27/28
X-SVN-Rev: 37625
2015-06-28 01:41:07 +00:00
Yoshito Umaoka
18b3dfe72c ICU-11629
X-SVN-Rev: 37623
2015-06-26 20:15:08 +00:00
Peter Edberg
a1b8a08bf7 ICU-11706 (and #11726) Fix DateIntervalFormat handling of (1) skeletons with seconds, (2) FieldPosition (J)
X-SVN-Rev: 37615
2015-06-24 07:40:11 +00:00
Peter Edberg
f6d079eba2 ICU-11673 Add new Japanese name for Georgia to cjdict (J)
X-SVN-Rev: 37609
2015-06-23 02:16:43 +00:00
Peter Edberg
0a5fda54d1 ICU-11688 Add Thai words for "update" and "event" to dictionary (J)
X-SVN-Rev: 37607
2015-06-23 00:54:21 +00:00
Markus Scherer
c37aa4a6ab ICU-11574 Unicode 8.0 final data
X-SVN-Rev: 37549
2015-06-12 11:10:47 +00:00
John Emmons
c9e710c42b ICU-11728 First cut CLDR 28 data integration
X-SVN-Rev: 37523
2015-06-10 18:20:27 +00:00
Travis Keep
68597cddb7 ICU-10458 Add more data driven tests for parsing currency.
X-SVN-Rev: 37508
2015-06-09 18:02:40 +00:00
Yoshito Umaoka
bcdb602582 ICU-11692 Fixed a compilation error with Java runtime version 5 - replacing String#isEmpty() with String#length() == 0
X-SVN-Rev: 37500
2015-06-05 16:35:12 +00:00
Travis Keep
a1dcd14c0d ICU-10458 More data driven tests for parsing.
X-SVN-Rev: 37494
2015-06-03 16:41:42 +00:00
Travis Keep
7b7a214307 ICU-11692 DecimalFormat data driven tests for JAVA.
X-SVN-Rev: 37484
2015-06-01 20:28:39 +00:00
Markus Scherer
88e2877fd6 ICU-11574 near-final Unicode 8 data with new block API constants, code adjustments & fixes; svn merge --reintegrate branches/markus/uni80; plus Java port of C++ r37450 spoof data d6 update
X-SVN-Rev: 37474
2015-05-28 23:17:23 +00:00
Yoshito Umaoka
c6581d9c2f ICU-11677 Fixed numeric field detection method to return true for pattern Q up to two letters. The pattern letters constant were updated to match the corresponding C implementation (DateFormatSymbols:isNumericField(UDateFormatField,int32_t)). Uncommented TestQuarters which was commented previously for some reasons, and added the problematic abutting patterns - Qyy and QQyy in the test data.
X-SVN-Rev: 37452
2015-05-19 21:25:08 +00:00
Fredrik Roubert
4854bd6b67 ICU-11674 Make ULocale tests work better with Android.
ULocale has been updated to work with scripts and Unicode extensions in
the Android Locale, so the tests can be updated to expect this to behave
essentially like Java 7.

R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/235430043

X-SVN-Rev: 37432
2015-05-12 18:38:39 +00:00
Andy Heninger
b8a025a215 ICU-11635 Fix supplemental character handling bug in class IdentifierInfo.
X-SVN-Rev: 37427
2015-05-07 00:32:28 +00:00
Yoshito Umaoka
5cbba9e1f6 ICU-11630 tzdata2015d to ICU4J
X-SVN-Rev: 37400
2015-04-24 23:46:18 +00:00
Andy Heninger
fa38aa2c0b ICU-11608 remove lines with $ svn keywords
X-SVN-Rev: 37368
2015-04-20 20:50:26 +00:00
Andy Heninger
e599c1007e ICU-11609 set svn property eol-style native for more text files in icu4j.
X-SVN-Rev: 37365
2015-04-17 23:31:56 +00:00
Yoshito Umaoka
7daa0c8e78 ICU-11629 Updated ICU4J version to 56.0.1.
X-SVN-Rev: 37338
2015-04-15 16:41:47 +00:00
Michael Ow
997afd4ee2 ICU-11630 Update tzdata in ICU4J to 2015c
X-SVN-Rev: 37334
2015-04-14 21:23:40 +00:00
Travis Keep
2efcd46ee3 ICU-11580 Fix DateIntervalInfo descrepencies between C and J
X-SVN-Rev: 37325
2015-04-09 18:28:59 +00:00
Yoshito Umaoka
bc3b3a3916 ICU-11595 Merging locale matcher's fix from the work branch emmons/t11595 to trunk, with ICU4J data jar files regenerated from the ICU4C trunk.
X-SVN-Rev: 37295
2015-03-27 17:57:18 +00:00
Yoshito Umaoka
b72bd763eb ICU-11315 tzdata2015b updates in ICU4J.
X-SVN-Rev: 37267
2015-03-24 22:34:57 +00:00
Yoshito Umaoka
32271b5e29 ICU-11583 Fixed several issues in the previous commits. See #11583 comment:7 for the details.
X-SVN-Rev: 37230
2015-03-13 20:18:09 +00:00
Mark Davis
d43a9202f2 ICU-11583 remove spurious Objects in imports (with a cleanup)
X-SVN-Rev: 37228
2015-03-13 12:54:42 +00:00
Mark Davis
152bcd92c8 ICU-11583 fix resource loading for interval formats, plus add tests. There are some internal APIs for use by the tests also.
X-SVN-Rev: 37227
2015-03-13 07:09:17 +00:00
Yoshito Umaoka
d4975a1818 ICU-11565 Added ICU4J 55 API signature file. Added ICU4J 55 serializable test data and deleted ICU4J 51 serializable data.
X-SVN-Rev: 37218
2015-03-11 20:43:39 +00:00
Yoshito Umaoka
22dd5c9096 ICU-11565 Fixed Eclipse compiler warnings. Updated ICU4J project settings to detect [potentail] resource leak as warning, except icu-demos, icu-build-tools and icu-tools.
X-SVN-Rev: 37213
2015-03-11 18:54:31 +00:00
Yoshito Umaoka
d2598ad888 ICU-11565 BRS - organize import statements
X-SVN-Rev: 37207
2015-03-11 15:25:50 +00:00
Peter Edberg
8cfa7a0d29 ICU-11565 Update DRAFT_VERSIONS, ICU 53 MeasureUnit constants/createXxx are no longer draft
X-SVN-Rev: 37198
2015-03-10 07:37:08 +00:00
Mark Davis
1c46811b4d ICU-10488 fixes for review comments. See comment:10
X-SVN-Rev: 37191
2015-03-08 10:06:22 +00:00
John Emmons
1e423f49fd ICU-10750 Remove obsolete files from source/data/xml
X-SVN-Rev: 37188
2015-03-07 16:30:39 +00:00
John Emmons
1bf3215b3f ICU-11555 Integrate CLDR 27 data
X-SVN-Rev: 37170
2015-03-06 23:05:45 +00:00
Markus Scherer
dacf87f4de ICU-11392 sync a little with C++
X-SVN-Rev: 37161
2015-03-06 20:55:44 +00:00
Markus Scherer
c65fdec5e2 ICU-11392 make readLine() easier to use
X-SVN-Rev: 37157
2015-03-06 19:46:43 +00:00
Peter Edberg
85f525d004 ICU-9043 Using 'r' to avoid ambiguity in Chinese cal date parsing, re-enable test
X-SVN-Rev: 37142
2015-03-05 05:07:29 +00:00
Peter Edberg
f28e3cf98b ICU-10936 J umalqura: Speedup for IslamicCalendar.yearStart, add conversion accuracy tests
X-SVN-Rev: 37141
2015-03-05 04:10:35 +00:00
Scott Russell
5f81c8793b ICU-10426 rename IslamicCalendar#setType() to IslamicCalendar#setCalculationType()
X-SVN-Rev: 37134
2015-03-04 22:16:24 +00:00
Markus Scherer
9c9d176d56 ICU-11500 test framework: always print both exception message and stack trace
X-SVN-Rev: 37130
2015-03-04 20:05:26 +00:00
Peter Edberg
8242b3914c ICU-11019 J: Add Thai words for "browser" and "post" to dictionary
X-SVN-Rev: 37127
2015-03-04 07:20:48 +00:00
Peter Edberg
3765b3d130 ICU-11510 J: Support narrow AM/PM "aaaaa" for date format and parse
X-SVN-Rev: 37125
2015-03-04 06:27:56 +00:00
Markus Scherer
0918e9e5f7 ICU-11392 data-driven collation test: failed Collator creation skips over its test cases then continues testing; simplify test case syntax error handling
X-SVN-Rev: 37113
2015-03-03 19:38:46 +00:00
George Rhoten
52f0fc8a17 ICU-11532 Infinite loop while parsing an RBNF rule with plural format
X-SVN-Rev: 37106
2015-03-02 03:27:18 +00:00
Mark Davis
2b9fe640f1 ICU-10488 add some non-canonical names
X-SVN-Rev: 37104
2015-02-28 15:22:32 +00:00
Mark Davis
7b66f26a10 ICU-10488 Add api for locale display list
X-SVN-Rev: 37103
2015-02-28 15:06:42 +00:00
Mark Davis
d8dbf52acc ICU-11099 Add @internal API for now.
X-SVN-Rev: 37102
2015-02-28 14:16:06 +00:00
Markus Scherer
1ecb2eb325 ICU-11546 same input text for ICU and JDK
X-SVN-Rev: 37095
2015-02-27 22:14:09 +00:00
Peter Edberg
f695444816 ICU-11539 J: Delete Calendar fields TIME_SEPARATOR, RELATED_YEAR; adjust accordingly
X-SVN-Rev: 37090
2015-02-27 08:59:59 +00:00
Markus Scherer
87b4d34774 ICU-11546 test lead surrogate in the middle not at the end
X-SVN-Rev: 37089
2015-02-27 03:28:12 +00:00
Andy Heninger
56459a99d9 ICU-11446 Spoof Checker data update: use MA table only.
X-SVN-Rev: 37072
2015-02-26 02:04:11 +00:00
Yoshito Umaoka
c679a56ba1 ICU-11505 Made -u as default option of the test framework, added -hex to escape non-ASCII characters.
X-SVN-Rev: 37065
2015-02-25 07:50:46 +00:00
Peter Edberg
33de7d60b8 ICU-9379 J: Update BreakIterator createInstance to handle linebreak variant files; update tests
X-SVN-Rev: 37060
2015-02-24 22:38:03 +00:00
Peter Edberg
f149f89059 ICU-10761 J: pre-integrate changes per cldrbug 8048: to use 'r' in chinese calendar formats
X-SVN-Rev: 37053
2015-02-23 16:46:39 +00:00
Yoshito Umaoka
aac5b528c8 ICU-11501 Removed -nothrow option handling code in the test framework. The option is still accepted, but it has no effects.
X-SVN-Rev: 37052
2015-02-23 13:23:44 +00:00
Yoshito Umaoka
df67b1a7d0 ICU-11540 The previous fix broke the CoverageTest execution on Eclipse IDE (file: protocol). I reverted the change, and reverted #11521, and fixed the original issue in a different way.
X-SVN-Rev: 37051
2015-02-23 13:03:38 +00:00
Yoshito Umaoka
5596090680 ICU-11540 Fixed a serialization coverage test problem introduced by the recent fix for JarURLHandler(#11521).
X-SVN-Rev: 37050
2015-02-23 10:32:00 +00:00
Peter Edberg
154ad1a4bd ICU-10761 J: Basic support for date pattern character 'r', date field RELATED_YEAR
X-SVN-Rev: 37047
2015-02-22 08:20:18 +00:00
Fredrik Roubert
d8b9e7ecaa ICU-11463 ICU4J ought to always close() resources
R=yoshito_umaoka@us.ibm.com

Review URL: https://codereview.appspot.com/199390043

X-SVN-Rev: 37034
2015-02-13 20:16:22 +00:00
Fredrik Roubert
9aadd6b1e9 ICU-11467 Define the 'r' pattern char and the RELATED_YEAR field.
For compatibility with ICU4C, the RELATED_YEAR field should be defined
as the field preceding the TIME_SEPARATOR field but by mistake support
for the TIME_SEPARATOR field has already been implemented in ICU4J
without first defining the RELATED_YEAR field.

This change therefore reorders the existing TIME_SEPARATOR field and
adds definitions (without any underlying implementation) for the 'r'
pattern char and the RELATED_YEAR field.

R=markus.icu@gmail.com,pedberg@apple.com

Review URL: https://codereview.appspot.com/198460043

X-SVN-Rev: 37032
2015-02-13 18:20:21 +00:00
Yoshito Umaoka
92932143be ICU-11315 tzdata2015a updates in ICU4J.
X-SVN-Rev: 37005
2015-02-03 23:55:23 +00:00
Markus Scherer
6f38f0a727 ICU-11498 TestCharsetDetector: hardcode ISO-2022-CN bytes in CharsetDetectionTests.xml and do not check roundtrip conversion for it
X-SVN-Rev: 36998
2015-02-02 22:53:15 +00:00
Markus Scherer
07fb5920cc ICU-11497 TestCharset.TestEncoderCreation: explicitly create one Charset from ICU, be lenient about implementation of another Charset
X-SVN-Rev: 36993
2015-01-29 21:23:36 +00:00
Markus Scherer
0acf60d3e0 ICU-11479 do not ask the Java system what the canonical name should be, just figure it out from ICU data
X-SVN-Rev: 36982
2015-01-22 20:40:30 +00:00
Fredrik Roubert
c65976304f ICU-11491 adjust Java version check for Android.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/194320043

X-SVN-Rev: 36978
2015-01-21 21:46:16 +00:00
Yoshito Umaoka
2e44f6274f ICU-11487 Fixed lookup trie initialization problem in TZDBTimeZoneNames.
X-SVN-Rev: 36977
2015-01-21 19:51:06 +00:00
Markus Scherer
ebc8fc083f ICU-11486 do not rely on javax.xml.datatype.DatatypeFactory, manually build good-enough-for-this-test Duration objects
X-SVN-Rev: 36976
2015-01-21 18:45:57 +00:00
Markus Scherer
1604e1772d ICU-11479 precompute Java canonical names for not-only-ICU Charsets, make CharsetProviderICU all-static again (see ticket #9973), simplify some test code
X-SVN-Rev: 36966
2015-01-16 17:35:52 +00:00
Fredrik Roubert
6572a72c63 ICU-11474 Identify Android as a Java vendor in unit tests.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/189550043

X-SVN-Rev: 36961
2015-01-15 10:45:08 +00:00
Fredrik Roubert
0f41ec3319 ICU-11464 TestFmwk should log closing brace lines for empty tests.
Review URL: https://codereview.appspot.com/191480043

X-SVN-Rev: 36927
2015-01-07 18:39:29 +00:00
Markus Scherer
e65a679a26 ICU-11449 reorder single scripts not groups, scripts/groups can start on top-16-bit boundaries, data formatVersion 5 for new scripts data and optional reorderRanges appended to reorderCodes
X-SVN-Rev: 36925
2015-01-07 03:49:20 +00:00
Yoshito Umaoka
179ab63238 ICU-11466 Added a word break test case for Hangul, starting with Latin text. Such case did not work well with ICU4J 52, but works fine with other ICU versions.
X-SVN-Rev: 36916
2015-01-06 19:03:26 +00:00
Markus Scherer
6c0fcd7a64 ICU-11448 collation common tertiary weights for normal Hiragana, change builder to cope with below-common tertiary weights
X-SVN-Rev: 36907
2014-12-27 00:39:08 +00:00
Fredrik Roubert
a897801e80 ICU-11018 Support CLDR time separator (ICU4J)
This change will treat the ':' character in patterns as a symbol
(instead of as a literal) and if the Locale defines timeSeparator then
use that character instead when formatting and accept both when parsing.

It will also define the '.' as an alternate time separator, that will be
accepted when parsing in lenient mode.

R=rocketman@google.com

Review URL: https://codereview.appspot.com/180370043

X-SVN-Rev: 36898
2014-12-19 07:20:14 +00:00
Travis Keep
4cbb21d8b5 ICU-11445 Bring per unit formatting in MeasureFormat out of tech preview.
X-SVN-Rev: 36885
2014-12-17 22:19:45 +00:00
Yoshito Umaoka
1477b9b8a2 ICU-11314 Updated a test case for JDK TimeZone test. With JDK TimeZone, ignore the dicrepancy between setRawOffset and getRawOffset.
X-SVN-Rev: 36861
2014-12-11 18:58:07 +00:00
Markus Scherer
cf3eb94a4e ICU-10829 simplify U+FFFE collation: U+FFFE use common non-primary weights, adjust code for that, test order of U+FFFE equivalent to CollationKey.merge() but not necessarily same sort keys, omit case level if lowerFirst and only common weights
X-SVN-Rev: 36857
2014-12-11 17:17:03 +00:00
Yoshito Umaoka
7ce10f73cf ICU-11314 Fixed compiler/FindBugs warnings.
X-SVN-Rev: 36855
2014-12-11 17:03:23 +00:00
Yoshito Umaoka
bf9e8ef636 ICU-11314 BRS - organize imports
X-SVN-Rev: 36854
2014-12-11 16:42:53 +00:00
John Emmons
d8e5b70769 ICU-11417 CLDR 27 data integration for ICU55M1
X-SVN-Rev: 36851
2014-12-11 16:16:10 +00:00
Yoshito Umaoka
22ec77242f ICU-11415 Fixed a locale display name issue with a currency keyword.
X-SVN-Rev: 36840
2014-12-10 09:08:03 +00:00
Travis Keep
073e9eeb6f ICU-10569 Add test to verify that equals and hashCode on Measure work correctly.
X-SVN-Rev: 36838
2014-12-10 00:43:17 +00:00
Travis Keep
21b7a7e13d ICU-11383 Remove ScientificFormatHelper JAVA
X-SVN-Rev: 36825
2014-12-08 23:22:14 +00:00
Markus Scherer
ba2a065004 ICU-10823 ICUResourceBundle add & support enum OpenType, use OpenType.LOCALE_ROOT for Collator & BreakIterator, also change default locale to root for those services
X-SVN-Rev: 36818
2014-12-08 17:54:11 +00:00
Yoshito Umaoka
5d46e56bbd ICU-11411 Fixed problematic hardcoded JDK Locale mapping for ULocale Chinese constants.
X-SVN-Rev: 36814
2014-12-05 23:48:28 +00:00
Yoshito Umaoka
a2581f458c ICU-11363 Thread#join() to the main test thread after start.
X-SVN-Rev: 36802
2014-12-02 23:08:38 +00:00
Markus Scherer
f037dbecdd ICU-11388 fix bug in CollationFastLatinBuilder
X-SVN-Rev: 36781
2014-11-30 19:55:58 +00:00
Travis Keep
83db643252 ICU-10952 Add JAVA ScientificNumberFormatter class.
X-SVN-Rev: 36749
2014-11-18 19:22:33 +00:00
Markus Scherer
8dc1c4d704 ICU-11375 ICU root collation: remove Cyrillic contractions
X-SVN-Rev: 36736
2014-11-17 00:42:16 +00:00
Yoshito Umaoka
a554fd430a ICU-11363 Updated SimpleDateFormat clone implementation to create a copy of an array used for numeric field formatting.
X-SVN-Rev: 36729
2014-11-13 18:50:44 +00:00
Yoshito Umaoka
d6ccf6dab0 ICU-11315 tzdata2014j updates in ICU4J.
X-SVN-Rev: 36719
2014-11-11 19:08:49 +00:00
Yoshito Umaoka
b92612d82b ICU-11315 tzdata2014i updates in ICU4J.
X-SVN-Rev: 36692
2014-10-24 05:17:30 +00:00
Markus Scherer
a3e0dc1530 ICU-11342 cast CharBuffer to CharSequence before calling .subSequence()
X-SVN-Rev: 36682
2014-10-20 21:08:42 +00:00
Andy Heninger
5757929922 ICU-11245 Minor cleanup of RBBI Line Monkey test.
X-SVN-Rev: 36670
2014-10-10 18:18:31 +00:00
Andy Heninger
44d9a9692b ICU-11245 RBBI Line monkey test, add dictionary character exclusion, renable excluded test.
X-SVN-Rev: 36666
2014-10-09 23:19:21 +00:00
Yoshito Umaoka
7fd935bf5e ICU-11314 Updated ICU4J trunk version to 55m1.
X-SVN-Rev: 36656
2014-10-09 15:25:12 +00:00
Steven R. Loomis
b39fb3766a ICU-11310 fix Easter holiday
Easter had a simple logic error. 
Also fix the test cases to hit the error.
Also fix the HolidayCalendarDemo to assert an issue if the error shows up
Also fix the copyright string to be dynamic.

X-SVN-Rev: 36654
2014-10-09 05:19:18 +00:00
Yoshito Umaoka
339f14fbd6 ICU-10898 tzdata2014h updates in ICU4J
X-SVN-Rev: 36593
2014-09-26 20:09:51 +00:00
Andy Heninger
050f986b4a ICU-11262 Spoof check data refresh (ICU4J).
X-SVN-Rev: 36554
2014-09-17 23:41:32 +00:00
Yoshito Umaoka
f0ff703aa8 ICU-10993 Added ICU4J 54 serializable test data.
X-SVN-Rev: 36525
2014-09-16 09:12:35 +00:00
Michael Ow
cc637f84bd ICU-10551 Fix the error message print out of code points
X-SVN-Rev: 36509
2014-09-15 19:05:34 +00:00
Michael Ow
cd0b3fa10b ICU-10551 Fix default ignorable test result checking
X-SVN-Rev: 36508
2014-09-15 19:03:14 +00:00
Yoshito Umaoka
bebdcfcc40 ICU-10993 Clean up import statements.
X-SVN-Rev: 36504
2014-09-15 17:32:08 +00:00
Mark Davis
d5c8fa0e9f ICU-9131 Final batch of changes for review comments.
X-SVN-Rev: 36501
2014-09-14 10:06:23 +00:00
Mark Davis
1d5dbc0af9 ICU-9131 First batch of fixes for review comments. More to come.
X-SVN-Rev: 36500
2014-09-13 12:08:00 +00:00
Mark Davis
c37851c95d ICU-9795 Fixed to throw different exception, and added test.
X-SVN-Rev: 36496
2014-09-13 08:25:46 +00:00
Travis Keep
747da3e356 ICU-10999 Mark Davis' review comments.
X-SVN-Rev: 36487
2014-09-12 18:17:11 +00:00
John Emmons
c900a96dd0 ICU-11251 Last minute CLDR data changes
X-SVN-Rev: 36476
2014-09-11 22:25:26 +00:00
Travis Keep
8000374854 ICU-11009 Apply andy's code review comments.
X-SVN-Rev: 36471
2014-09-11 19:36:36 +00:00
Travis Keep
02f78e8bbb ICU-11250 Add test for SimplePatternFormatter.getPatternWithNoPlaceholders.
X-SVN-Rev: 36465
2014-09-11 17:31:56 +00:00
Travis Keep
b2d06e91fc ICU-10999 Add JAVA version of per unit measure formatting.
X-SVN-Rev: 36464
2014-09-11 17:06:37 +00:00
Michael Ow
1a2ae33299 ICU-10551 Update test to check non-ignorable codepoints and fix comments
X-SVN-Rev: 36444
2014-09-10 23:24:50 +00:00
Yoshito Umaoka
509d9757b0 ICU-8951 Feedback from Markus's review - fixed regex pattern for legacy key, and one typo in comment.
X-SVN-Rev: 36435
2014-09-10 18:33:12 +00:00
Peter Edberg
86d38b1d53 ICU-10695 (J) Update/expand UMALQURA_MONTHLENGTH, handleComputeMonthStart fix for tbla
X-SVN-Rev: 36406
2014-09-09 10:28:43 +00:00
Yoshito Umaoka
8b78bd0e84 ICU-10993 Fixed javac/eclipse compiler warnings, and issues reported by FindBugs.
X-SVN-Rev: 36404
2014-09-09 08:01:41 +00:00
Peter Edberg
916350e26d ICU-10326 Better way to check characters for Myanmar script to skip test
X-SVN-Rev: 36403
2014-09-09 04:35:01 +00:00
Peter Edberg
5fc2d494f8 ICU-10326 Add dictionary-based word/line break for Burmese/Myanmar (J), logKnownIssue #11245
X-SVN-Rev: 36401
2014-09-09 03:20:53 +00:00
Yoshito Umaoka
d7dabc7c06 ICU-11029 Merging ICU4J implementation of filtered break iterator (ULI break) as technology preview from the work branch.
X-SVN-Rev: 36398
2014-09-08 22:30:08 +00:00
Peter Edberg
6c88c14138 ICU-9385 DateFormatSymbols getters/setters for yearNames, zodiacNames, leapMonthPatterns (J)
X-SVN-Rev: 36387
2014-09-08 07:17:50 +00:00
Peter Edberg
823e3a9372 ICU-10995 Test formatting negative currency without minus sign (J)
X-SVN-Rev: 36383
2014-09-07 20:42:42 +00:00
Peter Edberg
38a5062157 ICU-10872 Fix en_US_POSIX word break for colon (J)
X-SVN-Rev: 36380
2014-09-07 07:05:16 +00:00
Peter Edberg
fb4d6e1222 ICU-10968 Add DisplayContext.Type.DISPLAY_LENGTH and values for it, implement support (J)
X-SVN-Rev: 36378
2014-09-07 06:22:43 +00:00
Peter Edberg
f35551771f ICU-11173 CLDR tags/release-26-d03 into ICU4J trunk, remove logKnownIssue 11219, fix test for cldrbug:7868
X-SVN-Rev: 36376
2014-09-06 06:14:06 +00:00
Travis Keep
4b779c18ee ICU-11223 Enable unit tests for ICU4J RelativeDateTimeFormatter.
X-SVN-Rev: 36364
2014-09-05 20:51:45 +00:00
Yoshito Umaoka
fcb77cf738 ICU-10993 Synchronize ICU4J test data with ICU4C (to update ICU version # in DebugUtilitiesData)
X-SVN-Rev: 36359
2014-09-05 14:40:58 +00:00
Yoshito Umaoka
5f7178754d ICU-10898 tzdata2014g updates in ICU4J
X-SVN-Rev: 36343
2014-09-04 15:36:37 +00:00
Travis Keep
4db139b786 ICU-11221 Add new MeasureUnits to ICU.
X-SVN-Rev: 36337
2014-09-03 21:19:21 +00:00
Yoshito Umaoka
7952938f2e ICU-10785 Accidentally commented out the change for testing in the previous commit. Uncomment these lines.
X-SVN-Rev: 36331
2014-09-03 16:00:33 +00:00
Yoshito Umaoka
d5b4428971 ICU-10785 Abort test execution when OOM is once thrown.
X-SVN-Rev: 36327
2014-09-03 14:49:30 +00:00
Peter Edberg
6dc89ee267 ICU-11173 Update logKnownIssue #11234 in NumberRegression/Test4212072 to include locale "bm"
X-SVN-Rev: 36317
2014-09-03 02:52:13 +00:00
Yoshito Umaoka
9e14f0bb18 ICU-8951 Minor updates including additional test cases.
X-SVN-Rev: 36316
2014-09-02 23:41:52 +00:00
Peter Edberg
313feb8f81 ICU-11173 CLDR tags/release-26-d01 into ICU4J trunk with related test & lib code updates
X-SVN-Rev: 36311
2014-09-02 22:46:20 +00:00
Scott Russell
64fc4a44d0 ICU-10970 Support decimal point required
X-SVN-Rev: 36301
2014-08-30 23:12:15 +00:00
Mark Davis
6dfe296e91 ICU-9447 Fix remapping of warning
X-SVN-Rev: 36299
2014-08-30 09:11:24 +00:00
Markus Scherer
56e05e2809 ICU-10883 UTS 46 toUnicode set error for empty label including just xn--
X-SVN-Rev: 36296
2014-08-29 23:06:27 +00:00
Markus Scherer
c3a2e7c783 ICU-10889 test UCharacter.getCharFromExtendedName() edge cases
X-SVN-Rev: 36294
2014-08-29 21:31:47 +00:00
Markus Scherer
c770e4d458 ICU-10751 AnyScriptTest/TestScripts logKnownIssue(11171)
X-SVN-Rev: 36290
2014-08-29 17:56:50 +00:00
Mark Davis
f838029625 ICU-10467 Fix the freezables with volatile.
X-SVN-Rev: 36288
2014-08-29 14:45:47 +00:00