Commit Graph

261 Commits

Author SHA1 Message Date
Yoshito Umaoka
2c2d76044f ICU-7137 Moved getCalendarType from Calendar to new class CalendarUtil in impl package and use it from both Calendar and DateFormatSymbols.
X-SVN-Rev: 26643
2009-09-17 16:43:35 +00:00
Mark Davis
85f0ecb659 ICU-7139 fix index constructor, etc.
X-SVN-Rev: 26617
2009-09-10 17:57:19 +00:00
Michael Ow
ddc3287efd ICU-4954 Use skipRuleWhiteSpace after white space check.
X-SVN-Rev: 26610
2009-09-08 16:42:54 +00:00
Mark Davis
323d5a9b31 ICU-7125 Modify internal data structure to make it easer to build in CLDR.
X-SVN-Rev: 26604
2009-09-04 19:37:27 +00:00
Yoshito Umaoka
71fb8f005b ICU-4069 Some minor updates
X-SVN-Rev: 26603
2009-09-04 18:42:47 +00:00
Mark Davis
ddefb74427 ICU-7125 Fix warnings
X-SVN-Rev: 26601
2009-09-03 22:47:33 +00:00
Mark Davis
a13bccbf15 ICU-7125 Fix warnings
X-SVN-Rev: 26600
2009-09-03 22:44:25 +00:00
Mark Davis
b4176a2b83 ICU-7125 Fix warnings
X-SVN-Rev: 26599
2009-09-03 22:35:35 +00:00
Mark Davis
50cb567507 ICU-7125 Fix spurious test println
X-SVN-Rev: 26598
2009-09-03 22:30:26 +00:00
Yoshito Umaoka
830d75f537 ICU-7027 Once remove eclipse-dummy.jar from icu4j-core build path.
X-SVN-Rev: 26597
2009-09-03 20:44:49 +00:00
Michael Ow
37b340e112 ICU-7120 Fix error check in test and concatenation code for normalizer.
X-SVN-Rev: 26594
2009-09-03 19:32:31 +00:00
John Emmons
0ea33cbf80 ICU-4069 Implement getDisplayLanguageWithDialect() and getDisplayNameWithDialect()
X-SVN-Rev: 26593
2009-09-03 19:10:51 +00:00
Yoshito Umaoka
f8c58d2721 ICU-7107 Reverted the method signature to synchronized.
X-SVN-Rev: 26592
2009-09-03 19:00:24 +00:00
Yoshito Umaoka
ddd8a50457 ICU-7107 Fixed TimeZone#getDisplayName threading problem.
X-SVN-Rev: 26591
2009-09-03 18:57:40 +00:00
Mark Davis
42d4b38e15 ICU-7125 Add API for language matching for data that will be coming from CLDR.
X-SVN-Rev: 26589
2009-09-02 23:13:26 +00:00
Yoshito Umaoka
4425baa2f3 ICU-7027 Added eclipse-dummy.jar which contains dummy com.ibm.icu.text.Collator and Transliterator. Updated icu4j-core project to include the dummy jar in the build path, so we can resolve unwanted javadoc warning triggered by @link.
X-SVN-Rev: 26572
2009-08-28 19:46:57 +00:00
Michael Ow
392d7d16b6 ICU-4954 Ensure Unicode Pattern_White_Space set is used where appropriate.
X-SVN-Rev: 26571
2009-08-28 18:37:27 +00:00
John Emmons
e979b36cf7 ICU-4069 Cleanup unused variables
X-SVN-Rev: 26569
2009-08-28 15:26:43 +00:00
Yoshito Umaoka
eb9b97663b ICU-7097 Enabled java compiler option -Xlint:all,-deprecation,-dep-ann for API projects. Fixed redundant cast warnings detected by javac in various files. Added @SuppressWarnings for intended usage of fallthrough in switch statements. Enabled fallthrough warning in Eclipse project files.
X-SVN-Rev: 26568
2009-08-27 23:02:38 +00:00
John Emmons
7e0113e5e8 ICU-4069 Use localized locale pattern and separator in Ulocale.getDisplayName()
X-SVN-Rev: 26567
2009-08-27 20:28:30 +00:00
John Emmons
7b8f450d29 ICU-4547 Cleaned up Hebrew calendar mods based on Yoshito's code review
X-SVN-Rev: 26561
2009-08-27 17:53:57 +00:00
John Emmons
5a22aee70f ICU-4547 Cleaned up Hebrew calendar mods based on Yoshito's code review
X-SVN-Rev: 26560
2009-08-27 17:13:59 +00:00
Yoshito Umaoka
d98fd3f3fb ICU-6710 Formal @deprecated comment for ICU internal API.
X-SVN-Rev: 26557
2009-08-26 20:52:26 +00:00
Jason Spieth
7b753884ce ICU-4735 Cleanup TimeZone getDisplayName changes based on review comments - ICU4J
X-SVN-Rev: 26552
2009-08-26 16:52:47 +00:00
John Emmons
6b5b8779fd ICU-4547 Updated support for correct month numbering/naming in Hebrew calendar
X-SVN-Rev: 26523
2009-08-20 15:50:27 +00:00
John Vu
4f6acc7e64 ICU-6237 After upgrading to Eclipse 3.5, added back @SupressWarnings and comment out "dead code".
X-SVN-Rev: 26507
2009-08-18 17:09:22 +00:00
Yoshito Umaoka
5414398199 ICU-7032 Instead of create UnicodeSet instances for validating named parameter syntax, use UCharacter.isUnicodeIdentifierXXX for the same operation. This change drastically improve the initialization performance of MessageFormat without paying any runtime penalties.
X-SVN-Rev: 26506
2009-08-18 16:23:17 +00:00
Yoshito Umaoka
e24f8b9b03 ICU-7033 Use the new lightweight UnicodeSet constructor to initialize static fields in DecimalFormat to improve the initialization performance.
X-SVN-Rev: 26505
2009-08-18 13:25:49 +00:00
John Vu
558c4b2824 ICU-6237 Uploaded the Javadoc preferences for core, collate, charset, and translit to have the warnings appear if Javadocs are written incorrect for the settings placed.
X-SVN-Rev: 26503
2009-08-17 23:13:43 +00:00
John Vu
8bdfa75b71 ICU-6237 Fixed Javadoc warnings for "collate" "charset" and "translit" packages.
X-SVN-Rev: 26502
2009-08-17 23:01:21 +00:00
John Vu
2c50c7cebe ICU-6237 Fixed the warning for "core" package.
X-SVN-Rev: 26501
2009-08-17 18:17:11 +00:00
Michael Ow
651a023b47 ICU-5720 Add provisional comment after draft.
X-SVN-Rev: 26498
2009-08-13 20:52:10 +00:00
Michael Ow
2c58dba41c ICU-6710 Add provisional comments after draft.
X-SVN-Rev: 26497
2009-08-13 20:51:24 +00:00
Michael Ow
9e233fa1dc ICU-5720 Use TimeZone.getTZDataVersion method to avoid duplicate code.
X-SVN-Rev: 26496
2009-08-13 20:48:02 +00:00
Yoshito Umaoka
c3a6b83ddb ICU-7027 Fixed a bunch of Eclipse compiler warnings.
X-SVN-Rev: 26495
2009-08-13 20:32:55 +00:00
Michael Ow
ee2de03dc2 ICU-6710 Remove unneeded import.
X-SVN-Rev: 26494
2009-08-13 20:23:32 +00:00
Michael Ow
257bf86726 ICU-6710 Add description to ICULogger and implement in TimeZone.
X-SVN-Rev: 26492
2009-08-13 19:12:20 +00:00
Michael Ow
5f2ff249fd ICU-5720 Add data version to ICU4J.
X-SVN-Rev: 26491
2009-08-13 18:03:37 +00:00
Michael Ow
be4903380b ICU-6710 Add ICULogger class to ICU4J.
X-SVN-Rev: 26488
2009-08-12 22:38:53 +00:00
Yoshito Umaoka
a8f599ae11 ICU-7027 Exclude .svn from Java build path, so directory .svn and its contents won't be copied to the build output directory.
X-SVN-Rev: 26486
2009-08-12 19:15:17 +00:00
Yoshito Umaoka
7f169416ee ICU-7063 Reverting Mark's changes for #7063 for now, because of the build breakage and incompatibility concerns.
X-SVN-Rev: 26479
2009-08-11 20:44:22 +00:00
Jason Spieth
dc5876ae14 ICU-4735 Enhanced TimeZone getDisplayName allows for more name formats, ICU4J implementation.
X-SVN-Rev: 26475
2009-08-10 16:00:22 +00:00
Mark Davis
766b01ec0c ICU-7063 merged branch - rev 27439
X-SVN-Rev: 26474
2009-08-07 20:51:06 +00:00
Mark Davis
66b106094d ICU-6447 First pass at fixes to MessageFormat
X-SVN-Rev: 26473
2009-08-07 01:17:33 +00:00
Mark Davis
e23963cb67 ICU-6824 Merge in some more from CLDR
X-SVN-Rev: 26472
2009-08-07 01:07:04 +00:00
Jason Spieth
496eead7a6 ICU-4735 ULocale getTableString will return null instead of NullPointerException when input String is null.
X-SVN-Rev: 26460
2009-07-30 20:03:57 +00:00
Michael Ow
6691cb5e86 ICU-6653 Undo previous change.
X-SVN-Rev: 26445
2009-07-27 18:11:52 +00:00
Jason Spieth
252149b02a ICU-6033 IS_LEAP_MONTH moved from ChineseCalendar to Calendar
X-SVN-Rev: 26443
2009-07-27 17:09:00 +00:00
Mark Davis
1e5826f41a ICU-6824 Merge in another function from CLDR
X-SVN-Rev: 26440
2009-07-24 23:20:30 +00:00
Yoshito Umaoka
7bc2decc9e ICU-7075 Update ICU4J version to 4.3.2
X-SVN-Rev: 26432
2009-07-24 19:02:13 +00:00
Yoshito Umaoka
7a5a7996b6 ICU-7027 Fixed JavaDoc warnings.
X-SVN-Rev: 26412
2009-07-22 16:04:18 +00:00
Mark Davis
f1ff9f053f ICU-6824 Merged check utilities from CLDR.
X-SVN-Rev: 26409
2009-07-22 01:05:24 +00:00
Mark Davis
6a6561f8df ICU-6824 Clean up Utility in preparation for merging from CLDR
X-SVN-Rev: 26408
2009-07-22 00:40:18 +00:00
Yoshito Umaoka
13b8f9e49b ICU-7027 Fixed some module target test issues. Removed ICU NumberFormat/Calendar dependencies in the test framework.
X-SVN-Rev: 26407
2009-07-21 22:49:44 +00:00
Mark Davis
cd7e4f87e7 ICU-6824 Combined Differ files, moved to common location
X-SVN-Rev: 26398
2009-07-20 23:25:23 +00:00
Mark Davis
c361c76465 ICU-6824 Clean up the Collection Utilities. Now only one file of that name... Also needed to add a couple of small items to UnicodeSet.
X-SVN-Rev: 26397
2009-07-20 23:05:23 +00:00
Mark Davis
2e8983b499 ICU-6824 Merge in one method from CLDR, leave @internal
X-SVN-Rev: 26393
2009-07-20 20:48:59 +00:00
Mark Davis
6e82578ad6 ICU-6824 Merge in full-argument hex method.
X-SVN-Rev: 26386
2009-07-19 03:34:05 +00:00
Mark Davis
ec30227054 ICU-6824 Introduce temporary internal method so that we can refactor PrettyPrinter.
X-SVN-Rev: 26385
2009-07-19 03:33:13 +00:00
Markus Scherer
078e401f7b ICU-6945 merge into trunk: changes for .res formatVersion 2 (#6945) and quick fix for race in using UResourceBundle.addToCache() (#7054), from -r 26334:26353 icu4j/branches/markus/smallres2
X-SVN-Rev: 26376
2009-07-17 23:17:34 +00:00
Yoshito Umaoka
48ce6bad7b ICU-7036 Remove package.html from collate sub directory.
X-SVN-Rev: 26371
2009-07-17 21:55:09 +00:00
Yoshito Umaoka
e3e6e8de73 ICU-6635 Update BCP47 support code with OpenJDK LE work copy.
X-SVN-Rev: 26370
2009-07-17 19:59:23 +00:00
Jason Spieth
cdd3d8072a ICU-6708 Static caching of NumberingSystem object instances in NumberFormat, J implementation
X-SVN-Rev: 26365
2009-07-17 14:35:02 +00:00
John Vu
23e9fb042f ICU-6958 Increased code coverage by working with DictionaryBasedBreakIterator. Latest results at: http://www.icu-project.org/~johnvu/icu4j
X-SVN-Rev: 26319
2009-07-14 16:37:53 +00:00
John Vu
1430cc93d2 ICU-6958 Added CLOVER:OFF for portions that test code can't touch and also increased code coverage.
X-SVN-Rev: 26318
2009-07-13 23:02:23 +00:00
John Vu
d87079d337 ICU-6958 Increased code coverage for com.ibm.icu.text and added necessary CLOVER statements.
X-SVN-Rev: 26312
2009-07-13 21:05:21 +00:00
John Vu
97f7f28ea6 ICU-6958 Increased code coverage for com.ibm.icu.text.
X-SVN-Rev: 26310
2009-07-13 19:09:28 +00:00
Mark Davis
84893a2996 ICU-6824 Got a start on merging the CLDR variants, with UnicodeMap.
X-SVN-Rev: 26302
2009-07-11 07:55:47 +00:00
John Vu
dc0e83c78a ICU-6958 Increased code coverage of com.ibm.icu.text. Latest results at www.icu-project.org/~johnvu/icu4j.
X-SVN-Rev: 26295
2009-07-10 23:00:30 +00:00
John Vu
c3c2214b30 ICU-6958 Increased code coverage to com.ibm.icu.text.
X-SVN-Rev: 26294
2009-07-10 21:28:00 +00:00
Yoshito Umaoka
709e92c2e8 ICU-6916 Changed language tag casing compatible with BCP47
X-SVN-Rev: 26291
2009-07-10 19:49:41 +00:00
John Vu
0a65a856cb ICU-6958 Increased code coverage for com.ibm.icu.text specifically for RBNFChinesePostProcessor.
X-SVN-Rev: 26286
2009-07-10 18:08:46 +00:00
Mark Davis
40282fdd6a ICU-7033 added constructor, test
X-SVN-Rev: 26281
2009-07-10 00:12:59 +00:00
Doug Felt
a25960797a ICU-7044 merge translit modularization into trunk
X-SVN-Rev: 26280
2009-07-09 23:49:42 +00:00
Mark Davis
6bcaf05997 ICU-6810 Fixed generics, added iteration, collection utilities
X-SVN-Rev: 26277
2009-07-09 22:38:22 +00:00
John Vu
623b0548ca ICU-6958 Fixed a bug within a test case and increased code coverage for com.ibm.icu.text.
X-SVN-Rev: 26274
2009-07-09 22:08:54 +00:00
John Vu
19b38e4fea ICU-6958 Increased code coverage for com.ibm.icu.text.
X-SVN-Rev: 26269
2009-07-09 20:55:18 +00:00
John Vu
2a5f342a6a ICU-6958 Increase code coverage by targeting RBNFChinesePostProcessor.java.
X-SVN-Rev: 26260
2009-07-09 15:25:55 +00:00
Doug Felt
c9ad7a0d94 ICU-7040 fix null pointer exception when data is not present
X-SVN-Rev: 26253
2009-07-09 01:06:41 +00:00
John Vu
7f9f81eed4 ICU-6958 Increased code coverage for com.ibm.icu.text.
X-SVN-Rev: 26251
2009-07-08 23:01:22 +00:00
Doug Felt
9962ed3738 ICU-7040 provide default lenient scanner implementation by reflection
X-SVN-Rev: 26249
2009-07-08 21:10:55 +00:00
Yoshito Umaoka
127f55f00a ICU-7036 Several minor corrections, eclipse project files modifications and etc.
X-SVN-Rev: 26244
2009-07-08 18:12:00 +00:00
John Vu
e5a9021336 ICU-6958 Increased code coverage for com.ibm.icu.text. Latest results at www.icu-project.org/~johnvu/icu4j.
X-SVN-Rev: 26242
2009-07-08 16:34:51 +00:00
Doug Felt
3575ca859d ICU-7036 Reapply late change to moved file
X-SVN-Rev: 26238
2009-07-07 21:30:03 +00:00
Doug Felt
ec1316b16b ICU-7036 merge from dougfelt/collate -r 26185:26230
X-SVN-Rev: 26237
2009-07-07 19:24:00 +00:00
Yoshito Umaoka
d92683f797 ICU-7005 Update ICU4J version to 4.3.1
X-SVN-Rev: 26234
2009-07-07 16:52:40 +00:00
John Vu
bbcf8411d9 ICU-6958 Increased code coverage for com.ibm.icu.text especially adding test cases in DecompressionTest, DateIntervalFormatTest, BreakIteratorTest, and SearchTest.
X-SVN-Rev: 26232
2009-07-07 16:30:09 +00:00
John Vu
9fa22ec833 ICU-6956 Increased code coverage for UCharacter.java and added "CLOVER:OFF" for areas that can not be absolutely tested.
X-SVN-Rev: 26229
2009-07-06 20:33:47 +00:00
John Vu
84fe2f8147 ICU-6958 Increased code coverage for com.ibm.icu.text.NumberFormat.
X-SVN-Rev: 26228
2009-07-06 20:00:47 +00:00
John Vu
73860fffcd ICU-6958 Committing files before July 4 weekend. Increased code coverage in various areas of com.ibm.icu.text. See results at icu-project.org/~johnvu
X-SVN-Rev: 26225
2009-07-03 02:47:09 +00:00
John Vu
47e71f0974 ICU-6956 Increased code coverage after learning how to write up surrogates into the Java program.
X-SVN-Rev: 26222
2009-07-02 21:40:50 +00:00
Yoshito Umaoka
4b128ed816 ICU-7027 Remove unused properties including host specific file path from external tool launch configuration used for ant build in eclipse projects.
X-SVN-Rev: 26220
2009-07-02 19:11:06 +00:00
John Vu
ad76fc1b2e ICU-6956 Removed some comments and documentation to keep existing code from before.
X-SVN-Rev: 26211
2009-06-30 21:01:58 +00:00
John Vu
358af8bdac ICU-6956 Increased code coverage to about 93.7%. Ready for review.
X-SVN-Rev: 26208
2009-06-30 16:28:03 +00:00
Michael Ow
737d833448 ICU-6955 Fix potential error in mbcs and add more code coverage test cases.
X-SVN-Rev: 26194
2009-06-29 03:57:23 +00:00
John Vu
a9a00778a8 ICU-6956 Increased code coverage. Still working on a few more methods. Checking in files for the night.
X-SVN-Rev: 26191
2009-06-26 22:56:02 +00:00
John Vu
ed64ccd132 ICU-6956 Increased test coverage and committing for the night so that Michael Ow can create a report tomorrow morning.
X-SVN-Rev: 26175
2009-06-26 04:02:59 +00:00
Jason Spieth
b83aa67d3b ICU-6379 More efficient handleGetMonthLength method for CECalendar
X-SVN-Rev: 26159
2009-06-24 21:40:58 +00:00
Yoshito Umaoka
77015374a6 ICU-7017 Workaround for TimeZone#setRawOffset problem with Asia/Dhaka in tzdata2009i. Because there is no future standard time rule is set for Asia/Dhaka, the zone stays in DST forever. TimeZone#setRawOffset did not expect such irregular rule before.
X-SVN-Rev: 26155
2009-06-24 04:22:13 +00:00
John Vu
076f16ad5c ICU-6968 Moved getCLDRVersion to LocaleData
X-SVN-Rev: 26146
2009-06-23 20:26:25 +00:00
Yoshito Umaoka
22ca909a67 ICU-7014 Allow start time to be 24:00 in ICU4J SimpleTimeZone.
X-SVN-Rev: 26145
2009-06-23 20:01:39 +00:00
Michael Ow
9dcb89e824 ICU-6955 Remove duplicate code in CharsetMBCS add test case for SCSU.
X-SVN-Rev: 26139
2009-06-22 19:37:57 +00:00
Michael Ow
905834ecca ICU-6955 Fix CharsetSCSU error and add test case.
X-SVN-Rev: 26137
2009-06-21 18:46:42 +00:00
Michael Ow
283c484852 ICU-6955 Update code coverage test for SCSU and BOCU.
X-SVN-Rev: 26136
2009-06-21 06:55:31 +00:00
Michael Ow
8e2c79480a ICU-6955 Add test for LMBCS.
X-SVN-Rev: 26134
2009-06-19 23:12:47 +00:00
Michael Ow
1be173845b ICU-6955 Improve code coverage for charset SCSU. Fix some errors in CharsetSCSU.
X-SVN-Rev: 26133
2009-06-19 19:20:55 +00:00
Michael Ow
685da47d1a ICU-6955 Fix BOCU-1 logical errors and add test case.
X-SVN-Rev: 26128
2009-06-17 22:11:57 +00:00
Yoshito Umaoka
5f5e5f8855 ICU-6951 Added missing copyright comment in TestAllCore.java. Updated eclipse IDE setting for new class file to add the default copyright comment.
X-SVN-Rev: 26125
2009-06-17 15:34:35 +00:00
Andy Heninger
9f48e1a767 ICU-6926 set svn properties
X-SVN-Rev: 26123
2009-06-16 23:48:52 +00:00
Yoshito Umaoka
a96f4fd0e3 ICU-6951 Hand merged change set 26075, 26077 and 26106 which were blew up by svn merge.
X-SVN-Rev: 26114
2009-06-16 06:10:29 +00:00
Yoshito Umaoka
d1fbb5737e ICU-6951 Merging ICU4J new source layout changes to trunk
X-SVN-Rev: 26111
2009-06-16 05:52:23 +00:00