Commit Graph

1628 Commits

Author SHA1 Message Date
Markus Scherer
14c2ede1d8 ICU-12450 move com.ibm.icu.impl.MultiComparator to org.unicode.cldr.util
X-SVN-Rev: 38660
2016-04-27 23:48:14 +00:00
Markus Scherer
8f7dd3149c ICU-12510 set the UResource.Sink.put() Key more simply from the key field of the bundle
X-SVN-Rev: 38654
2016-04-27 16:17:11 +00:00
Markus Scherer
87a89d4df0 ICU-12510 set the UResource.Sink.put() Key for the enumeration-start resource
X-SVN-Rev: 38652
2016-04-26 22:46:01 +00:00
Markus Scherer
0157724f4a ICU-12510 resource data enumeration: get array/table objects from Value, iterate with nested code & functions not by returning nested sinks; use this in DateTimePatternGenerator.DayPeriodAllowedHoursSink
X-SVN-Rev: 38646
2016-04-25 21:34:36 +00:00
Markus Scherer
70edfed042 ICU-12450 remove unused StringUCharacterIterator
X-SVN-Rev: 38640
2016-04-22 17:30:52 +00:00
Markus Scherer
56421e3958 ICU-12450 move com.ibm.icu.impl.Differ to org.unicode.cldr.util.Differ; fork off com.ibm.icu.dev.demo.translit.IntDiffer for use in the translit.Demo
X-SVN-Rev: 38634
2016-04-19 22:15:27 +00:00
Markus Scherer
0c679d6a00 ICU-11764 8 new script codes for Unicode 9 & CLDR 29
X-SVN-Rev: 38609
2016-04-08 22:24:34 +00:00
Markus Scherer
bc785127a3 ICU-12446 fix typo
X-SVN-Rev: 38605
2016-04-07 00:17:35 +00:00
Markus Scherer
f4376e1e6f ICU-12446 UResource sink size: move into new enter(size) method
X-SVN-Rev: 38604
2016-04-06 23:40:59 +00:00
Markus Scherer
62c1d90b17 ICU-12423 merge in coverage tests for several classes from branches/fabalbon/56-1-test-coverage
X-SVN-Rev: 38601
2016-04-05 20:43:46 +00:00
kazède king
18268b8bae ICU-12275 use the new enumeration mechanism
X-SVN-Rev: 38595
2016-03-31 21:23:50 +00:00
Stuart Gill
aeff22719e ICU-11621 Changes in response to code review
X-SVN-Rev: 38594
2016-03-31 21:06:49 +00:00
Stuart Gill
1e38653868 ICU-11621 Changes in response to code review
X-SVN-Rev: 38592
2016-03-29 22:21:43 +00:00
Craig Cornelius
16557dbe12 ICU-12351 Add missing field position data in DecimalFormat
X-SVN-Rev: 38544
2016-03-21 17:18:32 +00:00
Stuart Gill
21d60734f6 ICU-11621 Fix for decimal not showing when no fraction but always show decimal separator set
X-SVN-Rev: 38535
2016-03-17 23:22:32 +00:00
Yoshito Umaoka
f486f67188 ICU-12186 Changed SimpleDateFormat#matchDayPeriodString from @internal protected to private, so it won't show up in the API reference doc.
X-SVN-Rev: 38505
2016-03-08 18:24:17 +00:00
Yoshito Umaoka
111a79ab31 ICU-12186 Fixed a couple of API status problems and regenerated API change report. Updated/corrected version and year strings in some files.
X-SVN-Rev: 38501
2016-03-08 00:16:56 +00:00
Yoshito Umaoka
3af51fe196 ICU-12186 Fixed Eclipse compiler warnings - mostly javadoc warnings.
X-SVN-Rev: 38496
2016-03-05 01:31:16 +00:00
Peter Edberg
bbf481e0c3 ICU-12072 J, tabs -> spaces
X-SVN-Rev: 38494
2016-03-04 22:39:03 +00:00
kazède king
c5fba6be2b ICU-11872 suppress output of "midnight" in formatting (Java)
X-SVN-Rev: 38488
2016-03-04 18:35:26 +00:00
Peter Edberg
b9759e7cce ICU-12072 J, Updates per review comments
X-SVN-Rev: 38483
2016-03-04 06:40:50 +00:00
Scott Russell
6d565a1d0c ICU-12186 organize imports
X-SVN-Rev: 38475
2016-03-03 16:14:06 +00:00
Scott Russell
b4319fbd64 ICU-12186 update ICU4J version number
X-SVN-Rev: 38474
2016-03-03 15:51:43 +00:00
Scott Russell
3fb3162cce ICU-12186 merge API promotion branch and update APIChangeReport
X-SVN-Rev: 38473
2016-03-03 04:17:43 +00:00
Markus Scherer
54ca0ab18c ICU-11952 match whole select part string, not just prefix
X-SVN-Rev: 38456
2016-03-01 23:47:06 +00:00
Markus Scherer
cbf6464079 ICU-12067 withdraw getter & setter for TIME_SEPARATOR date/time field
X-SVN-Rev: 38450
2016-03-01 18:49:43 +00:00
Yoshito Umaoka
a48cbfd993 ICU-12005 Fixed doc build problem with JDK 8. Added a build target 'docsStrict' which does all jlint check. Changed numeric character references in API doc with raw code points, so javadoc does not invalidate them in doclint.
X-SVN-Rev: 38444
2016-03-01 05:14:36 +00:00
Markus Scherer
93256d3f9e ICU-12067 withdraw TIME_SEPARATOR date/time field
X-SVN-Rev: 38441
2016-02-29 22:18:03 +00:00
Peter Edberg
d6562226e7 ICU-12154 J, update test & API doc for LocaleDisplayNames handling of bad locale IDs
X-SVN-Rev: 38428
2016-02-28 23:50:12 +00:00
Peter Edberg
d40857eaed ICU-12156 J, for locale disp name trailing parts, use internal methods that don't adjust for context
X-SVN-Rev: 38424
2016-02-28 20:14:07 +00:00
Andy Heninger
b552700cc6 ICU-12081 RBBI extensions & Emoji rules. Import rule data to Java from C++, port code changes.
X-SVN-Rev: 38422
2016-02-28 19:14:48 +00:00
John Emmons
d24c540196 ICU-10910 Compact currency formatting support
X-SVN-Rev: 38414
2016-02-27 02:47:37 +00:00
Scott Russell
8f598f6746 ICU-12005 Fix numerous warnings / errors from Javadoc generation
X-SVN-Rev: 38385
2016-02-26 21:14:36 +00:00
Craig Cornelius
54d140d51c ICU-11735 Fix to return null in currency parsing when no currency symbol is present.
X-SVN-Rev: 38375
2016-02-25 23:22:08 +00:00
kazède king
63aa3ea44f ICU-11872 fix build errors
X-SVN-Rev: 38374
2016-02-25 21:42:52 +00:00
kazède king
de148065c2 ICU-11872 new time formatting pattern chars b/B
Merging from the branch.

