George Rhoten
cb4157921b
ICU-9715 Improve RBBI next performance by about 30%.
...
X-SVN-Rev: 32795
2012-11-11 03:44:12 +00:00
Markus Scherer
475d69f9d2
ICU-9713 fix CollationKey.merge() API docs, sync with C ucol_mergeSortkeys(), minor improvements
...
X-SVN-Rev: 32782
2012-11-09 21:38:12 +00:00
Travis Keep
3fe72af5b0
ICU-9628 Fix J GenderInfo so that gender of a single item list is always the gender of the sole item.
...
X-SVN-Rev: 32758
2012-11-06 18:01:30 +00:00
Yoshito Umaoka
883e3dfb05
ICU-9582 Clean up import statements.
...
X-SVN-Rev: 32657
2012-10-18 17:32:46 +00:00
Yoshito Umaoka
31676208ae
ICU-9582 Suppress unused warning for now.
...
X-SVN-Rev: 32651
2012-10-17 21:54:12 +00:00
Peter Edberg
8fe6eb0b2c
ICU-9250 (J) Document that date format S+ fields truncate for S,SS and zero-pad for SSSS+
...
X-SVN-Rev: 32647
2012-10-17 04:49:15 +00:00
Yoshito Umaoka
c0241d47aa
ICU-9633 Fixed unused warning by adding @SuppressWarnings.
...
X-SVN-Rev: 32645
2012-10-16 20:56:05 +00:00
Peter Edberg
e1eb8b2fab
ICU-9633 Make capitalizationSetting transient, handle it in writeObject/readObject, bump currentSerialVersion
...
X-SVN-Rev: 32643
2012-10-16 19:52:45 +00:00
Peter Edberg
5eb6e0c01c
ICU-9656 (J) Change RelativeDateFormat to keep 2 patterns (not formatters), and for fmt glue them (with substitutions) and apply to single formatter
...
X-SVN-Rev: 32641
2012-10-16 06:57:48 +00:00
Mark Davis
a967077c32
ICU-8782 Fixed review comments
...
X-SVN-Rev: 32623
2012-10-12 19:55:00 +00:00
John Emmons
e899f6a44e
ICU-9587 Add @provisional statements to java docs - and one missing @draft ICU 50
...
X-SVN-Rev: 32604
2012-10-11 20:29:26 +00:00
Peter Edberg
62d858f72d
ICU-9617 Fix a couple of misspellings in API header comments
...
X-SVN-Rev: 32601
2012-10-11 19:42:10 +00:00
Peter Edberg
57a08f9d38
ICU-9633 Delete unused imports to avoid Eclipse warning
...
X-SVN-Rev: 32598
2012-10-11 18:05:57 +00:00
Peter Edberg
76cf9f508a
ICU-9638 Make LocaleDisplayNamesImpl actually use context info; add test; make DisplayContext constructor private
...
X-SVN-Rev: 32596
2012-10-11 12:41:08 +00:00
Yoshito Umaoka
9b428833c5
ICU-9645 Fixed the test case Test5006GetShortMonths and removed the timebomb.
...
X-SVN-Rev: 32588
2012-10-10 16:19:37 +00:00
Travis Keep
86571337e9
ICU-9597 Be sure that FieldPosition adjusted correctly in DecimalFormat.java
...
X-SVN-Rev: 32581
2012-10-09 22:30:13 +00:00
Yoshito Umaoka
332cbae932
ICU-9640 Documented the internal maximum digit limit used by DecimalFormat#parse introduced by ticket#5698 in ICU4J.
...
X-SVN-Rev: 32576
2012-10-09 17:27:38 +00:00
Yoshito Umaoka
07582f8efa
ICU-9400 Workaround for Java's TimeZoneNameProvider support problem.
...
X-SVN-Rev: 32573
2012-10-09 04:54:56 +00:00
John Emmons
7e5eb1c4c1
ICU-9587 Beefed up Region API tests - some fixes to the data loading based on the results of the better tests.
...
X-SVN-Rev: 32569
2012-10-09 03:26:22 +00:00
Yoshito Umaoka
b21ad6f2aa
ICU-9268 Deleting ICULogger. Replace ICULogger with the stock Java Logger in TimeZone class.
...
X-SVN-Rev: 32568
2012-10-09 03:22:02 +00:00
Peter Edberg
3b393aeec0
ICU-9633 Also update ChineseDateFormat.java for new DisplayContext enum
...
X-SVN-Rev: 32567
2012-10-09 02:39:04 +00:00
Peter Edberg
5c54282570
ICU-9633 Adapt SimpleDateFormat display context APIs to new DisplayContext enum
...
X-SVN-Rev: 32566
2012-10-09 01:49:46 +00:00
Peter Edberg
d36b6bb6ae
ICU-9303 Check in DisplayContext enum and related LocaleDisplayNames APIs; still need full impl & tests
...
X-SVN-Rev: 32565
2012-10-09 01:49:09 +00:00
Markus Scherer
dd29ba28aa
ICU-8476 optimize Normalizer2.normalize(): Do not construct a new String if the src is a String and is already normalized
...
X-SVN-Rev: 32562
2012-10-08 22:59:19 +00:00
Markus Scherer
7fdcb9440b
ICU-9375 add WEEKDAY & ABBR_WEEKDAY (as already proposed), fix API tags, reorder constants big->little as intended
...
X-SVN-Rev: 32560
2012-10-08 22:12:29 +00:00
Scott Russell
5c6dc411d8
ICU-9403 Calendar should return error for large negative millis out of range in strict mode
...
X-SVN-Rev: 32553
2012-10-08 19:13:27 +00:00
Markus Scherer
0963e7f300
ICU-8689 MessagePattern: include adjusted pattern index in Exception
...
X-SVN-Rev: 32550
2012-10-08 18:03:08 +00:00
Mark Davis
6a81ec8327
ICU-8782 Added the functionality and tests.
...
X-SVN-Rev: 32544
2012-10-07 21:11:47 +00:00
Yoshito Umaoka
0824af4865
ICU-9617 ICU4J API status update for 50.
...
X-SVN-Rev: 32536
2012-10-05 23:59:50 +00:00
Mark Davis
d3dc9e4d18
ICU-9375 fixed skeletons
...
X-SVN-Rev: 32524
2012-10-05 18:05:04 +00:00
Travis Keep
6c3af9665d
ICU-9554 Fix apireport.
...
X-SVN-Rev: 32507
2012-10-04 19:14:22 +00:00
Roozbeh Pournader
8158ae5725
ICU-8965 Add Persian Calendar support
...
X-SVN-Rev: 32500
2012-10-04 00:42:02 +00:00
Michael Ow
8ce88dd623
ICU-8703 Fix tabs in ArabicShaping code
...
X-SVN-Rev: 32496
2012-10-03 17:17:35 +00:00
Yoshito Umaoka
5edf0b264d
ICU-9621 Fixed TimeZone#observsDaylightTime issue on Africa/Casablanca showing up after Sep 2012.
...
X-SVN-Rev: 32486
2012-10-02 17:48:46 +00:00
Travis Keep
2679b554cb
ICU-9554 JAVA CompactDecimalFormat to support negative numbers
...
X-SVN-Rev: 32479
2012-10-01 22:24:57 +00:00
John Emmons
46f7e6258a
ICU-9587 Updated and improved Region API - moving to draft ICU 50
...
X-SVN-Rev: 32473
2012-09-29 01:44:13 +00:00
Yoshito Umaoka
b5bed9e922
ICU-9255 Merged ICU4C trunk r32468 locale data including Dangi calendar format data (aliases) and removed Dangi calendar formatting hacks. Also fixed pattern cache key found during the development.
...
X-SVN-Rev: 32469
2012-09-28 21:17:44 +00:00
Travis Keep
9620ed5954
ICU-9615 Change GenderInfo.java to use CLDR data
...
X-SVN-Rev: 32466
2012-09-28 19:01:28 +00:00
Travis Keep
946d320413
ICU-9612 Make single quote logic processing correct.
...
X-SVN-Rev: 32463
2012-09-28 18:46:48 +00:00
Travis Keep
841c0b626a
ICU-9612 Let 0 in CLDR data mean format number normally with no prefix or suffix.
...
X-SVN-Rev: 32453
2012-09-28 00:30:42 +00:00
Travis Keep
df0d824956
ICU-9612 Fix CompactDecimalFormat so that it handles periods correctly that appear in prefixes or suffixes.
...
X-SVN-Rev: 32450
2012-09-27 23:41:01 +00:00
Travis Keep
24123a1ac0
ICU-9604 CompactDecimalFormat.getCompactDecimalInstance -> CompactDecimalFormat.getInstance
...
X-SVN-Rev: 32443
2012-09-27 20:07:18 +00:00
Travis Keep
9cd81237ef
ICU-9604 Add documentation to NumberFormat directing users to subclasses for more factory methods.
...
X-SVN-Rev: 32442
2012-09-27 19:51:55 +00:00
Travis Keep
719917e4a2
ICU-9604 Move JAVA CompactDecimalFormat factory methods and LONG/SHORT enum from NF down to CDF
...
X-SVN-Rev: 32437
2012-09-27 18:25:47 +00:00
Travis Keep
3cae7b9459
ICU-9577 For CompactDecimalFormat data, look for local number system long; latin long; local number system short; latin short.
...
X-SVN-Rev: 32432
2012-09-27 16:05:44 +00:00
Yoshito Umaoka
331d9f169f
ICU-9255 Adding the traditional Korean calendar (Dangi) support to ICU4J.
...
X-SVN-Rev: 32426
2012-09-25 21:45:16 +00:00
Markus Scherer
bb84a02132
ICU-9589 document that the so-called UCA rules are not normally useful and can be removed from the data
...
X-SVN-Rev: 32411
2012-09-20 05:37:13 +00:00
Dina Sayed
f9f14a5d51
ICU-8703 Bug fix in Arabic shaping exceptional handling for Shadda
...
X-SVN-Rev: 32402
2012-09-18 16:46:19 +00:00
Travis Keep
f985dceb39
ICU-9566 Fix CompactDecimalFormat.formatToCharacterIterator in JAVA to work correctly.
...
X-SVN-Rev: 32395
2012-09-17 18:06:12 +00:00
Travis Keep
afbf770237
ICU-9577 CompactDecimalFormat to fallback to short form when long form is not available.
...
X-SVN-Rev: 32386
2012-09-14 18:41:29 +00:00
Travis Keep
237e167bce
ICU-9541 Re-integrate branch changes into trunk.
...
X-SVN-Rev: 32375
2012-09-11 23:54:53 +00:00
Yoshito Umaoka
434a6ddb11
ICU-9381 Shorten time zone generic location name per cldrbug:4897. Regenerated CLDR trunk data and imported them from ICU4C including fixes necessary for this.
...
X-SVN-Rev: 32369
2012-09-11 16:28:12 +00:00
Yoshito Umaoka
3a39eb34aa
ICU-9413 Fixed some issues in the Eclipse plug-in build script.
...
X-SVN-Rev: 32325
2012-09-04 04:44:50 +00:00
Yoshito Umaoka
bf7bb33bc4
ICU-9413 Updated the API change report for 50M2. Changed the new break engine implementation classes from public to package private.
...
X-SVN-Rev: 32324
2012-09-04 03:09:29 +00:00
Yoshito Umaoka
e4ee964593
ICU-9413 Fixed Javadoc warnings - mostly incomplete tag in non-API methods.
...
X-SVN-Rev: 32323
2012-09-04 02:52:12 +00:00
Yoshito Umaoka
063b48f66a
ICU-9413 Compiler warning - Removed unused constant in ListFormetter.
...
X-SVN-Rev: 32322
2012-09-04 02:13:41 +00:00
Yoshito Umaoka
d2bb385526
ICU-9413 BRS cleanup imports
...
X-SVN-Rev: 32312
2012-08-31 21:52:08 +00:00
Yoshito Umaoka
768b3383fd
ICU-9413 ICU4J version to 50.0.2
...
X-SVN-Rev: 32311
2012-08-31 21:36:15 +00:00
Yoshito Umaoka
1488875053
ICU-9401 Use Integer.MAX_VALUE for FIELD_DIFF_MAX_INT - minor update by code review.
...
X-SVN-Rev: 32309
2012-08-31 19:39:45 +00:00
Debabrata Sengupta
c5abb42b6a
ICU-9476 changed logic slightly to make it similar to C implementation
...
X-SVN-Rev: 32308
2012-08-31 19:34:31 +00:00
Yoshito Umaoka
720f588b90
ICU-9521 Quick patch for IntlTestNumberFormat/TestMonster exhaustive test failure.
...
X-SVN-Rev: 32304
2012-08-30 21:11:12 +00:00
Umesh Nair
4c5fe60f3e
ICU-9524 Making Java ListFormatter behave correctly with any order of parameters
...
X-SVN-Rev: 32303
2012-08-30 20:35:58 +00:00
Travis Keep
4153e49710
ICU-9174 Fix CompactDecimalFormat to correctly handle suffixes that don't start at 1. e.g for Serbian 9998, 9999, 10K.
...
X-SVN-Rev: 32294
2012-08-29 20:28:21 +00:00
Markus Scherer
bf658c7d7b
ICU-9437 update to Unicode 6.2; merge in branches/markus/uni62 r32109
...
X-SVN-Rev: 32283
2012-08-28 23:40:28 +00:00
Peter Edberg
3ee27da7b7
ICU-9401 Fix Calendar.fieldDifference handling of large diffs
...
X-SVN-Rev: 32265
2012-08-28 08:15:21 +00:00
Markus Scherer
437555d5bb
ICU-8920 fix RuleBasedCollator.getRules() docs
...
X-SVN-Rev: 32258
2012-08-27 23:53:49 +00:00
Markus Scherer
1cc15ae197
ICU-6173 fix comments about type characters in CaseFolding.txt
...
X-SVN-Rev: 32256
2012-08-27 23:45:51 +00:00
Peter Edberg
0eb4f0a04d
ICU-9392 (J) japanese calendar minimum era should be 0
...
X-SVN-Rev: 32255
2012-08-27 23:44:54 +00:00
Markus Scherer
6d5c99bb7e
ICU-9264 document that PluralRules objects are immutable (caches are synchronized)
...
X-SVN-Rev: 32251
2012-08-27 22:50:44 +00:00
Yoshito Umaoka
8217ed7916
ICU-9409 Collator.getInstance to ignore unknown collation keyword. Also changed the implementation not to print the statck trace.
...
X-SVN-Rev: 32248
2012-08-27 20:17:17 +00:00
Travis Keep
8131a32512
ICU-9506 re-integrate changes to ListFormatter from icu4j/branches/tkeep/cdf
...
X-SVN-Rev: 32246
2012-08-27 19:51:13 +00:00
Travis Keep
67e12fd328
ICU-9506 Re-integrated changes for CompactDecimalFormatter from icu4j/branches/tkeep/cdf into trunk.
...
X-SVN-Rev: 32241
2012-08-27 18:49:34 +00:00
Peter Edberg
50dd562ac8
ICU-9256 (J) For he@calendar=hebrew, offset the years within the current millenium down to 1-999
...
X-SVN-Rev: 32239
2012-08-27 18:29:50 +00:00
Debabrata Sengupta
525d85dd59
ICU-9476 fixed bug with numeric collation
...
X-SVN-Rev: 32223
2012-08-23 20:59:35 +00:00
Maxime Serrano
1a702c3755
ICU-9353 Do not generate surrogates in the Monkey test so as to avoid generating higher CJK characters; also, hand off to Unhandled if we do not have a breakengine of this type
...
X-SVN-Rev: 32195
2012-08-17 21:27:08 +00:00
Maxime Serrano
847faa3579
ICU-9353 use Collections.synchronizedSet() rather than Collections.newSetFromMap()
...
X-SVN-Rev: 32188
2012-08-17 00:12:45 +00:00
Maxime Serrano
ed2c14b425
ICU-9353 merge dbbi-tries work into the trunk
...
X-SVN-Rev: 32185
2012-08-16 23:16:04 +00:00
Markus Scherer
f30b743eff
ICU-9420 move ListFormatter to the .text package, add getInstance(no locale)
...
X-SVN-Rev: 32178
2012-08-15 17:45:28 +00:00
Markus Scherer
527161ff5a
ICU-9406 deprecate isHiraganaQuaternary(), setHiraganaQuaternary(boolean flag) and setHiraganaQuaternaryDefault(), disable the setters (merged from branches/markus/uni62 r32109, should not have been on that branch)
...
X-SVN-Rev: 32176
2012-08-15 17:09:39 +00:00
Yoshito Umaoka
091464430b
ICU-9452 Fixed calendar addition issue with the Samoa Dec 2011 24 hour transition (ICU4J)
...
X-SVN-Rev: 32142
2012-08-09 21:37:41 +00:00
Steven R. Loomis
26255a3157
ICU-8822 commit fix from branch, include timebomb 50.0.2 against islamic/islamic-civil alias problem
...
X-SVN-Rev: 32132
2012-08-08 23:30:29 +00:00
Markus Scherer
d1525fc93d
ICU-9423 change the numeric value of static final Collator.ReorderCodes.DEFAULT from +1 to -1
...
X-SVN-Rev: 32066
2012-07-25 21:06:19 +00:00
Mark Davis
6192163b9d
ICU-9407 Fixed problems, added other necessary internal API
...
X-SVN-Rev: 32028
2012-07-07 00:51:16 +00:00
Yoshito Umaoka
64e43ff458
ICU-9389 Fixed available format data inheritance problem in DateTimePatternGenerator.
...
X-SVN-Rev: 32024
2012-07-05 21:18:14 +00:00
Michael Ow
d98bf1b052
ICU-9340 Fix potential out of bound error in ICU4J ISCII converter
...
X-SVN-Rev: 32022
2012-07-03 17:51:41 +00:00
Mark Davis
203710a8f5
ICU-9407 added @internals
...
X-SVN-Rev: 32014
2012-07-02 22:23:52 +00:00
Yoshito Umaoka
d081e339ff
ICU-9233 Fixed a JavaDoc @link problem in PluralFormat
...
X-SVN-Rev: 31997
2012-06-26 19:06:41 +00:00
Yoshito Umaoka
93ab318ce1
ICU-9233 Suppress compiler warning in Calendar.java (fallthrough)
...
X-SVN-Rev: 31981
2012-06-22 15:58:00 +00:00
Andy Heninger
f2e9f237f3
ICU-6954 remove unused CharsetRecognizer field from CharsetMatch
...
X-SVN-Rev: 31980
2012-06-21 22:42:12 +00:00
Peter Edberg
11cb54b951
ICU-9226 (J) Calendar add +year should always move forward in time; roll year should wrap for eras with real bounds, pin otherwise
...
X-SVN-Rev: 31968
2012-06-19 09:51:24 +00:00
Yoshito Umaoka
7fe5d0654f
ICU-8918 Added a small section explaining ambiguous wall time resolution in the class doc.
...
X-SVN-Rev: 31962
2012-06-18 17:56:55 +00:00
Yoshito Umaoka
37d5ca4c7b
ICU-9140 Fixed ChineseDateFormatSymbols initialization problem revealed by the recent change.
...
X-SVN-Rev: 31960
2012-06-15 19:46:41 +00:00
Yoshito Umaoka
ebde7cd6ab
ICU-9140 Deprecate ChineseDateFormat/ChineseDateFormatSymbols. Changed DateFormat factory method to create a SimpleDateFormat instead of ChineseDateFormat even when calendar type is chinese.
...
X-SVN-Rev: 31953
2012-06-14 20:14:10 +00:00
Yoshito Umaoka
ba585f1f09
ICU-9363 Removing un-implemented draft API CharsetMatch#getMatchType() and constants defined for the return value of the method. These constants were accidentally marked as @stable before.
...
X-SVN-Rev: 31950
2012-06-14 16:18:07 +00:00
Xiaomei Ji
9aa2213d01
ICU-9042 in time unit format, ignore those plural counts that are not defined in the locale's plural rules
...
X-SVN-Rev: 31930
2012-06-08 23:53:58 +00:00
Markus Scherer
11a0f792f7
ICU-9369 rename ListFormat to ListFormatter, and make other agreed changes
...
X-SVN-Rev: 31921
2012-06-07 21:00:41 +00:00
Mark Davis
4ae4c69163
ICU-9370 fixed long lines (cmd-shift-f) and wording pointed out by Markus
...
X-SVN-Rev: 31918
2012-06-07 19:27:45 +00:00
Andy Heninger
a0903e626b
ICU-9360 Update break iterator API docs.
...
X-SVN-Rev: 31917
2012-06-07 17:52:25 +00:00
Mark Davis
12277ee4aa
ICU-9370 Changed parameter name and javadoc
...
X-SVN-Rev: 31915
2012-06-07 16:04:30 +00:00
Andy Heninger
cfb458d917
ICU-6954 Charset Detector, move haveC1Bytes state out of CharsetRecognizer objects, which fixes bug where multiple CharsetDetectors can overwrite eash others results.
...
X-SVN-Rev: 31904
2012-06-05 00:36:30 +00:00
Yoshito Umaoka
49ab350c8a
ICU-9265 Synchronized forLanguageTag test cases with ICU4C trunk. Also fixed a bug for u extension typeless keyword mapping (use 'yes' in ICU instead of 'true').
...
X-SVN-Rev: 31817
2012-05-11 21:57:11 +00:00
Michael Ow
1aac48146c
ICU-9242 Sync precedence table with ICU4C in the calendar code
...
X-SVN-Rev: 31806
2012-05-09 21:05:17 +00:00
Andy Heninger
f2a5abcf83
ICU-9309 multithreaded startup fix
...
X-SVN-Rev: 31804
2012-05-08 23:05:14 +00:00
Yoshito Umaoka
bca93b1993
ICU-9293 Fixed a problem in strict currency parsing.
...
X-SVN-Rev: 31797
2012-05-04 21:09:02 +00:00
Yoshito Umaoka
faba943de0
ICU-9240 Fixed a cloning problem in DecimalFormat which prevent formatToCharacterIterator to work properly in mulitple threads.
...
X-SVN-Rev: 31796
2012-05-03 23:20:12 +00:00
Yoshito Umaoka
78c726c30b
ICU-9289 Corrected the product name, from Component to Components.
...
X-SVN-Rev: 31795
2012-05-03 22:02:05 +00:00
Yoshito Umaoka
15f6dfa65f
ICU-9289 Updated jar main to print out correct display name of ICU library with the new versioning scheme.
...
X-SVN-Rev: 31777
2012-04-26 18:12:00 +00:00
Markus Scherer
30b430f929
ICU-9249 deprecate PluralFormat.setLocale(locale)
...
X-SVN-Rev: 31743
2012-04-18 23:59:28 +00:00
Andy Heninger
24d35f5311
ICU-9267 Change buffer creation in unshapeLamAlef() function.
...
X-SVN-Rev: 31740
2012-04-18 21:38:54 +00:00
Michael Ow
8a6937498f
ICU-9233 Update ICU4J to 50.0.1
...
X-SVN-Rev: 31732
2012-04-18 19:30:40 +00:00
Andy Heninger
fdea410032
ICU-9267 ICU4J Charset Detector Crash Fix
...
X-SVN-Rev: 31724
2012-04-18 00:01:23 +00:00
Markus Scherer
613453f093
ICU-9132 no Locale.ROOT in Java 5
...
X-SVN-Rev: 31712
2012-04-16 17:52:42 +00:00
Markus Scherer
3e084c0f60
ICU-9132 Java support for MessageFormat selectordinal and PluralRules.PluralType.ORDINAL
...
X-SVN-Rev: 31705
2012-04-13 20:59:37 +00:00
Michael Ow
230db005ae
ICU-9205 Update max bytes per char calculation for EBCDIC DBCS types
...
X-SVN-Rev: 31675
2012-04-03 22:18:45 +00:00
Yoshito Umaoka
9533e2db9e
ICU-7205 Replace '<'/'>' in the previous change with HTML entities '<'/'>'.
...
X-SVN-Rev: 31632
2012-03-19 14:12:30 +00:00
Peter Edberg
cfc253253f
ICU-7205 Improve API documentation for relative date formatting (J)
...
X-SVN-Rev: 31630
2012-03-19 04:46:41 +00:00
Yoshito Umaoka
2d39c18a49
ICU-9187 Resolve javac compiler warning with JDK 7. SuppressWarning annotation type 'rawtypes' is necessary instead of 'unchecked' with JDK 7. However, with Eclipse IDE using Java 1.5 env still requires 'unchecked'. Thus, kept 'unchecked', added 'rawtypes' and updated all ICU runtime library projects to ignore unused SuppressWarning types, instead of warning.
...
X-SVN-Rev: 31622
2012-03-15 18:56:48 +00:00
Yoshito Umaoka
a1344472af
ICU-9187 Ignore javac warning for setting an older source without bootclasspath introduced in JDK 7.
...
X-SVN-Rev: 31621
2012-03-15 18:21:48 +00:00
Yoshito Umaoka
61eb675e8d
ICU-9125 Removed an import statement no longer used with the previous change.
...
X-SVN-Rev: 31618
2012-03-15 15:31:19 +00:00
Mark Davis
1b042dfe84
ICU-9125 addressed Markus's review comments.
...
X-SVN-Rev: 31617
2012-03-15 04:19:01 +00:00
Yoshito Umaoka
0b1faa6ffa
ICU-9162 Implemented getDisplayScript(), provided actual implementation of getVariant() [ #9161 ]. Also improved the implementation of localized name provider to directly access localized data container classes. Added test cases to verify the behavior with locale extension [ #9154 ].
...
X-SVN-Rev: 31606
2012-03-08 23:12:02 +00:00
Mark Davis
4f9f1f602c
ICU-8460 Fixed bug with formatting 0.
...
X-SVN-Rev: 31568
2012-03-02 05:12:50 +00:00
Yoshito Umaoka
74fd94b4cf
ICU-9155 Changed special ICU suffix for the locale provider from 'ICU' to 'ICU4J'. Removed some workaround code in locale SPI tests introduced by #9150 . Fixed Java 7 env specific issues exposed by these changes.
...
X-SVN-Rev: 31554
2012-03-01 10:46:18 +00:00
Yoshito Umaoka
0978796e24
ICU-9138 Fixing API doc issues.
...
X-SVN-Rev: 31550
2012-03-01 04:40:13 +00:00
Yoshito Umaoka
440d4c84c7
ICU-9151 Implemented CurrencyNameProvider#getDisplayName in the locale SPI module. Also added corresponding test case. This change was agreed on ICU PMC 2012-02-29.
...
X-SVN-Rev: 31548
2012-02-29 23:14:37 +00:00
Yoshito Umaoka
f9c9e5b0d7
ICU-8309 Fixed arabic charset detection code problem which triggered unexpected input data change.
...
X-SVN-Rev: 31534
2012-02-28 21:23:57 +00:00
Mark Davis
3a4528f3cf
ICU-8460 Fixes for Peter's comments
...
X-SVN-Rev: 31531
2012-02-28 01:54:47 +00:00
Yoshito Umaoka
f813baec1b
ICU-9138 Fixed compiler warnings - corrected invalid java doc tags, deleted unused local variable.
...
X-SVN-Rev: 31527
2012-02-27 23:18:44 +00:00
Yoshito Umaoka
5a43428ac6
ICU-9138 Cleaning up import statements.
...
X-SVN-Rev: 31526
2012-02-27 23:08:02 +00:00
Mark Davis
917fd32488
ICU-7149 Clean up the argument replacement, since it could have a bad hit if an argument contained {0}
...
X-SVN-Rev: 31525
2012-02-27 22:20:15 +00:00
Doug Felt
fe4bb98547
ICU-9072 modify CurrencyDisplayNames API - fix docs to reflect changed semantics of 'to' data
...
X-SVN-Rev: 31524
2012-02-27 19:18:40 +00:00
Doug Felt
9960ee3a3f
ICU-9072 modify CurrencyDisplayNames API - update revision tags
...
X-SVN-Rev: 31521
2012-02-27 18:18:58 +00:00
Mark Davis
01b36214be
ICU-8460 Make draft, incorporate Markus's review notes.
...
X-SVN-Rev: 31515
2012-02-25 01:59:54 +00:00
Peter Edberg
e532ba9a51
ICU-9110 J review fixes: handle DateFormatSymbols capitalization==null; add @provisional tags
...
X-SVN-Rev: 31511
2012-02-24 23:17:44 +00:00
Peter Edberg
dea035e59d
ICU-8697 Review comments J: Add @provisional, remove unnecessary casts
...
X-SVN-Rev: 31508
2012-02-24 18:31:32 +00:00
Mark Davis
123e26fe66
ICU-8460 Remove serialization, fix SerializationTest.
...
X-SVN-Rev: 31504
2012-02-24 05:23:24 +00:00
Yoshito Umaoka
f1bc7ea2bf
ICU-9138 Updated ICU4J version to 49.1
...
X-SVN-Rev: 31497
2012-02-23 22:54:04 +00:00
Peter Edberg
4a17aa27fe
ICU-7727 Complete for DateIntervalInfo.java (J)
...
X-SVN-Rev: 31496
2012-02-23 20:42:16 +00:00
Peter Edberg
7aec49b34f
ICU-7727 When collecting data, use real parent (per %%Parent if present) instead of just truncating name (J)
...
X-SVN-Rev: 31492
2012-02-23 12:26:09 +00:00
Markus Scherer
c422bcd481
ICU-5929 optimize CharsetEncoderICU fallback test
...
X-SVN-Rev: 31489
2012-02-23 02:08:37 +00:00
Steven R. Loomis
a78862686b
ICU-9019 fix copyright date
...
X-SVN-Rev: 31487
2012-02-22 23:15:25 +00:00
Peter Edberg
ac005b8b3a
ICU-9110 J - Update internal method call in ChineseDateFormat (SimpleDateFormat subclass)
...
X-SVN-Rev: 31484
2012-02-22 09:37:06 +00:00
Peter Edberg
331eea1d3f
ICU-9110 J -Add SimpleDateFormat methods for setting context, use context when formatting
...
X-SVN-Rev: 31482
2012-02-22 08:26:12 +00:00
Andy Heninger
2be586c40c
ICU-9099 Fix break iterarator problem that was causing Finnish line break tests to fail.
...
X-SVN-Rev: 31479
2012-02-22 01:51:25 +00:00
Yoshito Umaoka
08b039b84a
ICU-9108 Cleaned up some garbages and made minor improvements. Ready for review.
...
X-SVN-Rev: 31463
2012-02-21 06:24:52 +00:00
Mark Davis
ac906834e2
ICU-9125 Check for fallback, odd locales; clean up constructors.
...
X-SVN-Rev: 31456
2012-02-21 00:56:17 +00:00
Mark Davis
7bc558601a
ICU-7149 Add initial version, @internal for now.
...
X-SVN-Rev: 31455
2012-02-21 00:35:51 +00:00
Mark Davis
9fdb34c0d3
ICU-9125 Add initial version, @internal for now.
...
X-SVN-Rev: 31454
2012-02-20 23:19:07 +00:00
Mark Davis
f1c787eca1
ICU-8460 Add initial version, @internal for now.
...
X-SVN-Rev: 31450
2012-02-20 22:13:20 +00:00
Peter Edberg
355b75af8e
ICU-8697 J, change parseCurrency to take CharSequence, make draft ICU 49
...
X-SVN-Rev: 31445
2012-02-19 20:13:04 +00:00
Yoshito Umaoka
1abb248717
ICU-9108 setDefaultParseOptions and parse method taking parse option override in TimeZoneFormat. Also including the support for ISO 8601 extended format 'ZZZZZ' ( #9045 ).
...
X-SVN-Rev: 31428
2012-02-18 08:30:48 +00:00
John Emmons
06f294319e
ICU-7501 Use allowsParsing attribute from CLDR to detect unparseable RBNF rulesets
...
X-SVN-Rev: 31419
2012-02-17 23:26:39 +00:00
Michael Ow
e4aee6892f
ICU-8940 Ensure the new DecimalFormatSymbols is propagated properly in ICU4J RBNF
...
X-SVN-Rev: 31418
2012-02-17 23:14:06 +00:00
Yoshito Umaoka
dbecc6efd4
ICU-8916 Calendar APIs supporting options for handling ambiguous wall time (Merged from the work branch to the trunk).
...
X-SVN-Rev: 31415
2012-02-17 22:13:13 +00:00
Peter Edberg
f8869b1d10
ICU-9105 Fix DateTimePatternGenerator for 'U', integrate Chinese cal data updates from cldrbug 4395, update tests (J)
...
X-SVN-Rev: 31412
2012-02-17 17:19:17 +00:00
John Emmons
7d681bcd8d
ICU-8849 ICU4J Updates to NumberingSystem class to support otherNumberingSystems from CLDR
...
X-SVN-Rev: 31402
2012-02-16 18:57:56 +00:00
Markus Scherer
fa3ad3f8c4
ICU-8803 make Calendar.getType() public and improve API docs
...
X-SVN-Rev: 31386
2012-02-13 23:55:36 +00:00
Doug Felt
b440fd0930
ICU-8456 change display of keywords in locale display names
...
X-SVN-Rev: 31382
2012-02-13 22:28:44 +00:00
Michael Ow
3f457f1f18
ICU-7464 Apply fix to incorrect number rounding when rounding increment is in the string pattern of the decimal formatter in ICU4J
...
X-SVN-Rev: 31379
2012-02-13 19:27:24 +00:00
Doug Felt
924a24986b
ICU-9072 modify CurrencyDisplayNames API
...
X-SVN-Rev: 31345
2012-02-08 19:31:11 +00:00
Markus Scherer
c113439fad
ICU-9073 double-check that the shared variable is still null before setting it to the new object
...
X-SVN-Rev: 31334
2012-02-06 21:32:20 +00:00
Markus Scherer
1f793f7006
ICU-9014 update hasScript() @draft version
...
X-SVN-Rev: 31332
2012-02-06 21:06:30 +00:00
Markus Scherer
3fd6a0e7f2
ICU-9014 make hasScript(c, sc) == sc in scx(c)
...
X-SVN-Rev: 31331
2012-02-06 20:11:43 +00:00
Markus Scherer
2281643107
ICU-9014 and ICU-9015 scx defaults to {sc}, and return that efficiently
...
X-SVN-Rev: 31328
2012-02-03 23:39:45 +00:00
Yoshito Umaoka
30e3a9e8b2
ICU-9078 Moved com.ibm.icu.impl.ImplicitCEGenerator from core project to collator project.\
...
X-SVN-Rev: 31325
2012-02-03 21:27:21 +00:00
John Emmons
2c99787c7a
ICU-8514 Modify behavior of YY to parse as a two-digit year
...
X-SVN-Rev: 31324
2012-02-03 21:10:04 +00:00
Yoshito Umaoka
9b3a63154f
ICU-7964 Merging new ICU4J Currency APIs and test case from the work branch to the trunk.
...
X-SVN-Rev: 31318
2012-02-03 18:02:30 +00:00
Michael Ow
42208f627b
ICU-9085 Fix infinite loop error in compound text converter in ICU4J
...
X-SVN-Rev: 31299
2012-02-02 01:56:59 +00:00
Peter Edberg
bbed782b13
ICU-9067 Per review comments: add JavaDoc tag, remove unused Comparator stuff
...
X-SVN-Rev: 31293
2012-02-01 00:54:10 +00:00
Peter Edberg
044e9d07c0
ICU-9044 Improve parse method documentation, note that parsing Chinese cal dates may be ambiguous (J)
...
X-SVN-Rev: 31281
2012-01-31 08:13:43 +00:00
Peter Edberg
6abaa5337f
ICU-9069 Parse 'U' when there there is no cyclic year name data (J)
...
X-SVN-Rev: 31279
2012-01-31 06:37:51 +00:00
Yoshito Umaoka
fac016b0ed
ICU-9006 ICU4J API promotion for 49. A bug fix in the api report tool.
...
X-SVN-Rev: 31275
2012-01-30 17:16:37 +00:00
Michael Ow
672786786d
ICU-8940 Add new ICU4J API to set decimal format symbols in RBNF
...
X-SVN-Rev: 31266
2012-01-25 21:17:06 +00:00
Doug Felt
2189a60f84
ICU-9073 synchronize PluralRulesLoader methods that modify internal maps.
...
X-SVN-Rev: 31261
2012-01-24 22:54:11 +00:00
Doug Felt
a18cc6389c
ICU-9072 modify CurrencyDisplayNames API
...
X-SVN-Rev: 31260
2012-01-24 22:11:32 +00:00
Doug Felt
a5035b2c58
ICU-9072 modify CurrencyDisplayNames API
...
X-SVN-Rev: 31258
2012-01-24 22:09:54 +00:00
Markus Scherer
f2c94fe24f
ICU-8995 add new ISO script code Hluw=Anatolian Hieroglyphs
...
X-SVN-Rev: 31250
2012-01-23 19:52:28 +00:00
Peter Edberg
f4ccd40ed0
ICU-9067 Add internal getCanonicalSkeletonAllowingDuplicates method for use by CLDR
...
X-SVN-Rev: 31244
2012-01-21 07:57:02 +00:00
Peter Edberg
5463a83c67
ICU-8959 If pattern char is 'U' but year has no cyclic name data, format as number (J)
...
X-SVN-Rev: 31225
2012-01-19 05:21:17 +00:00
Yoshito Umaoka
6e06cd9a5d
ICU-9028 Implemented Freezable in TimeZoneJDK class in the locale SPI module.
...
X-SVN-Rev: 31218
2012-01-17 16:30:12 +00:00
Peter Edberg
41b22c7e69
ICU-8959 Add DateFormat.YEAR_NAME_FIELD for pattern char 'U', implement format/parse for it (J)
...
X-SVN-Rev: 31217
2012-01-17 10:29:05 +00:00
Yoshito Umaoka
74c98ef6fb
ICU-8895 Added API status comments in ICUConfig.properties, although the tag is not processed by any tools at this moment. Added API doc for com.ibm.icu.text.MessagePattern.ApostropheMode with possible values.
...
X-SVN-Rev: 31216
2012-01-17 08:15:51 +00:00
Yoshito Umaoka
66350869c3
ICU-8998 Merging TimeZone#observesDaylightTime changes from my work branch to trunk.
...
X-SVN-Rev: 31213
2012-01-17 04:32:31 +00:00
Yoshito Umaoka
df45f653ae
ICU-8976 Commented out unnecessary main() in com.ibm.icu.text.BreakDictionary and com.ibm.icu.impl.duration.impl.Utils.
...
X-SVN-Rev: 31211
2012-01-16 23:30:55 +00:00
Markus Scherer
2d666989dd
ICU-9039 simplify/optimize ucase.icu encoding: fixed trie bit for Case_Ignorable; ucase.icu formatVersion 3.0
...
X-SVN-Rev: 31205
2012-01-13 01:18:28 +00:00
Peter Edberg
70ccf80320
ICU-8977 Add ICU4J monthPatterns format/parse support, move Chinese cal era handling
...
into SimpleDateFormat, ignore 'l' pattern char, stop using obsolete isLeapMonth resource,
add/fix tests.
X-SVN-Rev: 31186
2012-01-08 22:09:38 +00:00
Abhinav Gupta
2730ee27c3
ICU-8924 Add findbugs targets
...
X-SVN-Rev: 31176
2011-12-29 18:13:00 +00:00
Markus Scherer
b81e90d33d
ICU-9016 document default Numeric_Value differs from Unicode Standard
...
X-SVN-Rev: 31128
2011-12-15 23:28:55 +00:00
Markus Scherer
c39e5af48c
ICU-9013 deprecate API for Unicode 1.0 character names & ISO comments, remove support & data
...
X-SVN-Rev: 31126
2011-12-15 22:30:24 +00:00
Michael Ow
3b84d14076
ICU-8887 Update timezone doc in ICU4J
...
X-SVN-Rev: 31110
2011-12-13 17:44:31 +00:00
Yoshito Umaoka
744682621a
ICU-8877 Fixed a Java compiler warning (redundant type cast).
...
X-SVN-Rev: 31088
2011-12-09 23:20:15 +00:00
Yoshito Umaoka
a969c18618
ICU-8877 Updated the ICU4J version number.
...
X-SVN-Rev: 31087
2011-12-09 22:56:54 +00:00
Yoshito Umaoka
21a67903a4
ICU-8446 One more correction in the API doc.
...
X-SVN-Rev: 31085
2011-12-09 22:26:58 +00:00
Yoshito Umaoka
a3182936ef
ICU-8446 Grammar corrections in the API doc, suggested by Doug.
...
X-SVN-Rev: 31081
2011-12-09 21:27:12 +00:00
Markus Scherer
03a4b1a127
ICU-8827 Unicode 6.1 update: svn merge --reintegrate branches/markus/uni61 at r31061 into the trunk
...
X-SVN-Rev: 31072
2011-12-09 00:01:13 +00:00
Abhinav Gupta
709f7250c8
ICU-8876 Revert [30811] for PluralRules, RBBIDataWrapper, RBBISetBuilder.
...
X-SVN-Rev: 31070
2011-12-08 19:09:33 +00:00
Michael Ow
879b1aa3d9
ICU-8956 Update ICU4J SimpleDateFormat doc
...
X-SVN-Rev: 31068
2011-12-08 18:27:13 +00:00
Abhinav Gupta
6e73c9e17f
ICU-8854 add API status comment to dummy hashCode functions.
...
X-SVN-Rev: 31067
2011-12-08 18:06:45 +00:00
Yoshito Umaoka
a10116996d
ICU-8345 Public API classes need formal JavaDoc comments with API status. Add them to the new Freezable method implementations in TimeZone and its subclasses. Also fixed a couple of compiler warnings (unnecessary type cast).
...
X-SVN-Rev: 31066
2011-12-08 17:08:53 +00:00
Michael Ow
94a9854969
ICU-8970 MungeInput when neccessary on detection instead of when text is set
...
X-SVN-Rev: 31065
2011-12-08 17:04:46 +00:00
Abhinav Gupta
b4bc4b8ecb
ICU-8668 Use AsciiUtil instead of Character.
...
X-SVN-Rev: 31055
2011-12-07 19:17:10 +00:00
Abhinav Gupta
670f0268a1
ICU-8668 J, restrict script to be alphabetic in locale name.
...
X-SVN-Rev: 31032
2011-12-05 20:34:00 +00:00
Peter Edberg
57d4e75211
ICU-7930 J, don't limit base skeleton field length to 3
...
X-SVN-Rev: 31029
2011-12-05 06:00:10 +00:00
Stuart Gill
b668e88639
ICU-8914 extra Java documentation for collation reordering
...
X-SVN-Rev: 31013
2011-12-02 22:11:29 +00:00
Stuart Gill
c3409e4285
ICU-8914 extra Java documentation for collation reordering
...
X-SVN-Rev: 31003
2011-12-01 23:16:58 +00:00
Markus Scherer
77b94f2bd1
ICU-8915 document why BMPSet.set32x64Bits(..., limit=0x800) is fine & safe
...
X-SVN-Rev: 31001
2011-12-01 06:47:04 +00:00
Markus Scherer
1166cb2f03
ICU-8945 fix UCharacter.CJK_IDEOGRAPH_FOURTH_ code point
...
X-SVN-Rev: 30997
2011-12-01 03:31:57 +00:00
Markus Scherer
81e9b13f7b
ICU-8246 add Normalizer2.getNFCInstance(), getNFKDInstance(), ...
...
X-SVN-Rev: 30996
2011-12-01 01:50:37 +00:00
Markus Scherer
c50c6a20d7
ICU-8942 straggler fixes, parallel with C++
...
X-SVN-Rev: 30995
2011-12-01 00:55:29 +00:00
Yoshito Umaoka
884a12613a
ICU-8953 Fixed the getCanonicalID with the Olson link.
...
X-SVN-Rev: 30987
2011-11-29 17:45:37 +00:00
Markus Scherer
c267b157f0
ICU-8942 use smaller/simpler FCD data rather than building an FCD trie
...
X-SVN-Rev: 30986
2011-11-28 23:04:28 +00:00
Markus Scherer
19735dc2a3
ICU-8804 Normalizer2.composePair(a, b) with separation of minYesNo extraData into combines-forward vs. not
...
X-SVN-Rev: 30983
2011-11-27 20:34:42 +00:00
Markus Scherer
c80f9c5856
ICU-8804 Normalizer2.getRawDecomposition(c) with added data in .nrm formatVersion 2
...
X-SVN-Rev: 30981
2011-11-27 04:44:50 +00:00
Yoshito Umaoka
39812e6f72
ICU-8943 Fixed NPE problem in RuleBasedTimeZone#getOffsets.
...
X-SVN-Rev: 30975
2011-11-18 22:30:34 +00:00
Abhinav Gupta
4b1538b4f9
ICU-8899 Switch to StringBuilder for buffer.
...
X-SVN-Rev: 30974
2011-11-18 19:04:50 +00:00
Abhinav Gupta
29a020c198
ICU-8899 LocaleIDParser#append should not rely on exceptions.
...
X-SVN-Rev: 30972
2011-11-16 15:32:20 +00:00
Yoshito Umaoka
9ba9b4ad4e
ICU-8345 Freezable implementation in TimeZone and its subclasses.
...
X-SVN-Rev: 30962
2011-11-15 14:57:18 +00:00
Michael Ow
6b801b04a1
ICU-8887 Update timezone class doc in ICU4J
...
X-SVN-Rev: 30957
2011-11-11 23:25:33 +00:00
Abhinav Gupta
fa39f72cf5
ICU-8854 revert changeset [30943].
...
X-SVN-Rev: 30953
2011-11-11 15:46:59 +00:00
Abhinav Gupta
c24cc0f86a
ICU-8854 String concatenation in a loop using + operator. Should use StringBuilder.
...
X-SVN-Rev: 30943
2011-11-09 15:51:57 +00:00
Yoshito Umaoka
6dfa3a52d0
ICU-8927 Avoid NPE when invalid system ID is specifed in TimeZone.countEquivalentIDs and getEquivalentID.
...
X-SVN-Rev: 30937
2011-11-07 16:51:49 +00:00
Abhinav Gupta
8ec0200596
ICU-8854 Possible null pointer dereference.
...
X-SVN-Rev: 30936
2011-11-07 16:36:22 +00:00
Abhinav Gupta
073babced5
ICU-8854 Class defines equals() but not hashCode().
...
X-SVN-Rev: 30935
2011-11-07 16:36:16 +00:00
Abhinav Gupta
1ce9ad44b0
ICU-8889 JarURLHandler should not die if icu4j jar is inside another jar.
...
X-SVN-Rev: 30929
2011-11-04 16:09:57 +00:00
Abhinav Gupta
8c6de437fc
ICU-8854 Check for oddness that won't work for negative numbers.
...
X-SVN-Rev: 30928
2011-11-04 15:19:31 +00:00
Abhinav Gupta
f613d3d4d9
ICU-8854 method ignores result of InputStream.read.
...
X-SVN-Rev: 30927
2011-11-04 15:19:19 +00:00
Abhinav Gupta
23d796e394
ICU-8854 Inner class does not use embedded reference to creator. Should be static inner class.
...
X-SVN-Rev: 30926
2011-11-04 15:19:11 +00:00
Abhinav Gupta
049feaf0a2
ICU-8854 Class defines or inherits equals() but not hashCode().
...
X-SVN-Rev: 30925
2011-11-04 15:18:39 +00:00
Abhinav Gupta
f24d42939c
ICU-8854 possible null pointer dereference
...
X-SVN-Rev: 30924
2011-11-04 15:18:01 +00:00
Abhinav Gupta
698b723ba9
ICU-8854 Dead store to local variable.
...
X-SVN-Rev: 30923
2011-11-04 15:17:52 +00:00
Abhinav Gupta
82962c12cb
ICU-8854 Unused final instance variable. Should be static.
...
X-SVN-Rev: 30922
2011-11-04 15:17:34 +00:00
Abhinav Gupta
fc9b8646db
ICU-8854 string concatenation in loop using + operator
...
X-SVN-Rev: 30863
2011-10-24 19:24:17 +00:00
Abhinav Gupta
1efa6d411f
ICU-8854 bitwise and/or of signed byte value.
...
Values loaded from a byte array are sign extended to 32-bits before any
bitwise operations are performed. Should &-down back to one-byte.
X-SVN-Rev: 30862
2011-10-24 19:24:08 +00:00
Abhinav Gupta
e35f720425
ICU-8854 dead store to local variable
...
X-SVN-Rev: 30861
2011-10-24 19:23:59 +00:00
Abhinav Gupta
3ae6d5af5b
ICU-8854 computation of average could overflow.
...
X-SVN-Rev: 30860
2011-10-24 19:23:51 +00:00
Abhinav Gupta
5f0127fd5d
ICU-8854 equals() does not check for null.
...
X-SVN-Rev: 30859
2011-10-24 19:23:44 +00:00
Abhinav Gupta
77598a7d62
ICU-8854 Unused final instance variable. Should be static.
...
X-SVN-Rev: 30858
2011-10-24 19:23:29 +00:00
Abhinav Gupta
04b9f1678a
ICU-8854 unnecessary use of String constructor.
...
X-SVN-Rev: 30857
2011-10-24 19:23:20 +00:00
Abhinav Gupta
87f031cd34
ICU-8854 use of inefficient Number constructors. Use valueOf.
...
X-SVN-Rev: 30856
2011-10-24 19:14:19 +00:00
Abhinav Gupta
7f0d45c7ad
ICU-8854 toString may return null
...
X-SVN-Rev: 30855
2011-10-24 19:14:10 +00:00
Abhinav Gupta
2192442a0e
ICU-8854 integral division result cast to double (and floored).
...
Unnecessary because integral division already truncates the result.
X-SVN-Rev: 30854
2011-10-24 19:14:03 +00:00
Abhinav Gupta
9794f1727b
ICU-8854 unchecked/unconfirmed cast.
...
X-SVN-Rev: 30853
2011-10-24 19:13:57 +00:00
Mark Davis
0e05f5d9d6
ICU-8898 Checked in (since shifting systems) but can retract if not approved.
...
X-SVN-Rev: 30851
2011-10-23 22:27:11 +00:00
Yoshito Umaoka
02bf9dd68a
ICU-8649 Integrating JCite and embedding coding example in the ICU4J API reference doc.
...
X-SVN-Rev: 30841
2011-10-17 21:10:07 +00:00
Abhinav Gupta
728bdac7fa
ICU-8854 possible null pointer dereference.
...
X-SVN-Rev: 30839
2011-10-17 20:24:17 +00:00
Abhinav Gupta
9c83ba6e64
ICU-8854 Unclosed streams.
...
X-SVN-Rev: 30838
2011-10-17 20:24:09 +00:00
Abhinav Gupta
0c1d2e9452
ICU-8854 Result of integer multiplication cast to long after
...
multiplication. Casting should be done before multiplication to avoid
overflow.
X-SVN-Rev: 30837
2011-10-17 20:23:59 +00:00
Abhinav Gupta
7a58e117d9
ICU-8854 Inefficient use of number constructors. Use valueOf instead.
...
X-SVN-Rev: 30836
2011-10-17 20:23:48 +00:00
Yoshito Umaoka
a5edd10c64
ICU-8446 System property user.script to initialize ULocale's script field on Java 6 or older JREs.
...
X-SVN-Rev: 30824
2011-10-14 22:11:56 +00:00
Abhinav Gupta
037aa7865a
ICU-8876 disabled Clover where necessary.
...
Disabled for parts of PluralRules, RBBIDataWrapper, RBBISetBuilder,
TimeZoneNames, Calendar.
X-SVN-Rev: 30811
2011-10-12 15:31:19 +00:00
Yoshito Umaoka
ed2c135303
ICU-8856 Explicit private constructor to prevent MessagePatternUtil instatiation. This change fixed unwanted javadoc/api report for MessagePatternUtil constructor.
...
X-SVN-Rev: 30791
2011-10-04 15:59:21 +00:00
Yoshito Umaoka
53eb6fa62f
ICU-8856 Fixed a javac compiler warning.
...
X-SVN-Rev: 30790
2011-10-04 15:45:25 +00:00
Yoshito Umaoka
504e04477a
ICU-8856 Organized import statements
...
X-SVN-Rev: 30788
2011-10-04 14:38:02 +00:00
Michael Ow
46fc0ce9da
ICU-8864 Use fallback mechanism for empty string in ICUResourceTableAccess get method
...
X-SVN-Rev: 30782
2011-10-03 19:17:07 +00:00
Peter Edberg
69bb199a1b
ICU-8753 Replace confusing use of dst variable with prevOffset / newOffset
...
X-SVN-Rev: 30772
2011-09-30 21:32:41 +00:00
Yoshito Umaoka
a87cae4ff8
ICU-8518 Corrected spelling found by Markus's review
...
X-SVN-Rev: 30769
2011-09-30 20:52:56 +00:00
Abhinav Gupta
33f9e7e935
ICU-8856 copyright info on com.ibm.icu.text.SourceTargetUtility.
...
X-SVN-Rev: 30768
2011-09-30 20:28:27 +00:00
Michael Ow
6903a27947
ICU-8515 Add missing provisional tag to draft API CharsetEncoderICU.getMaxBytesForString
...
X-SVN-Rev: 30760
2011-09-30 19:16:20 +00:00
Abhinav Gupta
2dde8091b2
ICU-8268 fixed problems found in code review.
...
X-SVN-Rev: 30759
2011-09-30 19:01:29 +00:00
Steven R. Loomis
f2dea4dba1
ICU-8855 undo bad commit r30752
...
X-SVN-Rev: 30753
2011-09-29 20:18:13 +00:00
Abhinav Gupta
27cdc577c8
ICU-8855 utf-8 file properties for icu4j (with copyright updates).
...
X-SVN-Rev: 30752
2011-09-29 19:44:32 +00:00
Abhinav Gupta
00d87011fd
ICU-8268 Unitialized read of field in constructor.
...
X-SVN-Rev: 30738
2011-09-28 20:30:19 +00:00
Abhinav Gupta
dc1f5c5a80
ICU-8268 Fixed use of & instead of &&.
...
X-SVN-Rev: 30737
2011-09-28 20:30:12 +00:00
Abhinav Gupta
7048d48b6e
ICU-8268 equals(Object o) methods assume that o is the correct type.
...
X-SVN-Rev: 30736
2011-09-28 20:30:06 +00:00
Abhinav Gupta
6916271396
ICU-8268 computation of average could overflow.
...
The (a+b)/2 or (a+b)>>1 could cause an overflow. Use unsigned bit shift (>>>).
X-SVN-Rev: 30735
2011-09-28 20:29:59 +00:00
Abhinav Gupta
24f423c0f8
ICU-8268 inefficient use of Long, Integer, Character constructors.
...
X-SVN-Rev: 30734
2011-09-28 20:29:47 +00:00
Abhinav Gupta
79287fc66b
ICU-8268 Inefficient use of new String(...) constructor.
...
X-SVN-Rev: 30733
2011-09-28 20:29:28 +00:00
Abhinav Gupta
7e90359b1a
ICU-8268 null check of value previously dereferenced.
...
A value is null-checked after it has already been dereferenced. If it was
null, it would never get to the check because of NullPointerException.
X-SVN-Rev: 30732
2011-09-28 20:29:19 +00:00
Markus Scherer
077d3a16e0
ICU-8779 add UNKNOWN_ZONE & GMT_ZONE
...
X-SVN-Rev: 30728
2011-09-27 23:52:04 +00:00
Abhinav Gupta
c2769af599
ICU-8268 return value was ignored.
...
Return value of string concatenation was ignored. Results in invalid data.
X-SVN-Rev: 30726
2011-09-27 19:50:26 +00:00
Abhinav Gupta
c9b90e11db
ICU-8268 dead store to local variable.
...
A value is assigned to a local variable but never read again.
Signed-off-by: Abhinav Gupta <abhinavg@ca.ibm.com>
X-SVN-Rev: 30725
2011-09-27 19:50:19 +00:00
Abhinav Gupta
b58534a609
ICU-8268 impossible cast from double[] to int[].
...
Java doesn't allow casting array of type A to array of type B. The elements
have to be manually casted.
X-SVN-Rev: 30723
2011-09-27 19:49:59 +00:00
Abhinav Gupta
55e9ba2738
ICU-8268 Inefficient use of Map.keySet. Use entrySet instead.
...
X-SVN-Rev: 30721
2011-09-27 19:49:44 +00:00
Abhinav Gupta
b8f1bb9223
ICU-8268 concatenation of strings using + in a loop is inefficient. Use StringBuilder.
...
X-SVN-Rev: 30720
2011-09-27 18:15:21 +00:00
Abhinav Gupta
811b9905c8
ICU-8268 toString on array doesn't produce anything useful. Use Arrays.toString.
...
X-SVN-Rev: 30719
2011-09-27 18:15:12 +00:00
Abhinav Gupta
a65971645c
ICU-8268 repeated conditional test
...
X-SVN-Rev: 30718
2011-09-27 18:15:03 +00:00
Abhinav Gupta
d96782f661
ICU-8268 update copyrights of previously touched files
...
X-SVN-Rev: 30717
2011-09-27 18:14:53 +00:00
Abhinav Gupta
d00e5b14fb
ICU-8328 switched to separate icudata.jar and icutzdata.jar
...
X-SVN-Rev: 30710
2011-09-26 15:30:39 +00:00
Angshuman Deb
aab73b3bb7
ICU-8796 fixed Javadoc with {@icuenhanced} tag
...
X-SVN-Rev: 30694
2011-09-20 01:40:44 +00:00
John Emmons
adc6836918
ICU-8821 Handle no inheritance marker in ICU4J
...
X-SVN-Rev: 30683
2011-09-19 16:10:48 +00:00
Markus Scherer
28e4515617
ICU-8788 deprecate ChoiceFormat
...
X-SVN-Rev: 30674
2011-09-16 00:24:27 +00:00
Peter Edberg
99fa6505ef
ICU-8753 Fix ICU4J Calendar.add() to handle change in ZONE_OFFSET
...
X-SVN-Rev: 30660
2011-09-15 04:22:55 +00:00
Yoshito Umaoka
684bbcecfe
ICU-8512 Prmoting previously tech preview TimeZoneNames/TimeZoneFormat APIs to draft. Implementing explicit serialization. Removed the logic for commonlyUsed flag for short names ( #8811 ). Let TimeZoneNameImpl fail when it cannot load necessary data.
...
X-SVN-Rev: 30659
2011-09-15 01:57:16 +00:00
Mark Davis
acf033775b
ICU-8816 Fix missing code to utilize fast frozen data structure.
...
X-SVN-Rev: 30654
2011-09-13 22:13:48 +00:00
Michael Ow
844d3c5e1f
ICU-8795 Remove suffix when CharsetMatch is creating a new string
...
X-SVN-Rev: 30648
2011-09-13 18:10:10 +00:00
Mark Davis
666e129847
ICU-8807 Fix constant that can't be changed until U6.1
...
X-SVN-Rev: 30641
2011-09-09 18:16:53 +00:00
Mark Davis
5b237cf6bb
ICU-8807 cleanup warnings
...
X-SVN-Rev: 30640
2011-09-08 23:07:29 +00:00
Mark Davis
c47d4fdbd7
ICU-8808 add access to punctuation characters
...
X-SVN-Rev: 30639
2011-09-08 22:38:05 +00:00
Mark Davis
e3546c39d6
ICU-8807 Add internal changes for use in unicode tools. Adds internal API, but doesn't change behavior if that is not called.
...
X-SVN-Rev: 30638
2011-09-08 22:28:40 +00:00
Markus Scherer
693640fd13
ICU-8805 fix some MessagePattern API comments
...
X-SVN-Rev: 30636
2011-09-08 19:27:48 +00:00
Markus Scherer
49407c6a1e
ICU-8806 fix MessageFormat plural # formatting: fix offset lookup
...
X-SVN-Rev: 30634
2011-09-07 23:02:21 +00:00
Yoshito Umaoka
27b6a943bc
ICU-8769 Reverted the previous change because of loading status issue. Move the cache to ICUResourceBundleReader that actually hold the resource data. Moved pool key bundle initialization to ICUResourceBundle to prevent cached instances modified by other classes.
...
X-SVN-Rev: 30633
2011-09-07 22:47:55 +00:00
Yoshito Umaoka
3959df3834
ICU-8769 Brought back ICUResourceBundle cache with improved cache logic.
...
X-SVN-Rev: 30627
2011-09-07 04:45:20 +00:00
John Emmons
2abb6e6d3b
ICU-8423 Use stand-alone form of script name if possible in getDisplayScript() APIs
...
X-SVN-Rev: 30621
2011-09-06 20:28:21 +00:00
John Emmons
d3f81bfa50
ICU-8611 Allow number patterns to be looked up by numbering system
...
X-SVN-Rev: 30576
2011-08-24 22:33:08 +00:00
Michael Ow
dd8732a309
ICU-7365 Promote approved data version API to draft 49 in ICU4J
...
X-SVN-Rev: 30571
2011-08-23 17:24:11 +00:00
Yoshito Umaoka
02375bb109
ICU-8630 Follow up fix - ULocale#setDefault(ULocale) to synchronize default Locale properly.
...
X-SVN-Rev: 30549
2011-08-19 20:44:12 +00:00
Markus Scherer
6a3384cfa2
ICU-8745 docs & comments from code review
...
X-SVN-Rev: 30533
2011-08-16 23:04:09 +00:00
Yoshito Umaoka
1487205b1a
ICU-8766 Fixed a regression bug - wrong parse position with RFC822 time zone format.
...
X-SVN-Rev: 30514
2011-08-16 16:35:02 +00:00
Markus Scherer
69c0605df2
ICU-8745 merge MessagePatternUtil into trunk, from merge --reintegrate branches/markus/msgnodes from r30506
...
X-SVN-Rev: 30510
2011-08-15 21:09:39 +00:00
Yoshito Umaoka
d895f91300
ICU-8630 A few more API doc updates explaining default locale type to be used
...
X-SVN-Rev: 30496
2011-08-12 15:31:37 +00:00
Yoshito Umaoka
2ae8b05602
ICU-8630 Category locale support for Java 7 conformance.
...
X-SVN-Rev: 30487
2011-08-11 19:53:36 +00:00
Yoshito Umaoka
5037790845
ICU-8734 ULocale.getDefault to return ULocale.ROOT when it is called when default ULocale is being initialized.
...
X-SVN-Rev: 30440
2011-07-28 17:55:33 +00:00
Yoshito Umaoka
09ac0d986b
ICU-8518 Fixed a potential bug (toLowerCase, Calendar class name/type mismatch) in the DateFormatSymbols constructor taking a Calendar class as an argument.
...
X-SVN-Rev: 30439
2011-07-28 16:40:37 +00:00
Michael Ow
ddaa367fa9
ICU-8729 Fix source buffer's array offset handling error
...
X-SVN-Rev: 30420
2011-07-25 22:18:42 +00:00
Yoshito Umaoka
05a386320e
ICU-8710 Fix Eclipse Java compiler warnings relevant to ICU4J 4.8.1
...
X-SVN-Rev: 30358
2011-07-14 22:35:58 +00:00
Mark Davis
d56fad92d0
ICU-8522 Now using the new special labels, tests passing.
...
X-SVN-Rev: 30325
2011-07-13 04:12:10 +00:00
Peter Edberg
3803ce751d
ICU-8583 J, Only parse arbitrary currency for calls that can return the found currency (e.g. parseCurrency)
...
X-SVN-Rev: 30315
2011-07-12 06:58:44 +00:00
Peter Edberg
6323e8b1aa
ICU-8583 make ICU4J parseCurrency methods public @internal
...
X-SVN-Rev: 30314
2011-07-12 03:33:00 +00:00
Michael Ow
834901f20c
ICU-8660 Skip the current source char when searching for the next escape character
...
X-SVN-Rev: 30297
2011-07-08 17:22:34 +00:00
Michael Ow
d71f5096b1
ICU-8664 Use the custom CharsetDecoder's replacement character if one is specified
...
X-SVN-Rev: 30284
2011-07-06 17:42:56 +00:00
Yoshito Umaoka
231a784d6c
ICU-8596 Fixed the actual maximum week problem.
...
X-SVN-Rev: 30275
2011-07-05 22:41:45 +00:00
Markus Scherer
ab842070fd
ICU-8676 remove the range check and Exception throwing from getCombiningClass()
...
X-SVN-Rev: 30270
2011-07-01 22:39:23 +00:00
Markus Scherer
3044b39615
ICU-8615 implement optional IDNA2008 CONTEXTO check in UTS46
...
X-SVN-Rev: 30267
2011-07-01 22:17:53 +00:00
Andy Heninger
a99e6dc48f
ICU-8634 Assertion Failures in spoof checker.
...
X-SVN-Rev: 30264
2011-07-01 00:12:29 +00:00
Markus Scherer
05cff4e761
ICU-8606 forgot to switch the second getCombiningClass(c) in UTS46.java; also switching to lower-level UBiDiProps functions
...
X-SVN-Rev: 30262
2011-06-30 23:10:11 +00:00
Markus Scherer
e95274d0a4
ICU-8606 add Normalizer2.getCombiningClass(c)
...
X-SVN-Rev: 30261
2011-06-30 22:07:22 +00:00
Markus Scherer
ea2123175f
ICU-8637 fix MessagePattern Part iteration when a plural style contains other followed by a different keyword, and the PluralRules return other
...
X-SVN-Rev: 30259
2011-06-30 18:33:32 +00:00
Michael Ow
a2b657a9a3
ICU-8612 Remove exception usage in normal code path of CharsetASCII and Charset88591
...
X-SVN-Rev: 30238
2011-06-27 18:06:05 +00:00
Michael Ow
cfe479cd47
ICU-8515 Add getMaxBytesForString to CharsetEncoderICU
...
X-SVN-Rev: 30237
2011-06-27 17:03:06 +00:00
Mark Davis
38a2ac09cc
ICU-8662 exposed some API (as @internal)
...
X-SVN-Rev: 30225
2011-06-23 17:29:16 +00:00
Yoshito Umaoka
53aae67b42
ICU-8624 Fixed a collation key copression problem. A tertiary key value was incorrect with a long string when case first option is enabled.
...
X-SVN-Rev: 30219
2011-06-20 14:39:30 +00:00
Michael Ow
a2ff52af8e
ICU-8636 Update ICU4J data to 49.0.1
...
X-SVN-Rev: 30217
2011-06-14 04:39:47 +00:00
Yoshito Umaoka
7f68601ad9
ICU-8636 Updated the version to 49.0.1 (49M1) except data path (requiring C update).
...
X-SVN-Rev: 30215
2011-06-13 20:45:44 +00:00
Yoshito Umaoka
233f71bedf
ICU-8528 Enabled Java assertions in build target check and exhaustiveCheck. Commented out assert statement returning errors. These issues are reported in ticket#8634 and #8637 .
...
X-SVN-Rev: 30199
2011-06-09 21:20:05 +00:00
Yoshito Umaoka
b1d06a7eab
ICU-8627 Lazily instantiate TimeZoneGenericNames also in J to improve the initial invocation peformance for default format patterns.
...
X-SVN-Rev: 30198
2011-06-09 19:15:09 +00:00
Yoshito Umaoka
3fafa85a60
ICU-8626 Set time zone ID in the OlsonTimeZone constructor, not via setID after creation.
...
X-SVN-Rev: 30197
2011-06-08 22:32:24 +00:00
Doug Felt
9dc733ed7d
ICU-8620 remove static ICUResourceBundle.cache
...
X-SVN-Rev: 30195
2011-06-03 23:17:53 +00:00
Dragan Besevic
b22717a642
ICU-8484 fix the problem with infinite loop with surrogates for collation
...
X-SVN-Rev: 30184
2011-06-02 19:56:42 +00:00
Michael Ow
7078702c9f
ICU-8569 Terminate the UTF-7 byte buffer with MINUS when flushing
...
X-SVN-Rev: 30176
2011-06-01 16:26:45 +00:00
Yoshito Umaoka
5ef5a3bed2
ICU-8488 Use explicit locale in String#toLowerCase / #toUpperCase.
...
X-SVN-Rev: 30156
2011-05-27 19:25:11 +00:00
Michael Ow
7225bff0c5
ICU-8549 UTF-7 error consumption fix to ICU4J
...
X-SVN-Rev: 30152
2011-05-27 17:08:14 +00:00
Yoshito Umaoka
356c5f4528
ICU-8589 Corrected the condition for using country display name in a time zone partial location name.
...
X-SVN-Rev: 30147
2011-05-26 19:42:16 +00:00
Markus Scherer
bcfcfcbd18
ICU-8563 do not right-shift a 32-bit integer by 32 bits
...
X-SVN-Rev: 30127
2011-05-16 23:18:47 +00:00
Yoshito Umaoka
e99c922c0b
ICU-8429 Degrade Region API status which did not get official final approval.
...
X-SVN-Rev: 30110
2011-05-13 16:40:54 +00:00
Yoshito Umaoka
d56cac5040
ICU-8429 Corrected a minor documentation error Currency#LONG_NAME.
...
X-SVN-Rev: 30092
2011-05-11 02:32:02 +00:00
Yoshito Umaoka
a0bb717524
ICU-8473 Supplied missing API docs.
...
X-SVN-Rev: 30091
2011-05-11 02:29:39 +00:00
Stuart Gill
77ae8b924e
ICU-8295 fix method visibility - public to private
...
X-SVN-Rev: 30087
2011-05-10 21:37:01 +00:00
Markus Scherer
874fc97fdf
ICU-8555 add nine new ISO 15924 script codes from 2010-12-21
...
X-SVN-Rev: 30086
2011-05-10 20:57:26 +00:00
Yoshito Umaoka
47e3d0c0de
ICU-8429 Forgot to update ICU4J data version.. updating to 4.8.
...
X-SVN-Rev: 30080
2011-05-10 18:39:51 +00:00
Stuart Gill
256fbc6f64
ICU-8295 changes based on code review
...
X-SVN-Rev: 30076
2011-05-10 00:14:12 +00:00
Markus Scherer
3de464a1e7
ICU-3660 use String not char[]
...
X-SVN-Rev: 30071
2011-05-09 23:00:17 +00:00
Andy Heninger
44d6182048
ICU-8542 Line endings and svn property cleanup of ICU4J
...
X-SVN-Rev: 30067
2011-05-09 21:34:09 +00:00
Michael Ow
a640b41fab
ICU-8429 Remove unused import in CharsetICU
...
X-SVN-Rev: 30065
2011-05-09 17:22:23 +00:00
John Emmons
74652a0d57
ICU-8347 Update javadoc for Region class to use paragraph separators
...
X-SVN-Rev: 30063
2011-05-09 16:55:24 +00:00
Michael Ow
2e86fffaca
ICU-8006 Update isFixedWidth implementation in ICU4J
...
X-SVN-Rev: 30053
2011-05-06 21:30:49 +00:00
Yoshito Umaoka
94747c670f
ICU-8429 Cleaned up import statements (all projects under main)
...
X-SVN-Rev: 30051
2011-05-06 21:17:48 +00:00
Yoshito Umaoka
c7e54c059a
ICU-8429 ICU data version to 4.8
...
X-SVN-Rev: 30050
2011-05-06 20:45:53 +00:00
Yoshito Umaoka
63bb1c6e6f
ICU-8429 Update ICU4J version to 4.8 / 4.8RC except data version.
...
X-SVN-Rev: 30047
2011-05-06 18:39:47 +00:00
Markus Scherer
78174d2eca
ICU-8319 remove redundant cast
...
X-SVN-Rev: 30025
2011-05-04 22:06:09 +00:00