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
3229213046
ICU-11674 Make ULocale work better with Android.
...
Android supports scripts and Unicode extensions, but not locale
categories. Instead of identifying Java version to determine
capabilities, this change introduces two booleans in JDKLocaleHelper,
one that tells whether the implementation supports locale categories,
and another that tells whether scripts and extensions are supported.
R=markus.icu@gmail.com
Review URL: https://codereview.appspot.com/238000043
X-SVN-Rev: 37430
2015-05-08 14:43:48 +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
George Rhoten
a423e7cb09
ICU-11564 Improve the thread safety of RBNF.
...
The recursion count is now a method argument instead of a data member.
Some data fields are now marked final to ensure thread safety, which caused reordering of some data initialization/parsing.
Setting the DecimalFormatSymbols no longer reparses the rules, but it just sets a new version of DecimalFormatSymbols instead.
X-SVN-Rev: 37383
2015-04-23 07:44:14 +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
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
Mark Davis
7887f56097
ICU-11583 fix bug that travis found in review. See comments in the bug report for details
...
X-SVN-Rev: 37239
2015-03-17 08:17:40 +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
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
14e95860a8
ICU-11565 BRS - Updated the API change report, fixed some JavaDoc tag problems.
...
X-SVN-Rev: 37216
2015-03-11 20:19:46 +00:00
Yoshito Umaoka
f9cf01598c
ICU-11567 Promote draft APIs to stable in ICU 55.
...
X-SVN-Rev: 37214
2015-03-11 19:45:26 +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
Yoshito Umaoka
fad6881394
ICU-10488 Added @provisional to draft APIs, and supplied missing java doc commment/status to java.lang.Object method overrides.
...
X-SVN-Rev: 37206
2015-03-10 22:27:08 +00:00
Scott Russell
6c4df64d1f
ICU-11565 BRS - svnprops check
...
X-SVN-Rev: 37195
2015-03-09 21:11:14 +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
1bf3215b3f
ICU-11555 Integrate CLDR 27 data
...
X-SVN-Rev: 37170
2015-03-06 23:05:45 +00:00
Yoshito Umaoka
0ac0d23f9a
ICU-11565 ICU4J version number to 55.1
...
X-SVN-Rev: 37158
2015-03-06 20:21:01 +00:00
Yoshito Umaoka
a2a9fba351
ICU-11532 Fixed a minor JavaDoc comment problem found during code review. The warning is gone now.
...
X-SVN-Rev: 37154
2015-03-06 04:11:24 +00:00
Markus Scherer
9f30cd935f
ICU-11265 T not A for generic Appendable type name
...
X-SVN-Rev: 37153
2015-03-06 03:45:03 +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
Markus Scherer
980e3f32de
ICU-11562 improve script code API docs
...
X-SVN-Rev: 37136
2015-03-04 22:24:12 +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
Fredrik Roubert
617841ff20
ICU-11395 Add @SuppressWarnings for parameterized vararg warnings.
...
R=yoshito_umaoka@us.ibm.com
Review URL: https://codereview.appspot.com/203450043
X-SVN-Rev: 37129
2015-03-04 17:55:34 +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
31bc4daf4c
ICU-11265 UnicodeSet: Replace StringBuffer with StringBuilder
...
X-SVN-Rev: 37116
2015-03-03 22:46:32 +00:00
George Rhoten
883d0628bf
ICU-11532 Small performance improvement when iterating over rule sets
...
X-SVN-Rev: 37107
2015-03-02 07:26:07 +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
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
e1cf3a582f
ICU-11346 separate Iterable vs. Iterator classes
...
X-SVN-Rev: 37092
2015-02-27 16:53:43 +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
Yoshito Umaoka
a4b1199d60
ICU-11321 Prevent crash even when ICU4J classes are initialized by a bootstrap class loader.
...
X-SVN-Rev: 37074
2015-02-26 07:58:45 +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
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
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
Peter Edberg
6ed790341e
ICU-10761 J: DateTimePatternGenerator should allow r and U in same pattern
...
X-SVN-Rev: 37048
2015-02-22 10:11:25 +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
8a943fafe4
ICU-11467 Promote time separator interfaces to public API.
...
R=markus.icu@gmail.com
Review URL: https://codereview.appspot.com/190560043
X-SVN-Rev: 37042
2015-02-19 12:01:33 +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
Markus Scherer
5ceb402827
ICU-11521 fix JarURLHandler prefix so that the file basename does not start with a slash
...
X-SVN-Rev: 37022
2015-02-11 18:54:48 +00:00
Markus Scherer
bb4101274a
ICU-11496 enumerate ICU resources from both jar file and file system
...
X-SVN-Rev: 37012
2015-02-05 16:22:43 +00:00
Fredrik Roubert
774a23e4a7
ICU-11039 optionally build ICU4J jar without ICU runtime data
...
Make all Ant targets for copying data conditional on a new property
named icu4c.data.path which, if set, inhibits all data copying and
updates the ICUConfig.properties file to use this path.
Use in this way:
$ ant -Dicu4c.data.path=/tmp/icu/build/data/out/tmp check
R=markus.icu@gmail.com
Review URL: https://codereview.appspot.com/198130043
X-SVN-Rev: 36996
2015-01-30 16:59:20 +00:00
Fredrik Roubert
081b54e280
ICU-11483 Canonicalize IDs for java.util.TimeZone.getTimeZone().
...
Review URL: https://codereview.appspot.com/194240043
X-SVN-Rev: 36988
2015-01-27 10:55: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
Fredrik Roubert
c47bac8255
ICU-11018 Refactor date format string mapping code (ICU4J)
...
To make this code more maintainable: Make mapping tables zero based, add
a table to tell if a character can be used to define a field in a format
string (instead of now rather long-winded character range expressions)
and make all lookup tables accessed through helper functions.
R=rocketman@google.com
Review URL: https://codereview.appspot.com/190960043
X-SVN-Rev: 36900
2014-12-19 07:28:19 +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