X-SVN-Rev: 38371
2016-02-25 19:53:49 +00:00
Mark Davis
633a219737 ICU-11872 Added code to do the pattern generation part of the new day periods.
X-SVN-Rev: 38363
2016-02-25 16:03:26 +00:00
Steven R. Loomis
e0ab17b728 ICU-12055 remove NPE from FilteredBreakIteratorBuilder
X-SVN-Rev: 38361
2016-02-25 01:39:48 +00:00
Felipe Balbontín
c08ea1df96 ICU-12013 Refactor DateIntervalFormat resource data loading using the sink on ICU4J.
X-SVN-Rev: 38357
2016-02-24 23:45:42 +00:00
Yoshito Umaoka
82801c4b0a ICU-12003 User more links to actual Java classes in ICU API doc.
X-SVN-Rev: 38348
2016-02-24 22:01:37 +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
abe480ef9e ICU-12085 Implement J support for new CLDR locale key "rg"
X-SVN-Rev: 38313
2016-02-16 07:11:10 +00:00
Yoshito Umaoka
f74ad54c81 ICU-12170 Regenerated ICU4J data with ICU4C/r38309. Revereted the patch for transform extension x0 which was temporarily made for 57m1.
X-SVN-Rev: 38310
2016-02-15 17:28:47 +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
7bd3bee5d6 ICU-12084 Fixed javadoc warnings and updated API change report for 57m1.
X-SVN-Rev: 38238
2016-01-30 06:42:15 +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
Fredrik Roubert
932aa99948 ICU-12018 Add missing * in Javadoc syntax.
X-SVN-Rev: 38216
2016-01-28 19:51:38 +00:00
Craig Cornelius
813980f620 ICU-11989 API doc fix
X-SVN-Rev: 38214
2016-01-28 19:45:33 +00:00
Peter Edberg
3c2bc322c2 ICU-12016 Correct author tags in some ICU4J files
X-SVN-Rev: 38201
2016-01-27 00:02:14 +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
Michael Ow
7151f52fc8 ICU-12084 Update version number to 57m1 in ICU4J
X-SVN-Rev: 38187
2016-01-21 20:08:17 +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
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
Markus Scherer
f6296491cc ICU-12041 check that per-unit patterns have one placeholder, fix patterns
X-SVN-Rev: 38140
2015-12-16 22:29:44 +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
Markus Scherer
cab8879780 ICU-12030 move some code to QuantityFormatter so that PluralRules does not depend on NumberFormat and to be more parallel with C++
X-SVN-Rev: 38135
2015-12-16 04:30:48 +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
fa027da0f7 ICU-12030 MeasureFormat handle by-plural-form sideways-aliasing, by not bundling plural forms into a QuantityFormatter, reintegrate from ^/icu4j/branches/markus/sideways
X-SVN-Rev: 38122
2015-12-11 21:02:02 +00:00
Mark Davis
ad6035c5c2 ICU-4229 Initial cut at reading the CLDR from the resources, for use in validation. The main() has some quick check that will be separated into a test class.
X-SVN-Rev: 38118
2015-12-10 17:40:58 +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
670241f8d6 ICU-12010 Fixed a typo @returns in the previous commit.
X-SVN-Rev: 38100
2015-12-01 05:36:12 +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
Yoshito Umaoka
f387438e17 ICU-12010 Fixed some minor API doc issues.
X-SVN-Rev: 38097
2015-11-30 17:08:04 +00:00
Markus Scherer
6c1ba0d58e ICU-11986 slightly nicer QuantityFormatter.getPluralIndex(), avoid key.toString() for it
X-SVN-Rev: 38096
2015-11-20 17:36:23 +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
Markus Scherer
d1b77c4e66 ICU-11986 rename ICUResource to UResource, consistent with UResourceBundle, in case we want to make the resource enumeration public
X-SVN-Rev: 38088
2015-11-18 00:19:31 +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
Scott Russell
f3f355943b ICU-11918 refresh API change report & API sig, fix for missing file for formatTests module test, and cleanup LocaleMatcher API change
X-SVN-Rev: 38017
2015-09-23 22:01:29 +00:00
Michael Ow
953f033293 ICU-11869 Update 2022 code in ICU4J
X-SVN-Rev: 38013
2015-09-23 20:47:33 +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
Michael Ow
7ecac51d1c ICU-11869 Port ICU4C fix to ICU4J
X-SVN-Rev: 38007
2015-09-23 17:29:48 +00:00
Scott Russell
99f4e9be82 ICU-11918 LocaleMatcher API change reverted back to public but marked @internal as per Mark
X-SVN-Rev: 38006
2015-09-23 17:21:42 +00:00
Scott Russell
406f9aef1a ICU-11918 clean-up LocaleMatcher API and turn off doclint html check if V8
X-SVN-Rev: 38004
2015-09-23 13:25:42 +00:00
Yoshito Umaoka
bbf7a2da42 ICU-11918 Removed @author tag in a couple of methods in TimeZoneNames.java. @author cannot be used in method documentation.
X-SVN-Rev: 38000
2015-09-23 04:11:08 +00:00
Yoshito Umaoka
79d8e92f14 ICU-11918 BRS - Clean up import statements
X-SVN-Rev: 37991
2015-09-22 20:56:14 +00:00
Yoshito Umaoka
9a3c2ba437 ICU-11861 Fixed compiler warnings introduced in the previous commit.
X-SVN-Rev: 37989
2015-09-22 17:06:11 +00:00
Scott Russell
990774fbd4 ICU-11918 ICU4J API promotion from draft to stable
X-SVN-Rev: 37985
2015-09-22 13:52:13 +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
Scott Russell
f57dc2ac03 ICU-11572 review updates
X-SVN-Rev: 37982
2015-09-22 04:17:27 +00:00
Yoshito Umaoka
e5105c7f84 ICU-11918 Fixed compiler warnings.
X-SVN-Rev: 37977
2015-09-22 00:32:25 +00:00
Scott Russell
4a0beedc03 ICU-11918 ICU4J version updates
X-SVN-Rev: 37973
2015-09-18 19:39:08 +00:00
Scott Russell
bdc5ce07b3 ICU-11572 API proposal updates for approved constants
X-SVN-Rev: 37963
2015-09-16 04:00:08 +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
Markus Scherer
8c5d68a7e0 ICU-11750 defer & simplify fetching code points from CharacterIterator, test normalization boundaries from both sides
X-SVN-Rev: 37958
2015-09-15 20:46:25 +00:00
Markus Scherer
c776894097 ICU-11738 minor fixes
X-SVN-Rev: 37957
2015-09-15 19:55:36 +00:00