Commit Graph

1887 Commits

Author SHA1 Message Date
Fredrik Roubert
e12467f252 ICU-10944 Delete unused class ICUBinaryStream.
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/111150043

X-SVN-Rev: 36031
2014-07-15 20:03:25 +00:00
Markus Scherer
61ee3253e8 ICU-10876 document Collator thread-safe only when frozen
X-SVN-Rev: 36022
2014-07-10 22:39:05 +00:00
Markus Scherer
1d533a66e8 ICU-10998 collation reorder others=Zzzz, recognize only others = reset
X-SVN-Rev: 36019
2014-07-09 23:36:43 +00:00
Markus Scherer
38b83477bf ICU-8082 private collation type: do not list as an available keyword value
X-SVN-Rev: 36012
2014-07-08 20:58:58 +00:00
Markus Scherer
aace462c2e ICU-8962 test collation import from und=root
X-SVN-Rev: 36010
2014-07-08 01:21:57 +00:00
Mark Davis
ff4dcfc31d ICU-10560 fix test
X-SVN-Rev: 35999
2014-07-04 16:27:32 +00:00
Mark Davis
1d11db8a35 ICU-10560 first cut, marked @internal for now
X-SVN-Rev: 35998
2014-07-04 15:48:06 +00:00
Mark Davis
adc2570f18 ICU-10600 add plural ranges and unit formatting
X-SVN-Rev: 35997
2014-07-03 13:16:30 +00:00
Andy Heninger
a0e8aa8bc9 ICU-10908 LocaleDisplayNames thread safety fix.
X-SVN-Rev: 35988
2014-07-02 22:19:59 +00:00
Yoshito Umaoka
1bbadfe835 ICU-10843 Fixed a collation test failure. It was caused by the lack of LocaleDisplayNamesImpl when the test is executed with a collation module jar.
X-SVN-Rev: 35971
2014-07-01 15:41:35 +00:00
Yoshito Umaoka
4ad6bfe991 ICU-10945 Test log might be emitted through AbstractTestLog, which was missed in the previous change.
X-SVN-Rev: 35966
2014-06-30 16:54:21 +00:00
Yoshito Umaoka
71fe3d234a ICU-10843 Fixed a couple of coding problems detected by FindBugs.
X-SVN-Rev: 35964
2014-06-27 20:14:41 +00:00
Yoshito Umaoka
2cf3edae51 ICU-10843 Updated Unicode license format, extracted the body part only.
X-SVN-Rev: 35962
2014-06-27 17:48:21 +00:00
Tom Zhang
925dd94560 ICU-10945 remove duplicate warning
X-SVN-Rev: 35960
2014-06-27 16:41:01 +00:00
Markus Scherer
df08e453dc ICU-10940 make ICUResourceBundleImpl smaller, remove lookup cache in favor of newer Reader cache, reduce object creation while finding resources and especially strings with fallback
X-SVN-Rev: 35936
2014-06-24 20:34:12 +00:00
Yoshito Umaoka
30dc6d9bbb ICU-10836 Added missing Locale version APIs and test cases for various classes.
X-SVN-Rev: 35924
2014-06-23 21:36:55 +00:00
Michael Ow
dda7e63991 ICU-10898 tzdata 2014e to ICU4J
X-SVN-Rev: 35893
2014-06-17 18:27:11 +00:00
Travis Keep
aee512a8ee ICU-10837 Fix broken build.
X-SVN-Rev: 35879
2014-06-13 23:23:36 +00:00
Travis Keep
04804b878f ICU-10837 Andy & Mark's review.
X-SVN-Rev: 35878
2014-06-13 20:18:57 +00:00
Scott Russell
4b919b3de0 ICU-10906 prevent SimpleDateFormat from trying to parse when ParsePosition is less than 0
X-SVN-Rev: 35875
2014-06-13 14:38:00 +00:00
Travis Keep
f14d920769 ICU-10916 Add abbreviations to relative date time formatting for JAVA.
X-SVN-Rev: 35868
2014-06-12 17:41:31 +00:00
Tom Zhang
7b4715d750 ICU-10945 Enhance TestFmwk output with file location
X-SVN-Rev: 35864
2014-06-11 21:27:25 +00:00
Tom Zhang
2330004e12 ICU-10344 add new field & factory method for currency CASH/STANDARD Usage
X-SVN-Rev: 35853
2014-06-10 18:48:49 +00:00
Markus Scherer
2d4d56185f ICU-10821 UCD 7.0 final data
X-SVN-Rev: 35850
2014-06-10 17:40:02 +00:00
Yoshito Umaoka
88750addb2 ICU-10344 Reverted previous change (r35833) and back to the original (r35820).
X-SVN-Rev: 35840
2014-06-09 21:32:49 +00:00
Tom Zhang
c90efd6e59 ICU-10344 add new field & factory method for currency CASH/STANDARD Usage
X-SVN-Rev: 35833
2014-06-09 19:30:22 +00:00
Yoshito Umaoka
a5980e0cbe ICU-9667 Removed a couple of paraLevel value assignment statements that have no effects, based on IBM Egypt team's suggestion.
X-SVN-Rev: 35820
2014-06-06 21:40:23 +00:00
Markus Scherer
b3a6ea1fa3 ICU-10932 merge branches/markus/lowmemres to trunk: use ByteBuffer to read .res files; allocate fewer/smaller objects; ResourceCache maps from resource int to immutable object; getString(key or index) avoid creating ICUResourceBundleImpl per string in many cases
X-SVN-Rev: 35815
2014-06-06 20:52:10 +00:00
Yoshito Umaoka
8b8551e5e6 ICU-10796 Runtime binding of LocaleDisplayNamesImpl. Refactored some methods in other classes to prevent undesired cross components dependencies.
X-SVN-Rev: 35805
2014-06-04 19:23:03 +00:00
Yoshito Umaoka
fc2b496c59 ICU-10937 A quick test patch - just moving the test data date. We may revise the fix later.
X-SVN-Rev: 35804
2014-06-04 16:38:57 +00:00
Travis Keep
7d94eb12a3 ICU-10778 Created procedure for updating generated code for MeasureUnit for C/J with each new release.
X-SVN-Rev: 35798
2014-06-02 22:55:19 +00:00
Markus Scherer
eee3938658 ICU-7057 InputStream.read() does not always read all .available() bytes
X-SVN-Rev: 35790
2014-06-02 16:52:13 +00:00
Markus Scherer
e91fd1e88e ICU-7057 bug fix: make it actually work when assertions are disabled, tested without -ea
X-SVN-Rev: 35789
2014-06-02 15:32:42 +00:00
Markus Scherer
98772b58a6 ICU-7057 bug fix: make it work when assertions are disabled
X-SVN-Rev: 35788
2014-06-02 14:08:57 +00:00
Markus Scherer
3cd4f31513 ICU-7057 make ICU4J CollationDataReader work directly with ByteBuffer rather than DataInputStream
X-SVN-Rev: 35786
2014-06-01 00:15:06 +00:00
Travis Keep
30429385f0 ICU-10778 Add test to ensure that MeasureUnit is backward compatible with ICU 53.1
X-SVN-Rev: 35785
2014-05-30 21:51:57 +00:00
Yoshito Umaoka
b5aa742648 ICU-10918 Moved the code reading an ICU configuration property out of DecimalFormat#subparse to static initializer. The configuration is no longer dynamic, so the corresponding test case was also updated.
X-SVN-Rev: 35773
2014-05-30 14:27:29 +00:00
Yoshito Umaoka
56d72817df ICU-8260 Unnecessary import statement left in the previous commit.. updating.
X-SVN-Rev: 35772
2014-05-29 21:47:33 +00:00
Yoshito Umaoka
821b9fdbb2 ICU-8260 Fixed a build problem on Java 5.
X-SVN-Rev: 35771
2014-05-29 21:03:46 +00:00
Markus Scherer
8ba8b4acd4 ICU-8260 support collation-related keywords via Collator base class if available
X-SVN-Rev: 35768
2014-05-29 00:13:50 +00:00
Markus Scherer
5918fef551 ICU-8260 support all collation-related keywords in Collator.getInstance()
X-SVN-Rev: 35767
2014-05-28 23:15:01 +00:00
Michael Ow
650ab573ea ICU-10709 Update ibm-1375 table in ICU4J
X-SVN-Rev: 35764
2014-05-28 20:30:06 +00:00
Michael Ow
c283beec97 ICU-10863 Update EUCTW mapping in ICU4J
X-SVN-Rev: 35756
2014-05-23 20:27:40 +00:00
Yoshito Umaoka
f129a97e32 ICU-10847 Use Arrays.toString(T[]) to format array type data.
X-SVN-Rev: 35749
2014-05-22 23:59:16 +00:00
Yoshito Umaoka
6b08b112cc ICU-10831 Corrected the API parameter description for StringPrep#prepare(), from NONE to DEFAULT.
X-SVN-Rev: 35743
2014-05-22 22:44:47 +00:00
Yoshito Umaoka
802269281b ICU-10905 Fixed missing @Deprecated annotation problem in several classes.
X-SVN-Rev: 35737
2014-05-22 20:20:27 +00:00
Yoshito Umaoka
8e23062195 ICU-10905 A new tool used for checking deprected tag/annotation consistency. Also added an ant target to run the tool. Some synthetic constructors in abstract class were added (this is our policy) and tighten status tag consistency check. Actual fix for missing @Deprecated annotation will follow.
X-SVN-Rev: 35736
2014-05-22 20:05:59 +00:00
Michael Ow
354db4a33d ICU-10898 tzdata 2014c to ICU4J
X-SVN-Rev: 35710
2014-05-14 01:18:40 +00:00
Travis Keep
07a3890c02 ICU-10793 Optimize ListFormatter.
X-SVN-Rev: 35677
2014-04-30 21:26:08 +00:00
Travis Keep
b76ad017cb ICU-10837 Add ScientificFormatHelper class.
X-SVN-Rev: 35669
2014-04-30 20:36:11 +00:00
George Rhoten
f81d3ccbfa ICU-10841 DateTimePatternGenerator.FormatParser should cache the UnicodeSet objects
X-SVN-Rev: 35661
2014-04-30 00:21:06 +00:00
Andy Heninger
db886fc4b2 ICU-10767 Use ConcurrentHashMap with RuleBasedBreakIterator.
X-SVN-Rev: 35656
2014-04-25 19:58:47 +00:00
Markus Scherer
093580b5dc ICU-10821 Unicode 7.0 in trunk, from branches/markus/uni70@35631
X-SVN-Rev: 35634
2014-04-14 23:08:41 +00:00
Yoshito Umaoka
417e2450f7 ICU-10843 Changed the ICU4J version numbers for 54M1.
X-SVN-Rev: 35629
2014-04-14 20:40:53 +00:00
Yoshito Umaoka
f519b59ca3 ICU-10816 Added a test case of DateFormat parse leniency setter/gettter APIs. Also cleaned up some lenient parse test code to match the ICU4C test cases.
X-SVN-Rev: 35628
2014-04-14 19:59:56 +00:00
Yoshito Umaoka
a7eb2801ab ICU-10810 Synchronized ICU4J data with ICU4C trunk to import the resource files built with the updated genrb.
X-SVN-Rev: 35545
2014-03-28 23:00:52 +00:00
Yoshito Umaoka
933fed99ed ICU-10434 tzdata2014b to ICU4J
X-SVN-Rev: 35534
2014-03-26 14:39:46 +00:00
Michael Ow
86c4aaf4ab ICU-10740 Fix newline error in ICU4J
X-SVN-Rev: 35504
2014-03-18 21:57:47 +00:00
Peter Edberg
36b2e91e43 ICU-10507 Better API documentation for asymmetric search (J)
X-SVN-Rev: 35503
2014-03-18 21:52:16 +00:00
Yoshito Umaoka
2551ca5c8d ICU-10749 Added 53.1 serialization test data and deleted 50.1 data.
X-SVN-Rev: 35494
2014-03-18 14:11:06 +00:00
Peter Edberg
eec8bee6df ICU-9101 Some API header doc cleanup for StringSearch/SearchIterator
X-SVN-Rev: 35486
2014-03-17 03:39:24 +00:00
John Emmons
49cec684d4 ICU-10792 Merge data fixes from Cldrbug:7068
X-SVN-Rev: 35474
2014-03-14 20:58:12 +00:00
John Emmons
5c9f27f401 ICU-10789 Some last minute changes in supplemental data from CLDR 25
X-SVN-Rev: 35464
2014-03-13 21:31:31 +00:00
Yoshito Umaoka
134c4e57c9 ICU-10757 Fixed a problem in DurationFormat#formatDurationFromNowTo() - polarity of duration was inverted before.
X-SVN-Rev: 35457
2014-03-13 08:51:44 +00:00
Yoshito Umaoka
911cf64ec7 ICU-10749 Fixed an Eclipse compiler warning.
X-SVN-Rev: 35456
2014-03-13 07:31:18 +00:00
Yoshito Umaoka
5a806e3472 ICU-10749 BRS ICU4J 53 - Organize imports
X-SVN-Rev: 35455
2014-03-13 07:24:42 +00:00
Yoshito Umaoka
3a18f04d94 ICU-10763 ICU4J 53 API status updates.
X-SVN-Rev: 35452
2014-03-13 04:45:07 +00:00
John Emmons
a5f40a5135 ICU-10441 Regenerate Japanese collation to fix double backslash problem
X-SVN-Rev: 35444
2014-03-12 21:44:09 +00:00
Markus Scherer
f1ab4ca109 ICU-10700 fix minor API docs bugs
X-SVN-Rev: 35437
2014-03-12 18:58:26 +00:00
John Emmons
2fda64929d ICU-10745 Merge CLDR 25 data
X-SVN-Rev: 35430
2014-03-12 04:41:01 +00:00
Travis Keep
1fcb35049c ICU-10640 Change C++ MeasureUnit code generation to include @draft ICU 53. Add comments to MeasureFormat around the formatting of numeric durations.
X-SVN-Rev: 35417
2014-03-11 23:00:21 +00:00
Travis Keep
fbe2510eba ICU-10700 Add documentation to JAVA about not registering services in the middle of an application run.
X-SVN-Rev: 35414
2014-03-11 22:58:25 +00:00
Yoshito Umaoka
2f995bd7e3 ICU-10374 Fixed some issues introduced by r35403. Also fixed compiler warnings in LocaleMatcher.
X-SVN-Rev: 35409
2014-03-11 21:35:11 +00:00
Mark Davis
eb858d8ff3 ICU-10374 integrate branch
X-SVN-Rev: 35403
2014-03-11 17:25:36 +00:00
Michael Ow
436829f8fc ICU-10434 tzdata2014a to ICU4J
X-SVN-Rev: 35402
2014-03-11 05:21:06 +00:00
Yoshito Umaoka
215d461208 ICU-10015 A fix for a minor issue in Deque found during code review.
X-SVN-Rev: 35395
2014-03-10 18:03:04 +00:00
Yoshito Umaoka
4c6a2ed3f7 ICU-10718 Updated ULocale getLanguage/getCountry/getScript/getVariant implementation based on George's feedback.
X-SVN-Rev: 35383
2014-03-07 22:47:45 +00:00
Markus Scherer
dc9edbf4e8 ICU-10738 CollationAPITest/TestVariableTopSetting use the root collator, fails with en_US_POSIX
X-SVN-Rev: 35382
2014-03-07 17:32:11 +00:00
Peter Edberg
901f2644d8 ICU-8511 Review fix, setTimeZone should do defensive clone of TimeZone
X-SVN-Rev: 35372
2014-03-06 23:28:21 +00:00
Yoshito Umaoka
5799b71849 ICU-9101 Updated API docs for SearchIterator and StringSearch. Tried to keep them synchronized with ICU4C API docs as much as possible.
X-SVN-Rev: 35353
2014-03-06 01:25:31 +00:00
Andy Heninger
d92c13c285 ICU-10324 Update Plural Rule API docs to show added SampleType parameter
X-SVN-Rev: 35352
2014-03-06 00:40:48 +00:00
Markus Scherer
10c83d606d ICU-7203 remove an obsolete comment
X-SVN-Rev: 35339
2014-03-04 23:50:05 +00:00
Markus Scherer
47d5e79a13 ICU-7203 remove MAX_CP_COUNT=200 limitation from Punycode
X-SVN-Rev: 35338
2014-03-04 23:46:53 +00:00
Markus Scherer
364f5c7205 ICU-10683 add ICU-specific exceptions
X-SVN-Rev: 35337
2014-03-04 22:45:10 +00:00
Andy Heninger
0031acaf17 ICU-4833 Update break iterator title case rules.
X-SVN-Rev: 35335
2014-03-04 20:19:57 +00:00
Yoshito Umaoka
2700c96d4b ICU-9101 Fixed some compiler warnings reported by javac in JDK - redundant type cast.
X-SVN-Rev: 35332
2014-03-04 19:44:48 +00:00
Markus Scherer
6551bf073e ICU-10639 detect the empty label before the ASCII dot in a domain name that contains nothing else
X-SVN-Rev: 35331
2014-03-04 19:44:46 +00:00
Markus Scherer
fe6eca4673 ICU-9101 fix hiraganaQuaternary API docs
X-SVN-Rev: 35327
2014-03-04 19:27:43 +00:00
Yoshito Umaoka
ac5b6cdc87 ICU-10749 Updated ICU4J version to 53.1
X-SVN-Rev: 35326
2014-03-04 19:17:31 +00:00
Yoshito Umaoka
c7d1e72a63 ICU-10720 Fixed a couple of defective test code.
X-SVN-Rev: 35323
2014-03-04 16:52:33 +00:00
Yoshito Umaoka
aaf4a4d807 ICU-9101 Fixed some coding issues reported by FindBugs in the new collation code.
X-SVN-Rev: 35322
2014-03-04 16:22:17 +00:00
Scott Russell
b0c6d643db ICU-10336 merge branch into trunk
X-SVN-Rev: 35318
2014-03-04 14:39:12 +00:00
Yoshito Umaoka
e9bdf144db ICU-10721 Changed BreakIterator factory method to throw NPE always when specified locale is null. The API docs are also updated to clarify this. The spec is equivalent to JDK.
X-SVN-Rev: 35317
2014-03-04 09:08:11 +00:00
Peter Edberg
21e8bbce00 ICU-10730 Just add tests verifying correct behavior for U in skeleton (J)
X-SVN-Rev: 35316
2014-03-04 08:46:56 +00:00
Yoshito Umaoka
5feaa6b547 ICU-10722 Deleted unused com.ibm.icu.text.DecompData.
X-SVN-Rev: 35314
2014-03-04 06:50:36 +00:00
Yoshito Umaoka
688a68d1a8 ICU-10665 Fixed bad HTML tags in the API docs for UCharacterIterator.
X-SVN-Rev: 35313
2014-03-04 06:20:13 +00:00
Yoshito Umaoka
3997d2d085 ICU-10746 Fixed a collation thread test execution problem. Made testFrozen (was the bad one) to share the same test code with testThreads (was OK).
X-SVN-Rev: 35310
2014-03-04 04:39:04 +00:00
Peter Edberg
4745a14bbf ICU-10635 Preserve DisplayContext when serializing RelativeDateFormat, adjust serialization of cached BreakIterator from #10633 and #10681
X-SVN-Rev: 35308
2014-03-04 00:41:23 +00:00
Markus Scherer
b5b38d2c98 ICU-9101 merge branches/markus/collv2@35302 into the trunk
X-SVN-Rev: 35305
2014-03-04 00:11:11 +00:00
Peter Edberg
62c9048bc0 ICU-10633 Implement context-sensitive number formatting (RBNF for J), handle serialization/equals for NumberFormat capitalizationSetting
X-SVN-Rev: 35301
2014-03-03 19:48:34 +00:00
Peter Edberg
bb74c8c14c ICU-8511 Add set/getTimeZone methods to ICU4J DateIntervalFormat
X-SVN-Rev: 35291
2014-03-03 02:20:50 +00:00
Peter Edberg
c2026e4aa5 ICU-10681 Lazily get and cache BreakIterator for titlecasing; lazily get contextTransform info if possible (J)
X-SVN-Rev: 35290
2014-03-02 22:27:26 +00:00
Yoshito Umaoka
3a249592b4 ICU-10602 Added @Deprecated annotation to @deprecated APIs. Corrected API status tag for SpoofChecker.SINGLE_SCRIPT, which was actually marked as @deprecated before ICU 51. Also some cleanup for non-standard @internal tag document.
X-SVN-Rev: 35254
2014-02-27 20:18:05 +00:00
Andy Heninger
0cae113eec ICU-10673 AnyTransliterator thread safety fix.
X-SVN-Rev: 35249
2014-02-27 18:58:29 +00:00
Markus Scherer
95874c18f0 ICU-10678 cherry-pick Unicode 7.0 U+20BD RUBLE SIGN for ICU 53
X-SVN-Rev: 35242
2014-02-26 21:45:33 +00:00
Yoshito Umaoka
d346620563 ICU-10737 ICU4J test runner to flush output writer at the end always.
X-SVN-Rev: 35237
2014-02-26 19:31:21 +00:00
Yoshito Umaoka
25d898f0b4 ICU-10544 Fixed some implementation problems in Calendar#add. When adding day or lager field results wall time falls into non-existing time slot created by DST transition, the new implementaion honors the current skipped wall time option.
X-SVN-Rev: 35232
2014-02-25 23:51:51 +00:00
Travis Keep
4f64ff0152 ICU-8116 Add tests to verify that currency plurals is working.
X-SVN-Rev: 35222
2014-02-25 00:10:02 +00:00
Yoshito Umaoka
d9085c6d2b ICU-10620 Some improvements in ICU4J test framework - printing out stack trace information through the print writer when an exception is thrown from a test code, other than errln. Also, errln no longer prints out useless stack trace information.
X-SVN-Rev: 35218
2014-02-24 21:17:24 +00:00
Peter Edberg
04855906d8 ICU-10630 Add "แอปพลิเคชัน" ("application"), "แท็ก" ("tag") to thaidict.txt (J)
X-SVN-Rev: 35214
2014-02-24 19:35:47 +00:00
Peter Edberg
25daba2eb5 ICU-10691 Add 23 city names (mostly from exemplar city data) to thaidict.txt (J)
X-SVN-Rev: 35212
2014-02-24 16:39:48 +00:00
Peter Edberg
2a2d770cd0 ICU-10712 Integrate non-collation, non-BCP47 data from CLDR trunk@9766 (J)
X-SVN-Rev: 35209
2014-02-24 07:18:49 +00:00
Yoshito Umaoka
151b10c6ca ICU-10601 Added ACCOUNTINGCURRENCYSTYLE to NumberFormat.
X-SVN-Rev: 35194
2014-02-21 19:15:04 +00:00
Mark Davis
2ccc9fb2bd ICU-10705 More substantive changes were needed. The code didn't get the CLDR data, and there were some problems with the algorithm. Added many more tests, and added a hack to get around the fact that the generated CLDR data is reordered (it needs to maintain the file order!)
X-SVN-Rev: 35193
2014-02-21 14:39:12 +00:00
Yoshito Umaoka
f7100c3d6e ICU-10718 Cache parsed language, script, country and variant in ULocale.
X-SVN-Rev: 35192
2014-02-21 08:16:18 +00:00
Andy Heninger
05681a5047 ICU-10015 Replace use of Deque in dictionary break.
X-SVN-Rev: 35190
2014-02-21 00:31:28 +00:00
Travis Keep
6f86221dee ICU-10640 Fix same bugs around duration formatting that were fixed in C++ in JAVA.
X-SVN-Rev: 35188
2014-02-20 23:59:45 +00:00
Travis Keep
d09b746a61 ICU-10640 Carry rounding measure amounts down except the last to the JAVA implementation.
X-SVN-Rev: 35182
2014-02-20 18:54:00 +00:00
Andy Heninger
8b58bace5e ICU-10706 Spoof Check, Rename SINGLE_SCRIPT -> SINGLE_SCRIPT_RESTRICTIVE as discussed in the PMC.
X-SVN-Rev: 35177
2014-02-19 23:57:20 +00:00
Andy Heninger
6d71a96d1b ICU-10706 Spoof Check Data Update.
X-SVN-Rev: 35165
2014-02-19 01:29:16 +00:00
Yoshito Umaoka
388efeb42e ICU-10015 Added in-house implementation of Deque wrapping JDK LinkedList for Java 5 env support.
X-SVN-Rev: 35151
2014-02-17 17:35:21 +00:00
Andy Heninger
6ebe0eb16d ICU-10015 Dictionary Break Iterator, resolve differences between ICU4J and ICU4C.
X-SVN-Rev: 35119
2014-02-11 00:09:33 +00:00
Travis Keep
ff4a993daa ICU-10640 Get rid of JAVA compiler warnings in MeasureFormat.
X-SVN-Rev: 35118
2014-02-10 23:56:23 +00:00
Yoshito Umaoka
eb26b21238 ICU-10662 Removed 'synchronized' keyword from Calendar/TimeZone factory methods and minimize the scope of lock. Added a simple performance test case, but not yet wired to performace test scripts. Created icu4j-perf-tests project and fixed some build script problems in perf-tests.
X-SVN-Rev: 35108
2014-02-07 15:20:17 +00:00
Travis Keep
0b5902b94d ICU-10646 String -> CharSequence
X-SVN-Rev: 35040
2014-01-30 20:09:46 +00:00
Travis Keep
25459cba6b ICU-10646 Improve documentation.
X-SVN-Rev: 35039
2014-01-30 18:44:46 +00:00
Travis Keep
53e36c62b6 ICU-10640 Add tests to be sure that TimeUnitFormat and CurrencyFormat are stand-ins for MeasureFormat.
X-SVN-Rev: 35037
2014-01-30 18:21:57 +00:00
Travis Keep
b5a7244a29 ICU-10640 Fix broken build. Fix MeasureFormat.format() to give correct begin and end index in FieldPosition even if the StringBuffer was initially non-empty.
X-SVN-Rev: 35035
2014-01-30 07:07:11 +00:00
Travis Keep
0f59bff9aa ICU-10646 Change SimplePatternFormatter.format() method to take String... instead of Object. replace formatValues() with format method that takes a StringBuilder and an int[].
X-SVN-Rev: 35034
2014-01-30 07:00:03 +00:00
Travis Keep
b50eda3341 ICU-10640 Change MeasureFormat to use QuantityFormatter.
X-SVN-Rev: 35030
2014-01-30 01:16:05 +00:00
Travis Keep
55e2a4a900 ICU-10640 Remove Appendable from JAVA MeasureFormat API.
X-SVN-Rev: 35029
2014-01-29 23:46:51 +00:00
Travis Keep
6f61caff18 ICU-10646 Template -> SimplePatternFormatter. evaluate -> format.
X-SVN-Rev: 35026
2014-01-29 21:42:17 +00:00
Travis Keep
1cf0f06b01 ICU-10646 Introduce Template class. Change ListFormatter and RelativeDateTimeFormatter to use the Template class instead of ad hoc replacement of placeholders.
X-SVN-Rev: 35014
2014-01-29 00:09:46 +00:00
Yoshito Umaoka
855434f737 ICU-10577 Changed Calendar not to use ICULocaleService which depends on language fallback. The new implementation uses calendar type/weekdata cache purely based on locale's region. Also update EhiopicCalendar's constructor to select proper subtype like Islamic calendar. This change also resolves unnecessary cyclic dependency between weekdata and calendar type (See #10425).
X-SVN-Rev: 35003
2014-01-27 22:15:02 +00:00
Yoshito Umaoka
86ae277276 ICU-10653 Fixed a thread safety problem in SimpleDateFormat.
X-SVN-Rev: 34993
2014-01-27 14:57:00 +00:00
Yoshito Umaoka
1f070a89af ICU-10632 DateFormat factory methods taking Calendar instance to handle relative styles properly.
X-SVN-Rev: 34988
2014-01-24 22:47:23 +00:00
Yoshito Umaoka
0654101831 ICU-10484 Fixed a couple of issues reported by secureCheck.
X-SVN-Rev: 34947
2014-01-21 15:40:01 +00:00
Scott Russell
c7ed3c0b31 ICU-10650 53m1 BRS task - updates for svn properties
X-SVN-Rev: 34945
2014-01-21 04:03:13 +00:00
Matitiahu Allouche
021f31f4b5 ICU-10647 fixes to UBA implementation to make it behave exactly like the reference implementations even for all the known weird cases.
X-SVN-Rev: 34935
2014-01-19 22:12:25 +00:00
Travis Keep
4fb86a23e2 ICU-10268 Remove duplicate MeasureFormatTest.testExamples
X-SVN-Rev: 34928
2014-01-17 22:49:28 +00:00
Travis Keep
fa4c8fd936 ICU-10268 deprecate TimeUnitFormat. Add tests from TimeUnitFormat for MeasureFormat. Add test for doc examples. Fix list formatting for narrow form.
X-SVN-Rev: 34920
2014-01-17 01:20:13 +00:00
Yoshito Umaoka
7dc15bbf25 ICU-10484 Updated license files in ICU4J for ICU 53
X-SVN-Rev: 34917
2014-01-16 22:50:49 +00:00
Yoshito Umaoka
ebb804aaeb ICU-10484 Fixed a bunch of API doc problems.
X-SVN-Rev: 34912
2014-01-16 17:38:13 +00:00
Yoshito Umaoka
97db2a2aa3 ICU-10484 Clean up import statements.
X-SVN-Rev: 34910
2014-01-16 16:05:50 +00:00
Yoshito Umaoka
e492bb6e02 ICU-10484 Fixed JDK javac compiler warnings.
X-SVN-Rev: 34909
2014-01-16 15:59:03 +00:00
Yoshito Umaoka
e084dcaecb ICU-10484 A workaround for a JDK TimeZoneNameProvider support problem caused by Pacific/Johnston in the locale SPI test case.
X-SVN-Rev: 34908
2014-01-16 04:32:12 +00:00
Yoshito Umaoka
c64fb93a29 ICU-10434 Oracle JDK still preserves solar times (Asia/Riyadh8x). The ICU4J time zone format test cases must exclude these zone when JDK tz implementation is used.
X-SVN-Rev: 34905
2014-01-15 22:35:58 +00:00
Peter Edberg
d894ab3a4f ICU-10574 Add API (getter/setter) to set capitalization context for NumberFormat, J
X-SVN-Rev: 34899
2014-01-15 09:13:26 +00:00
Peter Edberg
d6eb092438 ICU-10591 Fix capitalizationSetting initialization & comment about serialization
X-SVN-Rev: 34898
2014-01-15 09:10:22 +00:00
Peter Edberg
fce9b6ba8c ICU-10553 Implement context-sensitive capitalization for relative dates (J)
X-SVN-Rev: 34896
2014-01-15 08:12:16 +00:00
Peter Edberg
f12f43b80e ICU-10591 Hoist set/GetContext from SimpleDateFormat to DateFormat (J)
X-SVN-Rev: 34895
2014-01-15 03:40:46 +00:00
Andy Heninger
a82255096c ICU-10592 ICU4J BreakIterator, hoist rule status constants to base BreakIterator class
X-SVN-Rev: 34890
2014-01-14 22:27:51 +00:00
Yoshito Umaoka
77c39a1091 ICU-10606 Corrected the copyright year.
X-SVN-Rev: 34889
2014-01-14 20:35:14 +00:00
Scott Russell
8a3afd3cb5 ICU-10619 Improve usability of DateFormat's leniency control & promote BooleanAttribute control to draft for v53
X-SVN-Rev: 34887
2014-01-14 14:13:48 +00:00
Travis Keep
3da552ab8d ICU-10268 Add tests for narrow times.
X-SVN-Rev: 34885
2014-01-14 01:25:27 +00:00
Peter Edberg
38a4b241d6 ICU-10623 Integrated data generated from CLDR 25-M1, but skipped new data in data/coll/ (J)
X-SVN-Rev: 34879
2014-01-11 22:25:14 +00:00
Yoshito Umaoka
c25116c2c8 ICU-10615 Updated the fix by adding an intenal API Calendar.haveDefaultCentury() like ICU4C, to exclude Chiense/Japanese/Dangi calendar to skip the default century parsing.
X-SVN-Rev: 34868
2014-01-10 21:45:57 +00:00
George Rhoten
a94152774c ICU-8699 Never print stack trace in production code
X-SVN-Rev: 34864
2014-01-10 19:52:56 +00:00
Travis Keep
a988b05e8b ICU-10268 Added more tests.
X-SVN-Rev: 34862
2014-01-10 19:40:21 +00:00
Travis Keep
b2f94a75a8 ICU-10268 MeasureFormat to format currencies correctly.
X-SVN-Rev: 34860
2014-01-10 18:53:53 +00:00
Travis Keep
1ebcd33989 ICU-10268 Serialize FormatWidth enums by their ordinal values.
X-SVN-Rev: 34858
2014-01-10 16:55:55 +00:00
Yoshito Umaoka
a50418ca17 ICU-10583 Fixed a minor problem in illegal lead bye handling in the UTF-8 charset recognizer.
X-SVN-Rev: 34857
2014-01-10 16:12:09 +00:00
Travis Keep
cebd0a29d5 ICU-10268 Remove unused import
X-SVN-Rev: 34853
2014-01-10 00:46:11 +00:00
Peter Edberg
34558047c0 ICU-10609 Integrate changes from CLDR r9632 except for collation,brkitr (J)
X-SVN-Rev: 34852
2014-01-09 23:00:15 +00:00
Travis Keep
c06fef03ed ICU-10268 Mark Davis' review.
X-SVN-Rev: 34841
2014-01-08 21:07:37 +00:00
Yoshito Umaoka
e73ea7ab14 ICU-10390 Implemented Comparable interface in ULocale class.
X-SVN-Rev: 34840
2014-01-08 21:07:09 +00:00
Scott Russell
d72df4a157 ICU-10576 fix suboptimal if statement code in setBooleanAttribute
X-SVN-Rev: 34831
2014-01-06 21:23:13 +00:00
Yoshito Umaoka
b40d690f2a ICU-10615 A quick fix for 2-digit year parsing problem with Japanese calendar. Need more investigation.
X-SVN-Rev: 34830
2014-01-06 15:31:22 +00:00
Yoshito Umaoka
d6d57e4461 ICU-10434 tzdata2013i to ICU4J
X-SVN-Rev: 34829
2014-01-03 23:13:53 +00:00
Peter Edberg
cf004a4691 ICU-10609 Fix test failures only found in clean build, missed in incremental build, J
X-SVN-Rev: 34817
2013-12-23 06:43:34 +00:00
Peter Edberg
a9fc0b9464 ICU-10609 Roll in most of the data changes from CLDR r9586 (CLDR 25 pre-m1), J
X-SVN-Rev: 34815
2013-12-23 04:54:04 +00:00
Travis Keep
564948ef67 ICU-10268 Remove unused import.
X-SVN-Rev: 34803
2013-12-18 23:26:46 +00:00
Travis Keep
3b6a40b645 ICU-10268 Add additional test to handle MeasureFormat.formatMeasures() with zero and one arg.
X-SVN-Rev: 34802
2013-12-18 23:17:55 +00:00
Travis Keep
6f82c4b2d3 ICU-10606 Introduce DontCareFieldPosition.
X-SVN-Rev: 34799
2013-12-18 23:05:12 +00:00
Travis Keep
652d2952a2 ICU-10603 Add NUMERIC to MeasureFormat.FormatWidth.
X-SVN-Rev: 34797
2013-12-18 22:32:17 +00:00
Travis Keep
ef9fbd093c ICU-10268 Implement final comments from ICU meeting.
X-SVN-Rev: 34795
2013-12-18 21:55:57 +00:00
Travis Keep
905fd2dbc6 ICU-10268 Create private ImmutableNumberFormat wrapper so that developers don't have to remember to synchronize every use of NumberFormat.
X-SVN-Rev: 34794
2013-12-18 21:17:08 +00:00
Scott Russell
59dde192b7 ICU-10334 C vs. J differences when in lenient mode
X-SVN-Rev: 34791
2013-12-18 19:47:13 +00:00
Travis Keep
876d3ee9a9 ICU-10268 fix spelling and punctuation.
X-SVN-Rev: 34787
2013-12-17 23:20:58 +00:00
Travis Keep
e79533c9ad ICU-10268 Fix equals() / hashCode() according to effective JAVA in MeasureFormat. Take out synchronized blocks in CurrencyFormat as this class will remain thread unsafe.
X-SVN-Rev: 34786
2013-12-17 23:16:55 +00:00
Travis Keep
ddeb54ee63 ICU-10268 Make formatMeasures methods be together.
X-SVN-Rev: 34782
2013-12-17 01:23:49 +00:00
Travis Keep
3ef485dccf ICU-10268 Be sure that MeasureFormat and sub classes correctly implement clone() and getLocale(ULocale.VALID_LOCALE)
X-SVN-Rev: 34780
2013-12-17 01:09:02 +00:00
Travis Keep
a53682a55e ICU-10268 Fix serialization so that forward compatibility won't break when we add values to the FormatWidth enum.
X-SVN-Rev: 34775
2013-12-16 18:22:04 +00:00
Travis Keep
75d2b6eb2f ICU-10268 Incorporte Suggestions from Markus
X-SVN-Rev: 34766
2013-12-13 21:18:00 +00:00
Travis Keep
afa4315082 ICU-10268 Take Measurement API out of technology preview and have it match the current API proposal.
X-SVN-Rev: 34765
2013-12-13 18:26:18 +00:00
Peter Edberg
3ac01a5b95 ICU-10593 Add "บลูทูธ" ("Bluetooth") to Thai break dictionary (update ICU4J)
X-SVN-Rev: 34753
2013-12-12 04:21:18 +00:00
Travis Keep
3fa5329e97 ICU-8464 Update Java RelativeDateTimeFormatter with latest API proposal.
X-SVN-Rev: 34709
2013-12-04 21:19:34 +00:00
Yoshito Umaoka
132f872930 ICU-10566 Fixed HTML syntax problems in the API doc.
X-SVN-Rev: 34706
2013-12-03 20:02:45 +00:00
Andy Heninger
7c5ff0aad6 ICU-10532 Charset Detect of plain ASCII, boost UTF-8 likelyhood.
X-SVN-Rev: 34694
2013-11-26 01:26:58 +00:00
Travis Keep
2601495ccd ICU-8464 Fix so that calendar used in RelativeDateTimeFormatter is the default calendar for locale which may not be the gregorian calendar.
X-SVN-Rev: 34682
2013-11-21 23:30:27 +00:00
Travis Keep
b90cbad09c ICU-8464 Add Relative Date Formatting for JAVA.
X-SVN-Rev: 34663
2013-11-14 19:50:19 +00:00
Travis Keep
7db028c450 ICU-10542 Add more tests. Use Math.log10() instead of multiplying by 0.1 in a for loop.
X-SVN-Rev: 34656
2013-11-12 01:38:45 +00:00
Travis Keep
42dee8ca3b ICU-10542 Fix rounding for scientific notation.
X-SVN-Rev: 34654
2013-11-11 23:52:59 +00:00
Andy Heninger
cc2d6e41f8 ICU-10532 Improve UTF-16 charset detection.
X-SVN-Rev: 34646
2013-11-07 19:55:48 +00:00
Yoshito Umaoka
2f0c821f16 ICU-10515 Moved the top level TestAll to a new project icu4j-testall.
X-SVN-Rev: 34644
2013-11-06 22:09:21 +00:00
Yoshito Umaoka
6eede10a42 ICU-10528 Deleted unused com.ibm.icu.text.ListFormatterData
X-SVN-Rev: 34632
2013-10-31 21:05:26 +00:00
Scott Russell
fcdb86f818 ICU-10239 make eee[ee] & EEEEE processing in J behave the same as C
X-SVN-Rev: 34627
2013-10-30 21:18:19 +00:00
Yoshito Umaoka
29fae20bf6 ICU-10434 tzdata2013h to ICU4J
X-SVN-Rev: 34626
2013-10-30 01:51:52 +00:00
Yoshito Umaoka
e980695446 ICU-10518 Fixed an infinite loop problem in observesDaylightTime() revealed by tzdata2013h integration.
X-SVN-Rev: 34618
2013-10-29 07:20:08 +00:00
Travis Keep
339b6e98dd ICU-10485 Remove warnings from MeasureUnitTest.
X-SVN-Rev: 34603
2013-10-21 22:47:41 +00:00