Commit Graph

829 Commits

Author SHA1 Message Date
Mark Davis
74c81065f6 ICU-8474 updates to fix new rules, separate out test generation class, factory class, change toString() to roundtrip, etc.
X-SVN-Rev: 33499
2013-04-08 14:11:49 +00:00
Travis Keep
d8a9e311a3 ICU-10017 Git rid of special code in TimePeriod that copies non-immutable Number types. Add comments explaining that Number objects need to be immutable. Add unit test for TestPeriod.equals/hashCode. In JAVA implementation remove extra boolean flag for numeric and treat NUMERIC as a full fledged style as much as possible.
X-SVN-Rev: 33490
2013-04-03 22:05:00 +00:00
Travis Keep
c0ac428d94 ICU-10067 Add getLocale() and createPatternForNumItems() to ListFormatter.
X-SVN-Rev: 33488
2013-04-03 20:42:55 +00:00
Travis Keep
5dfe1df049 ICU-10063 Change ListFormatter.format() method to take a Collection<?> instead of a Collection<Object>
X-SVN-Rev: 33480
2013-03-29 22:23:24 +00:00
Travis Keep
cfd8e84278 ICU-10017 Correctly handle all types of Number fields in TimePeriod.
X-SVN-Rev: 33479
2013-03-29 21:43:18 +00:00
Travis Keep
f91bd1239d ICU-10017 Remove unused imports
X-SVN-Rev: 33478
2013-03-29 20:17:43 +00:00
Travis Keep
3652768a72 ICU-10017 Add test to insure that TimePeriod.forAmounts() throws IllegalArgumentException when necessary.
X-SVN-Rev: 33476
2013-03-28 22:51:46 +00:00
Travis Keep
3af99923b3 ICU-10017 Add test for formatPeriod for numeric style and for TimePeriods with just a single field.
X-SVN-Rev: 33475
2013-03-28 22:25:47 +00:00
Travis Keep
d21588cb60 ICU-10017 Do defensive copy of TimeUnitAmount objects in TimePeriod.forAmounts.
X-SVN-Rev: 33474
2013-03-28 21:04:41 +00:00
Travis Keep
eab9da1176 ICU-10017 Add test for TimeUnitFormat.formatPeriod for english using full name style.
X-SVN-Rev: 33473
2013-03-28 20:35:26 +00:00
Travis Keep
b35aa4dcf7 ICU-10017 Add API specification for composition of time periods for ICU4J into code.
X-SVN-Rev: 33471
2013-03-28 17:38:18 +00:00
Travis Keep
7c6a50445b ICU-10026 Add comment to normalizePlusAndMinus function in DecimalFormat.
X-SVN-Rev: 33466
2013-03-27 15:52:49 +00:00
Mark Davis
d3f8a3c777 ICU-8474 enhanced syntax
X-SVN-Rev: 33465
2013-03-27 13:57:35 +00:00
Travis Keep
d2f57f1ad3 ICU-10026 Make Numberformat.parse() even more lenient by allowing 7 alternates for plus and minus when parsing Not just ascii plus and minus.
X-SVN-Rev: 33462
2013-03-26 23:51:41 +00:00
Travis Keep
46a99dae07 ICU-10026 Make Numberformat.parse() method accept ascii plus and minus in addition to native plus and minus of locale for ICU4J.
X-SVN-Rev: 33461
2013-03-26 23:03:44 +00:00
Travis Keep
b33cab0a51 ICU-9914 DateIntervalFormat to handle 2 year vs. 4 year formats in ICU4J.
X-SVN-Rev: 33447
2013-03-21 16:43:17 +00:00
Yoshito Umaoka
2c0cefc43a ICU-9722 Resolved a JavaDoc warning.
X-SVN-Rev: 33371
2013-03-05 05:05:26 +00:00
Peter Edberg
3451781673 ICU-9965 Don't skip availableFormats items from non-root locales if conflict only due to basePattern (J)
X-SVN-Rev: 33359
2013-03-04 11:09:41 +00:00
Yoshito Umaoka
ee4e9d25ce ICU-9987 Fixed getWithFallback problem with a resource path including alias table. The issue with multiple getWithFallback calls will be tracked by #9964. This fix resolved the date format issue with Dangi calendar in English locale. It also fixed a part of problems reported by #9952.
X-SVN-Rev: 33353
2013-03-02 00:22:00 +00:00
John Emmons
26d2bde0fd ICU-9878 Update language/country code lists
X-SVN-Rev: 33338
2013-02-27 14:01:41 +00:00
Yoshito Umaoka
9f684a0417 ICU-9722 Clean up import statements.
X-SVN-Rev: 33324
2013-02-25 22:24:11 +00:00
Yoshito Umaoka
0a9b3e4833 ICU-9722 Updated the ICU4J version from 51.0.1 to 51.1 for RC. Moved timebombs.
X-SVN-Rev: 33323
2013-02-25 21:52:23 +00:00
Markus Scherer
7dd438bd57 ICU-9884 add comment for how to get a CurrencyInfo object
X-SVN-Rev: 33294
2013-02-21 20:59:39 +00:00
Yoshito Umaoka
9478c8e14f ICU-9722 Fixed java compiler and javadoc warnings.
X-SVN-Rev: 33293
2013-02-21 20:58:42 +00:00
Peter Edberg
91b8823ba5 ICU-9952 Workaround to fix inheritance for availFmt/intervalFmt items in ICU4J; #9964 for long-term fix
X-SVN-Rev: 33292
2013-02-21 11:33:13 +00:00
Yoshito Umaoka
4fa11a300d ICU-9947 Updated public API status for ICU4J 51.
X-SVN-Rev: 33290
2013-02-21 03:38:55 +00:00
Andy Heninger
4d713a0022 ICU-9715 Review comments.
X-SVN-Rev: 33289
2013-02-21 02:13:56 +00:00
Yoshito Umaoka
4984b0e4f0 ICU-9937 Quick fix for the bad code in CompactDecimalDataCache.
X-SVN-Rev: 33278
2013-02-20 21:17:27 +00:00
Yoshito Umaoka
af902b149f ICU-9696 Fixed HTML tagging problem in the previous change.
X-SVN-Rev: 33269
2013-02-19 10:30:59 +00:00
Yoshito Umaoka
63d88e3b2c ICU-9696 Updated the API doc for ICU4J SimpleDateForamt with the latest CLDR specification. Also include the reference to the LDML specification.
X-SVN-Rev: 33268
2013-02-19 08:42:21 +00:00
Markus Scherer
16795b49be ICU-9538 add script metadata properties API
X-SVN-Rev: 33260
2013-02-17 23:24:36 +00:00
Peter Edberg
e0488a1ab8 ICU-9497 Add support for short(er) weekday names: format, parse, get/set symbols (J)
X-SVN-Rev: 33256
2013-02-17 17:14:10 +00:00
Yoshito Umaoka
4dce9ff799 ICU-9940 Fixed some coding problems detected by FindBugs - Fixed threading issue with lazy instantiation of static field in a few classes.
X-SVN-Rev: 33247
2013-02-15 23:38:44 +00:00
Travis Keep
7982b01ec3 ICU-9916 Fix documentation in DateTimePatternGenerator. add->addPattern.
X-SVN-Rev: 33246
2013-02-15 22:15:14 +00:00
Yoshito Umaoka
9e53141f8b ICU-9941 Fixed a coding problem detected by FindBugs - changed put with putIfAbsent to make the operation atomic.
X-SVN-Rev: 33237
2013-02-15 17:06:32 +00:00
Yoshito Umaoka
79174eedb1 ICU-9939 Fixed a coding problem detected by FindBugs - commented out synchronized block containing an empty if statement.
X-SVN-Rev: 33236
2013-02-15 16:36:51 +00:00
Yoshito Umaoka
92c0aa3b98 ICU-9938 Fixed a coding problem detected by FindBugs - replacing == with equals().
X-SVN-Rev: 33235
2013-02-15 16:25:03 +00:00
Yoshito Umaoka
d4ca6e2dec ICU-9475 Some additional notes in TimeZoneNames API reference.
X-SVN-Rev: 33228
2013-02-14 22:50:17 +00:00
Andy Heninger
4f59ab84cc ICU-9657 Thread safety fix in charset detector.
X-SVN-Rev: 33199
2013-02-12 23:11:58 +00:00
Travis Keep
ca88f9ccba ICU-9919 DateIntervalFormat instances with custom DateIntervalInfo instances should not use the cache to populate themselves.
X-SVN-Rev: 33178
2013-02-12 01:00:40 +00:00
Andy Heninger
5f066fb106 ICU-9440 SpoofChecker, sync ICU4J with ICU4C.
X-SVN-Rev: 33177
2013-02-12 00:44:39 +00:00
Travis Keep
dd9bf9ba48 ICU-9922 Fix DateIntervalInfo.setIntervalPattern so that it affects just the current instance instead of affecting all instances for a locale.
X-SVN-Rev: 33176
2013-02-11 23:45:43 +00:00
Yoshito Umaoka
98dafe28a3 ICU-9867 New time zone pattern letters/types spport for CLDR 23/ICU 51.
X-SVN-Rev: 33157
2013-02-10 17:26:01 +00:00
Travis Keep
6d924df20b ICU-9918 Remove unused parameter from DateIntervalFormat constructor.
X-SVN-Rev: 33145
2013-02-08 22:35:44 +00:00
John Emmons
59d7271465 ICU-9844 Load region data in getPreferredValues()
X-SVN-Rev: 33143
2013-02-08 15:04:27 +00:00
Travis Keep
9d932766bd ICU-9628 Make comments regarding the meaning of gender styles more concise.
X-SVN-Rev: 33095
2013-01-30 17:31:21 +00:00
Peter Edberg
c0921a1308 ICU-9845 Remove character-escaping hack from LocaleData
X-SVN-Rev: 33074
2013-01-26 00:12:01 +00:00
Peter Edberg
659f888e89 ICU-9857 Adjust for CLDR calendar <fields> move to top of <dates> element (J)
X-SVN-Rev: 33073
2013-01-26 00:11:39 +00:00
Travis Keep
c5008ea67a ICU-9884 Deprecate CurrencyMetaInfo.CurrencyInfo public constructor.
X-SVN-Rev: 33069
2013-01-24 18:21:14 +00:00
Travis Keep
bba7443afb ICU-9863 Added 'fin' in _languages and _languages3 static arrays.
X-SVN-Rev: 33068
2013-01-24 17:25:08 +00:00