Commit graph

8548 commits

Author SHA1 Message Date
Peter Edberg
d1dcb69318 ICU-21249 integrate CLDR release-38-beta2 to ICU trunk 2020-10-09 14:54:02 -07:00
yumaoka
0080c0c5e7 ICU-21325 tz database 2020b updates 2020-10-09 12:49:15 -04:00
Markus Scherer
b74b0c957e ICU-20901 VersionInfo.compareTo() compare signed version int as unsigned 2020-10-02 13:08:47 -07:00
Elango Cheran
c4fa504fec ICU-21249 BRS68RC Remaining updates for Readmes for ICU4C and ICU4J 2020-10-01 17:57:16 -07:00
Craig Cornelius
a61c6ff23a ICU-21249 API Change Reports for C++
See #1387
2020-10-01 12:55:49 -07:00
Yoshito Umaoka
9b9db682e1 ICU-21249 API signature file for ICU 68
Also fixed some API docs missing @provisional
2020-10-01 14:35:53 -04:00
Yoshito Umaoka
1d3277bfc2 ICU-21249 ICU4J 68 serialization test data 2020-10-01 13:29:02 -04:00
Yoshito Umaoka
69d1a465dc ICU-21249 Fixed warnings in last minute changes for 68RC 2020-10-01 13:28:22 -04:00
Hugo van der Merwe
a84fdd0e90 ICU-21266 Support toSkeleton() for all functional Unit Formatters
See #1347
2020-10-01 02:51:27 +02:00
Hugo van der Merwe
a08ac00c67 ICU-21304 Update old userguide links to unicode-org.github.io 2020-10-01 01:28:05 +02:00
Hugo van der Merwe
9cb611d09f ICU-20568 Improve negative measure handling for mixed units
See #1379
2020-10-01 00:12:09 +02:00
Yoshito Umaoka
8caba0e6c9 ICU-21249 Fixed some coding problems found by Spotbugs
See #1382
2020-09-30 15:55:29 -04:00
yumaoka
54e7bace04 ICU-21249 Fixing java/javadoc compiler warnings.
See #1381
2020-09-30 14:10:10 -04:00
yumaoka
61f0e16b11 ICU-21249 Fixing javadoc errors 2020-09-30 00:57:10 -04:00
Yoshito Umaoka
ad32263a23 ICU-21307 Java 7 compatibility support in ULocale.java
Recent code changes introduced String#join(...) method, which is available in Java 8 or newer release. We still need to support Java 7 as minimum runtime, we need to replace the method call with equivalent code. I added Utility#joinStrings(...) as temporary alternative until we change minimum Java version to 8 or later.
2020-09-29 20:24:20 -04:00
Yoshito Umaoka
2abe9369a6 ICU-21249 Fix API status tag issues 2020-09-29 18:42:55 -04:00
Yoshito Umaoka
b2edfb89cc ICU-21249 ICU 68 BRS - Clean up import statements 2020-09-29 13:17:51 -04:00
Yoshito Umaoka
802aedc659 ICU-21249 Update copy of LICENSE file in icu4j tree
Lao dictionally repo location was updated in LICENSE file in icu4c, but a copy in icu4j tree was not. Sync the icu4j copy with the icu4c one.
2020-09-29 12:14:25 -04:00
Yoshito Umaoka
b11e4bcba1 ICU-21249 ICU4J 68 API status updates
See https://docs.google.com/spreadsheets/d/1OIezmSf2mN-hiRnIrpwugCHTzCFIm_-GyeA3ng4QFP8
2020-09-29 09:12:29 -04:00
younies
9a06bdb651 ICU-21010 add the @draft to the public methods
See #1369
2020-09-26 22:17:50 +02:00
Markus Scherer
1c8bc80789 ICU-21249 restore tests of Version resources 2020-09-25 12:09:38 -07:00
Peter Edberg
43aa7ddda2 ICU-21249 integrate CLDR release-38-beta to ICU trunk 2020-09-25 09:33:13 -07:00
Hugo van der Merwe
81d43a2092 ICU-20568 Fix "1 foot 12 inches" behaviour
See #1337
2020-09-23 08:10:22 +02:00
Peter Edberg
3d8ae5eb6d ICU-20590 Ensure time format consistency for SHORT vs j patterns if no locale data 2020-09-22 22:50:36 -07:00
Elango Cheran
47230019c6 ICU-21270 Update FixedDecimal in Java to support exponent 2020-09-22 21:16:12 -07:00
Shane F. Carr
6b3a7a64ab ICU-21190 Adding PluralRules select for number ranges
See #1309
2020-09-22 15:49:30 -05:00
Frank Tang
12dc3772b1 ICU-21236 Correct Locale canonicalization
See #1254
2020-09-21 19:35:13 -07:00
Steven R. Loomis
e3a43c7fb8 ICU-21251 release icu4j.jar/utilities.jar to GH Maven
- on a release (created from Github), publish to
<https://github.com/unicode-org/icu/packages> as
    1. icu4j-for-cldr
    2. utilities-for-cldr
