Commit Graph

732 Commits

Author SHA1 Message Date
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
f129a97e32 ICU-10847 Use Arrays.toString(T[]) to format array type data.
X-SVN-Rev: 35749
2014-05-22 23:59:16 +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
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
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
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
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
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
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