Commit Graph

719 Commits

Author SHA1 Message Date
Mark Davis
eb858d8ff3 ICU-10374 integrate branch
X-SVN-Rev: 35403
2014-03-11 17:25:36 +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
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
Yoshito Umaoka
c7d1e72a63 ICU-10720 Fixed a couple of defective test code.
X-SVN-Rev: 35323
2014-03-04 16:52:33 +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
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
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
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
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
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
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
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
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
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
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
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
97db2a2aa3 ICU-10484 Clean up import statements.
X-SVN-Rev: 34910
2014-01-16 16:05:50 +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
fce9b6ba8c ICU-10553 Implement context-sensitive capitalization for relative dates (J)
X-SVN-Rev: 34896
2014-01-15 08:12:16 +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
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
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
Travis Keep
cebd0a29d5 ICU-10268 Remove unused import
X-SVN-Rev: 34853
2014-01-10 00:46:11 +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
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