- also fix a doc bug in DecimalFormat
- this is intended for CLDR use.
- a tag such as 'cldr/2019-09-15' will turn into a
maven version '68.1-SNAPSHOT-cldr-2019-09-15'
2020-09-21 15:32:30 -05:00
Hugo van der Merwe
e3bb5e5f07 ICU-20568 Add .unit().usage() support to ICU4J NumberFormatter (2/2)
* Throw UnsupportedOperationException for "unsanctioned units"
* Deal with the parent issue for LongNameMultiplexer
* Fix NullPointerException: UnitConversionHandler.processQuantity must
  call fParent.processQuantity
* toSkeleton not supported for not-built-in units
* Add and use interface
  LongNameMultiplexer.ParentlessMicroPropsGenerator
* Match up C++ and Java unit tests in NumberFormatterApiTest.java
* Permit user-override of precision() for usage(), closes icu-units#95
* Use BogusRounder to propagate mathContext.
* Port C++ change from PR #1322, commit c84ded050a, to Java.
* Test the usage-without-unit error. Document it in
  NumberFormatterSettings.java
* General review and corrections.
2020-09-19 01:31:08 +02:00
younies
7ba2b48f7b ICU-20568 Add .unit().usage() support to ICU4J NumberFormatter (1/2) 2020-09-19 01:31:08 +02:00
Frank Tang
5769803253 ICU-21283 Fix Java for calendar bugs
This is the java port of ICU-21043 (for C++)
This PR fixes
ICU-21043 Erroneous date display in indian calendar of all dates prior to 0001-01-01.
ICU-21044 Hebrew Calendar calculation is incorrect when the year < 1
ICU-21045 Erroneous date display in islamic and islamic-rgsa calendars of all dates prior to 0622-07-18.
ICU-21046 Erroneous date display in islamic-umalqura calendar of all dates prior to -195366-07-23.

The problem in the IndianCalendarl is
ICU-21043 the gregorian/julain convesion is wrong. Swith to use the
calculation function in the Calendar class.

The problem in the HebrewCalendar is
ICU-21044 the use of bulit in / is wrong when the year or month could be < 1.

The problem in the IslamicCalendar is

ICU-21045: The math of % negative number for year and month is wrong.
Also add tests to exhaust test 8000 years for all calendar. In quick
mode, only test 2.5 years.

reduce the number of date in quick mode
2020-09-17 12:20:47 -07:00
Steven R. Loomis
6b35e70b68 ICU-20717 move small files out of lfs: .dat, .gz, .gif 2020-09-17 11:09:48 -07:00
Peter Edberg
7888b23e87 ICU-21249 integrate CLDR release-38-alpha2 to ICU trunk 2020-09-16 15:10:05 -07:00
Hugo van der Merwe
48cf3ace11 ICU-21287 Enable asserts for 'ant checkTest' 2020-09-16 23:43:04 +02:00
Shane F. Carr
b41f12065f ICU-21249 Fix TODOs to reference ICU-21284 instead of ICU-20920 2020-09-15 12:27:44 -05:00
younies
24a06cc33b ICU-20568 Implementation of UnitConverter, ComplexUnitConverter and UnitsRouter
See #1279
2020-09-15 18:03:02 +02:00
younies
d149031433 ICU-21010 MeasureUnit extension in Java
See #1275
2020-09-14 21:24:14 +04:00
Peter Edberg
74c66351d8 ICU-20651 add setContext/getContext for [U]DateIntervalFormat 2020-09-11 20:12:44 -07:00
Peter Edberg
b066f65a50 ICU-21249 integrate CLDR release-38-alpha1 to ICU trunk 2020-09-04 15:05:22 -07:00
Markus Scherer
9971c663ff ICU-21257 remove #License fragment from license URLs 2020-09-04 10:02:17 -07:00
Shane F. Carr
4f18ef2ef8 ICU-21258 Refactor code and tests for compact data known issue 2020-09-03 16:17:40 -07:00
Rich Gillam
edaebfa64e ICU-21155 Add support for all hour and day-period skeleton characters to DateIntervalFormat 2020-09-03 16:14:08 -07:00
Shane F. Carr
fcc3bcb43e ICU-21249 Update numberpermutationtest.txt 2020-09-03 00:46:59 +02:00
Peter Edberg
e618a1cc2d ICU-21249 integrate CLDR release 38 alpha0 to ICU trunk 2020-09-02 10:23:14 -07:00
Shane F. Carr
196d5e1182 ICU-20923 Fix compact notation with percent. 2020-09-01 04:36:04 -05:00
Markus Scherer
2f39d33498 ICU-13727 limit length of input for Punycode encode/decode
See #1241
2020-08-31 16:53:07 -07:00
Erik Torres
ba3b6acd5c ICU-21249 BRS68RC Version update and regenerate configure for v68
BRS68RC Updating files for release
2020-08-31 19:35:14 -04:00
Markus Scherer
650bd402fe ICU-13727 add U_INPUT_TOO_LONG_ERROR & ICUInputTooLongException 2020-08-31 10:32:11 -07:00
Markus Scherer
f62693aa02 ICU-13416 change Armenian (hy) uppercase/titlecase of և ligature ech-yiwn 2020-08-30 18:19:10 -07:00
Markus Scherer
36a4e3b5a0 ICU-21036 use StringBuilder(String str) not StringBuilder(int capacity) 2020-08-29 14:43:59 -07:00