Commit Graph

1375 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Markus Scherer
f1ab4ca109 ICU-10700 fix minor API docs bugs
X-SVN-Rev: 35437
2014-03-12 18:58:26 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Travis Keep
564948ef67 ICU-10268 Remove unused import.
X-SVN-Rev: 34803
2013-12-18 23:26:46 +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
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
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
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
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
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
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
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
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
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
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
Mark Davis
7b164713f3 ICU-10383 fix synchronization per Andy.
X-SVN-Rev: 34370
2013-09-18 13:41:49 +00:00
Yoshito Umaoka
1e57298e3f ICU-10012 Disable EBCDIC Arabic/Hebrew detectors by default. Added APIs to enable/disable each charset and get currently active charsets. Use ISO-8859-8-I for ISO-8859-8/logica/implicit - to make the behavior compatible with ICU4C implementation (#9364).
X-SVN-Rev: 34351
2013-09-17 07:07:53 +00:00
John Emmons
a380bf4716 ICU-9995 Remove Region.UNDEFINED_NUMERIC_CODE and document.
X-SVN-Rev: 34333
2013-09-16 20:27:16 +00:00
Travis Keep
7fb9143401 ICU-10378 Use copy-on-write semantics when modifying pre-existing EnumSet.
X-SVN-Rev: 34331
2013-09-16 16:49:11 +00:00
Scott Russell
bfbffd7805 ICU-10261 give DateFormat more granular leniency control
X-SVN-Rev: 34326
2013-09-16 12:20:50 +00:00
Peter Edberg
36e54c57f8 ICU-10378 (J) Change to use EnumSet instead of bitmasks
X-SVN-Rev: 34325
2013-09-16 05:20:11 +00:00
Matitiahu Allouche
66a277a085 ICU-10142 fixes to UBA implementation to satisfy all tests in BidiTest and BidiCharacterTest (version 6.3.0d3)
X-SVN-Rev: 34324
2013-09-15 20:53:10 +00:00
Yoshito Umaoka
1cb23f24df ICU-10399 ICU4J version number to 52.1.
X-SVN-Rev: 34318
2013-09-13 20:07:16 +00:00
Mark Davis
a7f34e92c9 ICU-8474 restored the canonicalization to =, !=, and %. (Somehow it got reverted, not sure how.) Ran the core tests; was unable to run all the tests (see email to core).
X-SVN-Rev: 34317
2013-09-13 19:53:16 +00:00
Yoshito Umaoka
90ded7ad3c ICU-10399 Organized import statements.
X-SVN-Rev: 34311
2013-09-13 17:54:23 +00:00
Markus Scherer
8e59fa7be4 ICU-9915 do not mask off the continuation bits and then later test this masked CE value for isContinuation()
X-SVN-Rev: 34310
2013-09-13 17:12:11 +00:00
Peter Edberg
d7aff40250 ICU-10378 (J) Support skeleton meta-character 'J' in DateTimePatternGenerator
X-SVN-Rev: 34294
2013-09-12 23:50:38 +00:00
Yoshito Umaoka
e27c77829d ICU-8474 Revert changes ULocale's class signature and comparTo method. Also removed Comparable from PluralRule's class signature, but preserved compareTo method as @internal.
X-SVN-Rev: 34289
2013-09-12 20:53:12 +00:00
Markus Scherer
56d546f8c5 ICU-8474 minor changes parallel with C++
X-SVN-Rev: 34276
2013-09-11 23:32:15 +00:00
Peter Edberg
a183ef1302 ICU-10065 (J) In DateTimePatternGenerator, add support for pattern chars O,X,x, adjust support for V,Z
X-SVN-Rev: 34263
2013-09-10 21:53:00 +00:00
Peter Edberg
dc0285bb1f ICU-7647 J, Add/use LaoBreakEngine and corresponding dictionary
X-SVN-Rev: 34233
2013-09-07 01:03:46 +00:00
Peter Edberg
ec72ffe189 ICU-10161 J - Ignore LRM/RLM/ALM in text and affixes when comparing;
add internal support for minus/plus symbol strings to DecimalFormatSymbols;
pre-integrate some CLDR 24 number symbol/pattern changes so tests match them.

X-SVN-Rev: 34212
2013-09-06 02:06:05 +00:00
Scott Russell
d5f385d4e5 ICU-10249 Implement new Islamic calendar variants tbla, rgsa (fix for broken test)
X-SVN-Rev: 34178
2013-09-04 02:44:27 +00:00
Scott Russell
d2d0d0d9f0 ICU-10249 Implement new Islamic calendar variants tbla, rgsa
X-SVN-Rev: 34172
2013-09-03 22:26:48 +00:00
Peter Edberg
f6f9d3762f ICU-9960 The private/@internal versions of matchString,subParse added in r31186 should be marked as such
X-SVN-Rev: 34166
2013-09-03 05:14:19 +00:00
Markus Scherer
748e8c9cc6 ICU-10142 implement Unicode 6.3 bidi algorithm additions: merge icu4j/branches/mati/uba63 into trunk, merge new test for BidiCharacterTest.txt into BiDiConformanceTest.java
X-SVN-Rev: 34149
2013-08-30 19:50:39 +00:00
Scott Russell
b5da651126 ICU-8449 compiler warning clean-up & add support for maintaining existing civil property along with new cType
X-SVN-Rev: 34146
2013-08-30 14:45:58 +00:00
Travis Keep
33c0acf233 ICU-10017 Rollback TimePeriod additions.
X-SVN-Rev: 34137
2013-08-30 00:17:33 +00:00
Yoshito Umaoka
bc031bb637 ICU-10268 Restored Currency serialization backward compatibility support for now. Also fixed a bunch of compiler warnings (both Eclipse compiler and JDK) introduced by unit/measure format work.
X-SVN-Rev: 34132
2013-08-29 21:14:09 +00:00
Travis Keep
3a4fa13ef8 ICU-10268 Mark Units API as internal deprecated and fix some minor bugs.
X-SVN-Rev: 34127
2013-08-29 18:31:11 +00:00
Peter Edberg
4431fc1f14 ICU-10299 Fix CjkBreakEngine fWordSet to include 30FC,FF70 (ICU4J)
X-SVN-Rev: 34125
2013-08-29 18:04:59 +00:00
Yoshito Umaoka
ca03cd866d ICU-10268 Serialization compatibility test related changes. Cleaned up skip cases. Reverted a previous change that seemed to exclude Currency from the compatibility test. Also fixed some compiler warnings introduced by previous commits for this ticket.
X-SVN-Rev: 34124
2013-08-29 17:45:39 +00:00
Travis Keep
fa9f269f4d ICU-8474 CompactDecimalFormat improvement avoid extra format call. Fix bugs in FixedDecimal.
X-SVN-Rev: 34100
2013-08-28 19:34:03 +00:00
Mark Davis
6037d39183 ICU-10268 Add the units along the lines of what was discussed. Needs more work, however.
X-SVN-Rev: 34099
2013-08-28 15:55:54 +00:00
Markus Scherer
2a36e2f226 ICU-8474 support plurals with decimals in MessageFormat and PluralFormat
X-SVN-Rev: 34087
2013-08-26 20:29:07 +00:00
Mark Davis
4505512d3e ICU-8474 Many changes to tests and code in order to properly separate DECIMAL from INTEGER isLimited and samples; fix samples/unbounded in CLDR, fix bounded, fix when to return null, check disallowed syntax etc.
X-SVN-Rev: 34082
2013-08-23 10:38:57 +00:00
Yoshito Umaoka
d73447b346 ICU-9526 Fixed a paring problem with custom monetary grouping separator. Ported equivalent fix for monetary decimal separator handing, updating the fix done by #9521. Fixed some bad coding style. Added a test case for testing custom symbols.
X-SVN-Rev: 34070
2013-08-20 20:59:18 +00:00
Peter Edberg
b19b309b18 ICU-10243 J, LocaleData.getMeasurementSystem/getPaperSize should get data from supplementalData
X-SVN-Rev: 34066
2013-08-19 23:49:53 +00:00
Mark Davis
60c838d40f ICU-8474 major change to PluralRules to move sample generation code into CLDR. Also did close to final renaming of internal classes
X-SVN-Rev: 34063
2013-08-19 18:32:19 +00:00
Scott Russell
5f2027f091 ICU-8449 fix incorrect deprecations
X-SVN-Rev: 34050
2013-08-16 16:44:14 +00:00
Scott Russell
a442610f93 ICU-8449 Add Um al-Qura Hijri Calendar Support
X-SVN-Rev: 34048
2013-08-16 16:04:37 +00:00
Yoshito Umaoka
d8d708a40c ICU-10256 Fixed NPE problem in TimeZoneJDK#clone().
X-SVN-Rev: 34038
2013-08-13 14:35:01 +00:00
Yoshito Umaoka
78a74d6171 ICU-10281 Fixed a VTIMEZONE writer problem that may produce overlapping rules.
X-SVN-Rev: 34025
2013-08-09 16:32:00 +00:00
Travis Keep
0bd4a85122 ICU-10204 Fix broken link in hebrew calendar documentation.
X-SVN-Rev: 34002
2013-07-31 23:38:17 +00:00
Travis Keep
75ee6eb19b ICU-10274 Attempt to fix broken ICU4J build.
X-SVN-Rev: 33987
2013-07-25 17:00:16 +00:00
Travis Keep
4b1b47ddb0 ICU-10274 Add compound duration formatting for JAVA.
X-SVN-Rev: 33980
2013-07-24 23:07:31 +00:00
Travis Keep
90f5a56a9d ICU-10222 Fix failing TimeUnitTest.java the cldr path for duration units changed units -> units/duration; unitsShort -> unitsShort/duration.
X-SVN-Rev: 33971
2013-07-23 23:17:32 +00:00
Yoshito Umaoka
9da57d92b2 ICU-10084 BRS - clean up imports (update)
X-SVN-Rev: 33962
2013-07-23 17:02:56 +00:00
Travis Keep
12b26e3073 ICU-10067 Implement feedback from API proposal.
X-SVN-Rev: 33955
2013-07-22 22:18:54 +00:00
Mark Davis
7b11899477 ICU-8474 make the fields of NumberInfo @internal for access by CLDR.
X-SVN-Rev: 33951
2013-07-20 22:57:32 +00:00
Mark Davis
07c13a589e ICU-8474 Fixed more test cases caused by plurals change
X-SVN-Rev: 33950
2013-07-20 21:18:07 +00:00
Mark Davis
50323c01c7 ICU-8474 made syntax fixes in accordance with doc, adjusted code for currencies to work right.
X-SVN-Rev: 33945
2013-07-19 19:38:17 +00:00
Mark Davis
7d4180dc4d ICU-10187 Fix test (regions that leaked () in CLDR).
X-SVN-Rev: 33923
2013-07-15 13:40:57 +00:00
Mark Davis
fa4c3dbe59 ICU-10187 replace the parens by brackets. Note: could not write a test, since we can't change ICU's locale data. However, stepped through the data to ensure that it worked.
X-SVN-Rev: 33921
2013-07-15 10:10:12 +00:00
Peter Edberg
dc3bff3e0d ICU-10244 (C) LocaleData.getLocaleSeparator now returns piece between {0} and {1} in new localeSeparator pattern
X-SVN-Rev: 33913
2013-07-11 18:59:13 +00:00
Ramy Said
e52a073bee ICU-9272 CharsetDetector Inefficiencies
X-SVN-Rev: 33901
2013-07-10 07:16:36 +00:00
Yoshito Umaoka
2e0d24aafc ICU-10084 BRS - Updated the API change report. Supplied API status tag to a bunch of new draft/private APIs. Fixed a API change report tool problem caused by an extremely long API signature (expanded an internal API signature token limit from 256 to 512).
X-SVN-Rev: 33899
2013-07-09 22:23:02 +00:00
Yoshito Umaoka
b280b62e5c ICU-10084 Resolve Eclipse compiler warnings.
X-SVN-Rev: 33898
2013-07-09 18:28:49 +00:00
Yoshito Umaoka
f1d2dd38fd ICU-10084 BRS - clean up import statements.
X-SVN-Rev: 33897
2013-07-09 16:45:56 +00:00
Peter Edberg
8d826958fd ICU-10222 (J) Integrate CLDR data snapshot for ICU 52.0.1; add calendar types
X-SVN-Rev: 33888
2013-07-08 06:31:43 +00:00
Peter Edberg
1358964c56 ICU-10244 (J) Handle localeDisplayPattern/separator as pattern
X-SVN-Rev: 33887
2013-07-08 06:28:29 +00:00
Mark Davis
b62f044d82 ICU-8474 cleanup, moving some test code to CLDR.
X-SVN-Rev: 33882
2013-07-03 08:58:32 +00:00
Scott Russell
3f23269839 ICU-9968 Return value of SimpleDateFormat subparse not correctly reflecting error at start pos 0 - fix failing ERA test
X-SVN-Rev: 33872
2013-07-01 19:00:14 +00:00
Scott Russell
5442e5a7a4 ICU-9968 Return value of SimpleDateFormat subparse not correctly reflecting error at start pos 0
X-SVN-Rev: 33871
2013-07-01 15:24:42 +00:00
Mark Davis
9333318d4e ICU-8474 cleanup, moving some test code to CLDR.
X-SVN-Rev: 33870
2013-07-01 10:35:20 +00:00