Commit Graph

1854 Commits

Author SHA1 Message Date
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
Yoshito Umaoka
77b6bb7721 ICU-10493 Added a stub implementation of hashCode() with assert false to make it consistent with equals() in SpoofChecker.
X-SVN-Rev: 34579
2013-10-17 19:34:21 +00:00
Yoshito Umaoka
334e8f52b8 ICU-10419 Removed unused import introduced by the previous change.
X-SVN-Rev: 34566
2013-10-14 22:21:29 +00:00
Travis Keep
f1df548fc4 ICU-10485 Fixed ListFormatter so that it finds the unit and unit-short version of lists.
X-SVN-Rev: 34564
2013-10-14 20:32:35 +00:00
Yoshito Umaoka
a50e894eb8 ICU-10219 Fixed a compiler warning in the previous change.
X-SVN-Rev: 34563
2013-10-14 19:17:54 +00:00
Yoshito Umaoka
83b441346b ICU-10485 Fixed a build error on Java 5 in the previous change.
X-SVN-Rev: 34562
2013-10-14 19:04:26 +00:00
Travis Keep
80b75a5817 ICU-10219 Fix rounding in TimeUnitFormat for JAVA.
X-SVN-Rev: 34554
2013-10-10 22:35:06 +00:00
Travis Keep
a3e12a9fe7 ICU-10419 Fix rounding in DecimalFormat in JAVA
X-SVN-Rev: 34553
2013-10-10 22:34:05 +00:00
Yoshito Umaoka
1746d496d4 ICU-10462 Changed the default time zone used by the ICU unit test framework from PST to America/Los_Angeles.
X-SVN-Rev: 34547
2013-10-10 21:23:53 +00:00
Travis Keep
c1fbbc062e ICU-10485 Fix MeasureUnit failing tests.
X-SVN-Rev: 34546
2013-10-10 20:58:53 +00:00
Yoshito Umaoka
0d26708552 ICU-10484 Fixed a compiler warning - unused variable.
X-SVN-Rev: 34545
2013-10-10 19:49:09 +00:00
Yoshito Umaoka
80ed875e6a ICU-10484 Update the ICU4J version numbers to 53/m1
X-SVN-Rev: 34544
2013-10-10 19:01:15 +00:00
Yoshito Umaoka
ff0dbde358 ICU-10313 Added Hebrew calendar month value checking for leap year.
X-SVN-Rev: 34540
2013-10-10 17:36:54 +00:00
Yoshito Umaoka
e47490270b ICU-10037 Update tzdata in ICU4J to 2013g
X-SVN-Rev: 34509
2013-10-02 23:52:12 +00:00
Markus Scherer
4e85ca937d ICU-10449 more Unicode 6.3 data updates from 2013sep25, revert some uppercase properties
X-SVN-Rev: 34493
2013-09-27 22:34:36 +00:00
Michael Ow
b059da2047 ICU-10037 Update tzdata in ICU4J to 2013f
X-SVN-Rev: 34489
2013-09-26 17:50:04 +00:00
Peter Edberg
22f108c028 ICU-10161 (J) Speed up trimMarksFromAffix per Yoshito, skip it entirely for affix length 1
X-SVN-Rev: 34463
2013-09-24 04:06:18 +00:00
Yoshito Umaoka
95c91d8e72 ICU-10399 Added serialization compatibility test data.
X-SVN-Rev: 34459
2013-09-23 19:22:44 +00:00
Yoshito Umaoka
3a41fdc007 ICU-10399 Some updates for the eclipse plug-in version. Resolve some compiler warnings, updated the build version.
X-SVN-Rev: 34456
2013-09-23 18:14:29 +00:00
Yoshito Umaoka
c1839fae2c ICU-10399 Added @provisional tag to @draft APIs.
X-SVN-Rev: 34454
2013-09-23 15:10:45 +00:00
Michael Ow
0111b99f92 ICU-10037 Update TestCanonicalID test case exclusion list in ICU4J
X-SVN-Rev: 34453
2013-09-23 14:36:27 +00:00
Yoshito Umaoka
cb99f40912 ICU-8449 ICU4J Islamic Umm Al-Qura calendar updates based on Yoshito's review.
X-SVN-Rev: 34445
2013-09-23 05:15:07 +00:00
Michael Ow
86ce4329cd ICU-10037 Update tzdata in ICU4J to 2013e
X-SVN-Rev: 34444
2013-09-23 03:01:10 +00:00
Markus Scherer
4396765af8 ICU-10399 updated pool.res files
X-SVN-Rev: 34426
2013-09-20 20:47:17 +00:00
Scott Russell
379fa7922b ICU-10249 review comment updates
X-SVN-Rev: 34409
2013-09-19 22:02:47 +00:00
Markus Scherer
a8c9e3b922 ICU-10142 bidi test data files from 2013-sep-19
X-SVN-Rev: 34408
2013-09-19 21:58:32 +00:00
Scott Russell
c4a3dda5fc ICU-10261 review comment updates
X-SVN-Rev: 34402
2013-09-19 18:02:36 +00:00
Yoshito Umaoka
886e16a276 ICU-10399 Fixed a coding issue. During the initialization of MeasureUnit, it should not use a subclass Currency. Currency.CURRENCY_FACTORY is actually in MeasureUnit, so it should not be accessed through Currency.
X-SVN-Rev: 34401
2013-09-19 17:44:06 +00:00
Yoshito Umaoka
e2f60a29ee ICU-10399 Added missing API status tags
X-SVN-Rev: 34389
2013-09-18 22:51:19 +00:00
Yoshito Umaoka
c9b42d2525 ICU-10399 Fixed some compiler warnings (Eclipse and JDK javac).
X-SVN-Rev: 34387
2013-09-18 21:52:51 +00:00
Yoshito Umaoka
3e7d7e68f8 ICU-10415 Additional fixes to PluralRules and PluralSamples. Incorrect and missing tags.
X-SVN-Rev: 34386
2013-09-18 20:58:47 +00:00
Yoshito Umaoka
87fff22f2f ICU-10393 API status promotion from draft to stable in ICU4J 52.
X-SVN-Rev: 34384
2013-09-18 19:55:38 +00:00
Mark Davis
0989e56a2f ICU-10415 fix mistag
X-SVN-Rev: 34383
2013-09-18 18:52:24 +00:00
Markus Scherer
14168ce260 ICU-10180 document that a string trie cannot be empty
X-SVN-Rev: 34381
2013-09-18 16:39:06 +00:00