Commit Graph

1295 Commits

Author SHA1 Message Date
Yoshito Umaoka
8c9653dca9 ICU-10154 Optimized time zone historical offset iteration.
X-SVN-Rev: 33632
2013-05-10 16:32:04 +00:00
Travis Keep
2469052770 ICU-10069 Take into account compatible currency symbols, e.g half-width and full-width yen symbol, when parsing currencies. Currency symbol equivalence relation hard-coded in Currency class for now.
X-SVN-Rev: 33616
2013-05-08 23:46:30 +00:00
Travis Keep
8eeb9f536d ICU-10069 Clean up overly complicated currency matching code. This clean up was necessary because previous code assumed that currency string in text will match currency symbol in CLDR. With currency equivalences, this assumption no longer holds.
X-SVN-Rev: 33615
2013-05-08 19:53:08 +00:00
Michael Ow
a94b29c5a2 ICU-10084 Update version to 52.0.1
X-SVN-Rev: 33608
2013-05-08 01:38:44 +00:00
Travis Keep
e78cb5b4b0 ICU-10026 Fix DecimalFormat to handle variation of minus signs according to Mark Davis' suggestions.
X-SVN-Rev: 33605
2013-05-07 20:06:58 +00:00
George Rhoten
c55b3819a6 ICU-10136 Do not throw an exception when requesting the quotes for fr_CA. It should fallback to data from fr.
X-SVN-Rev: 33568
2013-05-01 21:37:14 +00:00
Bing Long
c6902ad571 ICU-100113 Added DateTimePatternGeneratorSample.java. Updated the API document in datetimepatterngenerator class for getBestPattern, addPattern, replaceFieldTypes.
X-SVN-Rev: 33555
2013-04-26 19:23:57 +00:00
Yoshito Umaoka
0cb16ea2bb ICU-9104 A minor change in the doc updated in the previous commit.
X-SVN-Rev: 33550
2013-04-25 21:00:44 +00:00
Yoshito Umaoka
766add67f0 ICU-9104 Updated CollationElementIterator API spec not to support changing the iteration direction without reset. Added a field tracking the iteration direction and trigger assertion when a caller violates the restriction (only when Java assertion is enabled).
X-SVN-Rev: 33549
2013-04-25 20:15:50 +00:00
Yoshito Umaoka
10f1e3259e ICU-10097 Replace ICURWLock implementation with JDK's ReentrantReadWriteLock. At the same time, disabled the stats collection (never used by ICU library consumers) by default.
X-SVN-Rev: 33543
2013-04-22 21:04:37 +00:00
Mark Davis
4524c8c33d ICU-8474 tuned portuguese, bengali, latvian, romanian, zulu
X-SVN-Rev: 33541
2013-04-22 14:49:51 +00:00
Michael Ow
37aa0f8445 ICU-9973 Make CharsetProviderICU thread safe
X-SVN-Rev: 33534
2013-04-17 15:29:37 +00:00
Mark Davis
297e433797 ICU-8474 fixes for serialization, which included change to equals
X-SVN-Rev: 33528
2013-04-15 06:19:53 +00:00
Yoshito Umaoka
e255e7d747 ICU-8957 Fixed issues detected by FindBugs in ICU library code except #9667 and #10097. Added FindBugs exclusion filter files in ICU4J library project directories.
X-SVN-Rev: 33516
2013-04-12 15:31:31 +00:00
Mark Davis
aa08affb3c ICU-8474 fix serbian, revamp rules to generate smarter samples
X-SVN-Rev: 33502
2013-04-09 13:43:13 +00:00
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
Yoshito Umaoka
27f8f4b33b ICU-9966 Patch for the test problem reported by #9966. Updated testdata.jar from ICU4C trunk.
X-SVN-Rev: 33322
2013-02-25 20:26:52 +00:00
Markus Scherer
e550589f9f ICU-9929 fix RuleBasedCollator initialization of reorder codes (must go after init()), sync coll/zh.res with ICU4C including native-script-first reordering
X-SVN-Rev: 33309
2013-02-22 23:43:17 +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
Andy Heninger
186db36241 ICU-9842 Change NBSP to ASCII spaces in AlphabeticIndex.java
X-SVN-Rev: 33282
2013-02-20 22:33:55 +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
a1296b9947 ICU-9943 Fixed a coding problem detected by FindBugs - prevent null dereference
X-SVN-Rev: 33248
2013-02-16 00:02:50 +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
Markus Scherer
407be346b7 ICU-9880 sync with C++ port, fix minor bugs
X-SVN-Rev: 33243
2013-02-15 21:22:57 +00:00
Yoshito Umaoka
bd8a81bfd6 ICU-9942 Fixed a coding problem detected by FindBugs - replaced == with equals()
X-SVN-Rev: 33238
2013-02-15 17:17:44 +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
Markus Scherer
db8e47ddf1 ICU-9842 simplify <p> in JavaDoc
X-SVN-Rev: 33175
2013-02-11 23:09:29 +00:00
Andy Heninger
593a9fd589 ICU-9842 Incorporate review comments.
X-SVN-Rev: 33174
2013-02-11 21:55:06 +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
Andy Heninger
f18976290a ICU-9842 Alphabetic Index constructor with collator, ICU4J
X-SVN-Rev: 33146
2013-02-08 23:35:46 +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
Markus Scherer
967319cfdb ICU-9880 Guard against a degenerate collator where some script boundary strings are primary ignorable
X-SVN-Rev: 33134
2013-02-07 00:55:27 +00:00
Markus Scherer
720b27098e ICU-9880 for CJK enumerate FDD0 contractions to replace hardcoded lists, adds support for zhuyin too; fix firstCharsInScripts for CJK to replace UScript-based hacks; simplify initLabels() code; fix initBuckets() for underflow label as the only one; make test for multiple primaries work with alternate=shifted; fix en_US_POSIX
X-SVN-Rev: 33112
2013-02-02 00:14:26 +00:00
Markus Scherer
919db4268e ICU-9880 add ImmutableIndex, overflow bucket always has non-null lowerBoundary, handle index characters with multiple primary weights, reject ignorable and unassigned index characters, lazy-create rarely-used objects, bug fixes, remove some obsolete commented-out code
X-SVN-Rev: 33105
2013-01-31 23:00: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
Travis Keep
205571f9f2 ICU-9760 Fix year in copyright message.
X-SVN-Rev: 33060
2013-01-17 17:56:11 +00:00
Travis Keep
3eafd4cf29 ICU-9508 Uncomment old CurrencyInfo constructor. Add test confirming its presence.
X-SVN-Rev: 33057
2013-01-16 21:22:11 +00:00
Peter Edberg
df1a9a0469 ICU-9781 Parsing fractional seconds should truncate (not round) to 3 places (J)
X-SVN-Rev: 33045
2013-01-13 19:11:07 +00:00
Travis Keep
16192c32d3 ICU-9800 Fix Currency.isAvailable() to return true for a currency that is available but is non-tender.
X-SVN-Rev: 33037
2013-01-11 19:15:17 +00:00
Yoshito Umaoka
90e68e9f70 ICU-9794 Depreacte LocaleData.ES_CURRENCY.
X-SVN-Rev: 33030
2013-01-09 21:42:21 +00:00
Travis Keep
4308b46d69 ICU-9508 Merge changes from cmi branch into trunk.
X-SVN-Rev: 33025
2013-01-09 01:08:55 +00:00
Yoshito Umaoka
bc5b7e5c35 ICU-9733 Use primary zone data (formerly singleCoutries) for generic location names in ICU4C. Synchronized metaZones.res including primaryZones data with ICU4C trunk.
X-SVN-Rev: 33013
2013-01-04 23:31:17 +00:00
Travis Keep
70deaa958c ICU-9531 CompactDecimalFormat to turn grouping separator off in short form only.
X-SVN-Rev: 33009
2013-01-02 22:31:02 +00:00
Travis Keep
aab28cd6aa ICU-9808 Fix comments in CurrencyMetaInfo.CurrencyFilter
X-SVN-Rev: 32996
2012-12-19 23:12:26 +00:00
Michael Ow
49d85a9d59 ICU-9641 Add customizable max parse digit to DecimalFormat
X-SVN-Rev: 32993
2012-12-19 01:23:53 +00:00
Jennifer Chye
bc5035579e ICU-9771 Update ICU4J to accomodate new currency dates
X-SVN-Rev: 32972
2012-12-14 22:15:57 +00:00
Mark Davis
cdec05e37b ICU-9789 Fix problems that Markus found in review.
X-SVN-Rev: 32965
2012-12-14 18:19:24 +00:00
Mark Davis
a249d85f4d ICU-9789 Fix problems that Markus found in review.
X-SVN-Rev: 32963
2012-12-14 16:29:05 +00:00
Yoshito Umaoka
612181f2f5 ICU-9785 Imported ICU data including updated Thai punctuation exemplar data. Also fixed ES_CURRENCY and some documentation / API version tag issues.
X-SVN-Rev: 32952
2012-12-13 19:52:57 +00:00
Mark Davis
730c1d3815 ICU-9789 Fix problems that Markus found in review.
X-SVN-Rev: 32950
2012-12-13 01:26:04 +00:00
Travis Keep
c716e6b67b ICU-9760 Use static final string arrays to avoid races in initialization.
X-SVN-Rev: 32949
2012-12-12 22:14:12 +00:00
Mark Davis
18f2d4bd81 ICU-9789 Make date parsing slightly more lenient to fix compatibility problems.
X-SVN-Rev: 32947
2012-12-12 19:17:26 +00:00
Mark Davis
2ee13b13ab ICU-7645 Fix some dangling non@internals
X-SVN-Rev: 32932
2012-12-06 17:58:22 +00:00
Mark Davis
8bb1a61c47 ICU-7645 Fixed problem in comparator exposed by Java 7.
X-SVN-Rev: 32924
2012-12-05 00:10:44 +00:00
Mark Davis
7de53e1046 ICU-7645 Various updates after feedback
X-SVN-Rev: 32919
2012-12-04 21:35:51 +00:00
Mark Davis
2e104e362a ICU-7645 Make test insensitive to order of elements in HashSet.
X-SVN-Rev: 32916
2012-12-02 20:21:48 +00:00
Mark Davis
55372c11e2 ICU-7645 Fix for old compilers
X-SVN-Rev: 32915
2012-12-02 19:22:16 +00:00
Mark Davis
c3c9ed82d0 ICU-7645 Fix breaking test.
X-SVN-Rev: 32913
2012-12-02 02:30:56 +00:00
Markus Scherer
64cb025065 ICU-9774 FilteredNormalizer2: CharSequence.subSequence(start, limit) limit must be <= length()
X-SVN-Rev: 32911
2012-11-30 22:04:01 +00:00
Mark Davis
95098e216b ICU-7645 First cut at spoof detection changed. All marked @internal for now.
X-SVN-Rev: 32910
2012-11-30 17:51:08 +00:00
Peter Edberg
c48704af3a ICU-9643 (J) Change "@internal ICU 50" display context API to "@draft ICU 51"
X-SVN-Rev: 32899
2012-11-28 01:10:47 +00:00
Yoshito Umaoka
63b30dc4c1 ICU-9668 Updated the spec of ULocale#equals. The modified implementation never returns true when the argument is String.
X-SVN-Rev: 32859
2012-11-16 23:16:12 +00:00
Travis Keep
e929da430f ICU-9691 Small optimization to ListFormatter.java
X-SVN-Rev: 32847
2012-11-16 00:59:11 +00:00
Travis Keep
59a7dc16de ICU-9647 Update J version of CompactDecimalFormat.
X-SVN-Rev: 32844
2012-11-16 00:44:07 +00:00
Yoshito Umaoka
6a2fd9b130 ICU-9746 Updated the build script for eclipse plug-in. The plug-in version no longer use different source code by this change. Also updated plug-in test and com.ibm.icu.base plug-in for Eclipse Kelper (June 2013).
X-SVN-Rev: 32841
2012-11-16 00:02:21 +00:00
Michael Ow
420268423d ICU-9722 Update ICU4J data version to 51
X-SVN-Rev: 32826
2012-11-14 21:40:47 +00:00
Yoshito Umaoka
814a90985f ICU-9722 Updated ICU4J version numbers except data.
X-SVN-Rev: 32799
2012-11-12 15:46:44 +00:00
George Rhoten
e076e3a5de ICU-9715 Improve RBBI next performance by about 5% (35% over ICU4J 50.1 for this ticket).
X-SVN-Rev: 32797
2012-11-12 00:49:43 +00:00
George Rhoten
cb4157921b ICU-9715 Improve RBBI next performance by about 30%.
X-SVN-Rev: 32795
2012-11-11 03:44:12 +00:00
Markus Scherer
475d69f9d2 ICU-9713 fix CollationKey.merge() API docs, sync with C ucol_mergeSortkeys(), minor improvements
X-SVN-Rev: 32782
2012-11-09 21:38:12 +00:00
Travis Keep
3fe72af5b0 ICU-9628 Fix J GenderInfo so that gender of a single item list is always the gender of the sole item.
X-SVN-Rev: 32758
2012-11-06 18:01:30 +00:00
Yoshito Umaoka
883e3dfb05 ICU-9582 Clean up import statements.
X-SVN-Rev: 32657
2012-10-18 17:32:46 +00:00
Yoshito Umaoka
31676208ae ICU-9582 Suppress unused warning for now.
X-SVN-Rev: 32651
2012-10-17 21:54:12 +00:00
Peter Edberg
8fe6eb0b2c ICU-9250 (J) Document that date format S+ fields truncate for S,SS and zero-pad for SSSS+
X-SVN-Rev: 32647
2012-10-17 04:49:15 +00:00
Yoshito Umaoka
c0241d47aa ICU-9633 Fixed unused warning by adding @SuppressWarnings.
X-SVN-Rev: 32645
2012-10-16 20:56:05 +00:00
Peter Edberg
e1eb8b2fab ICU-9633 Make capitalizationSetting transient, handle it in writeObject/readObject, bump currentSerialVersion
X-SVN-Rev: 32643
2012-10-16 19:52:45 +00:00
Peter Edberg
5eb6e0c01c ICU-9656 (J) Change RelativeDateFormat to keep 2 patterns (not formatters), and for fmt glue them (with substitutions) and apply to single formatter
X-SVN-Rev: 32641
2012-10-16 06:57:48 +00:00
Mark Davis
a967077c32 ICU-8782 Fixed review comments
X-SVN-Rev: 32623
2012-10-12 19:55:00 +00:00
John Emmons
e899f6a44e ICU-9587 Add @provisional statements to java docs - and one missing @draft ICU 50
X-SVN-Rev: 32604
2012-10-11 20:29:26 +00:00
Peter Edberg
62d858f72d ICU-9617 Fix a couple of misspellings in API header comments
X-SVN-Rev: 32601
2012-10-11 19:42:10 +00:00
Peter Edberg
57a08f9d38 ICU-9633 Delete unused imports to avoid Eclipse warning
X-SVN-Rev: 32598
2012-10-11 18:05:57 +00:00
Peter Edberg
76cf9f508a ICU-9638 Make LocaleDisplayNamesImpl actually use context info; add test; make DisplayContext constructor private
X-SVN-Rev: 32596
2012-10-11 12:41:08 +00:00
Yoshito Umaoka
9b428833c5 ICU-9645 Fixed the test case Test5006GetShortMonths and removed the timebomb.
X-SVN-Rev: 32588
2012-10-10 16:19:37 +00:00
Travis Keep
86571337e9 ICU-9597 Be sure that FieldPosition adjusted correctly in DecimalFormat.java
X-SVN-Rev: 32581
2012-10-09 22:30:13 +00:00
Yoshito Umaoka
332cbae932 ICU-9640 Documented the internal maximum digit limit used by DecimalFormat#parse introduced by ticket#5698 in ICU4J.
X-SVN-Rev: 32576
2012-10-09 17:27:38 +00:00
Yoshito Umaoka
07582f8efa ICU-9400 Workaround for Java's TimeZoneNameProvider support problem.
X-SVN-Rev: 32573
2012-10-09 04:54:56 +00:00
John Emmons
7e5eb1c4c1 ICU-9587 Beefed up Region API tests - some fixes to the data loading based on the results of the better tests.
X-SVN-Rev: 32569
2012-10-09 03:26:22 +00:00
Yoshito Umaoka
b21ad6f2aa ICU-9268 Deleting ICULogger. Replace ICULogger with the stock Java Logger in TimeZone class.
X-SVN-Rev: 32568
2012-10-09 03:22:02 +00:00
Peter Edberg
3b393aeec0 ICU-9633 Also update ChineseDateFormat.java for new DisplayContext enum
X-SVN-Rev: 32567
2012-10-09 02:39:04 +00:00
Peter Edberg
5c54282570 ICU-9633 Adapt SimpleDateFormat display context APIs to new DisplayContext enum
X-SVN-Rev: 32566
2012-10-09 01:49:46 +00:00
Peter Edberg
d36b6bb6ae ICU-9303 Check in DisplayContext enum and related LocaleDisplayNames APIs; still need full impl & tests
X-SVN-Rev: 32565
2012-10-09 01:49:09 +00:00
Markus Scherer
dd29ba28aa ICU-8476 optimize Normalizer2.normalize(): Do not construct a new String if the src is a String and is already normalized
X-SVN-Rev: 32562
2012-10-08 22:59:19 +00:00
Markus Scherer
7fdcb9440b ICU-9375 add WEEKDAY & ABBR_WEEKDAY (as already proposed), fix API tags, reorder constants big->little as intended
X-SVN-Rev: 32560
2012-10-08 22:12:29 +00:00
Scott Russell
5c6dc411d8 ICU-9403 Calendar should return error for large negative millis out of range in strict mode
X-SVN-Rev: 32553
2012-10-08 19:13:27 +00:00
Markus Scherer
0963e7f300 ICU-8689 MessagePattern: include adjusted pattern index in Exception
X-SVN-Rev: 32550
2012-10-08 18:03:08 +00:00
Mark Davis
6a81ec8327 ICU-8782 Added the functionality and tests.
X-SVN-Rev: 32544
2012-10-07 21:11:47 +00:00
Yoshito Umaoka
0824af4865 ICU-9617 ICU4J API status update for 50.
X-SVN-Rev: 32536
2012-10-05 23:59:50 +00:00
Mark Davis
d3dc9e4d18 ICU-9375 fixed skeletons
X-SVN-Rev: 32524
2012-10-05 18:05:04 +00:00
Travis Keep
6c3af9665d ICU-9554 Fix apireport.
X-SVN-Rev: 32507
2012-10-04 19:14:22 +00:00
Roozbeh Pournader
8158ae5725 ICU-8965 Add Persian Calendar support
X-SVN-Rev: 32500
2012-10-04 00:42:02 +00:00
Michael Ow
8ce88dd623 ICU-8703 Fix tabs in ArabicShaping code
X-SVN-Rev: 32496
2012-10-03 17:17:35 +00:00
Yoshito Umaoka
5edf0b264d ICU-9621 Fixed TimeZone#observsDaylightTime issue on Africa/Casablanca showing up after Sep 2012.
X-SVN-Rev: 32486
2012-10-02 17:48:46 +00:00
Travis Keep
2679b554cb ICU-9554 JAVA CompactDecimalFormat to support negative numbers
X-SVN-Rev: 32479
2012-10-01 22:24:57 +00:00
John Emmons
46f7e6258a ICU-9587 Updated and improved Region API - moving to draft ICU 50
X-SVN-Rev: 32473
2012-09-29 01:44:13 +00:00
Yoshito Umaoka
b5bed9e922 ICU-9255 Merged ICU4C trunk r32468 locale data including Dangi calendar format data (aliases) and removed Dangi calendar formatting hacks. Also fixed pattern cache key found during the development.
X-SVN-Rev: 32469
2012-09-28 21:17:44 +00:00
Travis Keep
9620ed5954 ICU-9615 Change GenderInfo.java to use CLDR data
X-SVN-Rev: 32466
2012-09-28 19:01:28 +00:00
Travis Keep
946d320413 ICU-9612 Make single quote logic processing correct.
X-SVN-Rev: 32463
2012-09-28 18:46:48 +00:00
Travis Keep
841c0b626a ICU-9612 Let 0 in CLDR data mean format number normally with no prefix or suffix.
X-SVN-Rev: 32453
2012-09-28 00:30:42 +00:00
Travis Keep
df0d824956 ICU-9612 Fix CompactDecimalFormat so that it handles periods correctly that appear in prefixes or suffixes.
X-SVN-Rev: 32450
2012-09-27 23:41:01 +00:00
Travis Keep
24123a1ac0 ICU-9604 CompactDecimalFormat.getCompactDecimalInstance -> CompactDecimalFormat.getInstance
X-SVN-Rev: 32443
2012-09-27 20:07:18 +00:00
Travis Keep
9cd81237ef ICU-9604 Add documentation to NumberFormat directing users to subclasses for more factory methods.
X-SVN-Rev: 32442
2012-09-27 19:51:55 +00:00
Travis Keep
719917e4a2 ICU-9604 Move JAVA CompactDecimalFormat factory methods and LONG/SHORT enum from NF down to CDF
X-SVN-Rev: 32437
2012-09-27 18:25:47 +00:00
Travis Keep
3cae7b9459 ICU-9577 For CompactDecimalFormat data, look for local number system long; latin long; local number system short; latin short.
X-SVN-Rev: 32432
2012-09-27 16:05:44 +00:00
Yoshito Umaoka
331d9f169f ICU-9255 Adding the traditional Korean calendar (Dangi) support to ICU4J.
X-SVN-Rev: 32426
2012-09-25 21:45:16 +00:00
Markus Scherer
bb84a02132 ICU-9589 document that the so-called UCA rules are not normally useful and can be removed from the data
X-SVN-Rev: 32411
2012-09-20 05:37:13 +00:00
Dina Sayed
f9f14a5d51 ICU-8703 Bug fix in Arabic shaping exceptional handling for Shadda
X-SVN-Rev: 32402
2012-09-18 16:46:19 +00:00
Travis Keep
f985dceb39 ICU-9566 Fix CompactDecimalFormat.formatToCharacterIterator in JAVA to work correctly.
X-SVN-Rev: 32395
2012-09-17 18:06:12 +00:00
Travis Keep
afbf770237 ICU-9577 CompactDecimalFormat to fallback to short form when long form is not available.
X-SVN-Rev: 32386
2012-09-14 18:41:29 +00:00
Travis Keep
237e167bce ICU-9541 Re-integrate branch changes into trunk.
X-SVN-Rev: 32375
2012-09-11 23:54:53 +00:00
Yoshito Umaoka
434a6ddb11 ICU-9381 Shorten time zone generic location name per cldrbug:4897. Regenerated CLDR trunk data and imported them from ICU4C including fixes necessary for this.
X-SVN-Rev: 32369
2012-09-11 16:28:12 +00:00
Yoshito Umaoka
3a39eb34aa ICU-9413 Fixed some issues in the Eclipse plug-in build script.
X-SVN-Rev: 32325
2012-09-04 04:44:50 +00:00
Yoshito Umaoka
bf7bb33bc4 ICU-9413 Updated the API change report for 50M2. Changed the new break engine implementation classes from public to package private.
X-SVN-Rev: 32324
2012-09-04 03:09:29 +00:00
Yoshito Umaoka
e4ee964593 ICU-9413 Fixed Javadoc warnings - mostly incomplete tag in non-API methods.
X-SVN-Rev: 32323
2012-09-04 02:52:12 +00:00
Yoshito Umaoka
063b48f66a ICU-9413 Compiler warning - Removed unused constant in ListFormetter.
X-SVN-Rev: 32322
2012-09-04 02:13:41 +00:00
Yoshito Umaoka
d2bb385526 ICU-9413 BRS cleanup imports
X-SVN-Rev: 32312
2012-08-31 21:52:08 +00:00
Yoshito Umaoka
768b3383fd ICU-9413 ICU4J version to 50.0.2
X-SVN-Rev: 32311
2012-08-31 21:36:15 +00:00
Yoshito Umaoka
1488875053 ICU-9401 Use Integer.MAX_VALUE for FIELD_DIFF_MAX_INT - minor update by code review.
X-SVN-Rev: 32309
2012-08-31 19:39:45 +00:00
Debabrata Sengupta
c5abb42b6a ICU-9476 changed logic slightly to make it similar to C implementation
X-SVN-Rev: 32308
2012-08-31 19:34:31 +00:00
Yoshito Umaoka
720f588b90 ICU-9521 Quick patch for IntlTestNumberFormat/TestMonster exhaustive test failure.
X-SVN-Rev: 32304
2012-08-30 21:11:12 +00:00
Umesh Nair
4c5fe60f3e ICU-9524 Making Java ListFormatter behave correctly with any order of parameters
X-SVN-Rev: 32303
2012-08-30 20:35:58 +00:00
Travis Keep
4153e49710 ICU-9174 Fix CompactDecimalFormat to correctly handle suffixes that don't start at 1. e.g for Serbian 9998, 9999, 10K.
X-SVN-Rev: 32294
2012-08-29 20:28:21 +00:00
Markus Scherer
bf658c7d7b ICU-9437 update to Unicode 6.2; merge in branches/markus/uni62 r32109
X-SVN-Rev: 32283
2012-08-28 23:40:28 +00:00
Peter Edberg
3ee27da7b7 ICU-9401 Fix Calendar.fieldDifference handling of large diffs
X-SVN-Rev: 32265
2012-08-28 08:15:21 +00:00
Markus Scherer
437555d5bb ICU-8920 fix RuleBasedCollator.getRules() docs
X-SVN-Rev: 32258
2012-08-27 23:53:49 +00:00
Markus Scherer
1cc15ae197 ICU-6173 fix comments about type characters in CaseFolding.txt
X-SVN-Rev: 32256
2012-08-27 23:45:51 +00:00
Peter Edberg
0eb4f0a04d ICU-9392 (J) japanese calendar minimum era should be 0
X-SVN-Rev: 32255
2012-08-27 23:44:54 +00:00
Markus Scherer
6d5c99bb7e ICU-9264 document that PluralRules objects are immutable (caches are synchronized)
X-SVN-Rev: 32251
2012-08-27 22:50:44 +00:00
Yoshito Umaoka
8217ed7916 ICU-9409 Collator.getInstance to ignore unknown collation keyword. Also changed the implementation not to print the statck trace.
X-SVN-Rev: 32248
2012-08-27 20:17:17 +00:00
Travis Keep
8131a32512 ICU-9506 re-integrate changes to ListFormatter from icu4j/branches/tkeep/cdf
X-SVN-Rev: 32246
2012-08-27 19:51:13 +00:00
Travis Keep
67e12fd328 ICU-9506 Re-integrated changes for CompactDecimalFormatter from icu4j/branches/tkeep/cdf into trunk.
X-SVN-Rev: 32241
2012-08-27 18:49:34 +00:00
Peter Edberg
50dd562ac8 ICU-9256 (J) For he@calendar=hebrew, offset the years within the current millenium down to 1-999
X-SVN-Rev: 32239
2012-08-27 18:29:50 +00:00
Debabrata Sengupta
525d85dd59 ICU-9476 fixed bug with numeric collation
X-SVN-Rev: 32223
2012-08-23 20:59:35 +00:00
Maxime Serrano
1a702c3755 ICU-9353 Do not generate surrogates in the Monkey test so as to avoid generating higher CJK characters; also, hand off to Unhandled if we do not have a breakengine of this type
X-SVN-Rev: 32195
2012-08-17 21:27:08 +00:00
Maxime Serrano
847faa3579 ICU-9353 use Collections.synchronizedSet() rather than Collections.newSetFromMap()
X-SVN-Rev: 32188
2012-08-17 00:12:45 +00:00
Maxime Serrano
ed2c14b425 ICU-9353 merge dbbi-tries work into the trunk
X-SVN-Rev: 32185
2012-08-16 23:16:04 +00:00
Markus Scherer
f30b743eff ICU-9420 move ListFormatter to the .text package, add getInstance(no locale)
X-SVN-Rev: 32178
2012-08-15 17:45:28 +00:00
Markus Scherer
527161ff5a ICU-9406 deprecate isHiraganaQuaternary(), setHiraganaQuaternary(boolean flag) and setHiraganaQuaternaryDefault(), disable the setters (merged from branches/markus/uni62 r32109, should not have been on that branch)
X-SVN-Rev: 32176
2012-08-15 17:09:39 +00:00
Yoshito Umaoka
091464430b ICU-9452 Fixed calendar addition issue with the Samoa Dec 2011 24 hour transition (ICU4J)
X-SVN-Rev: 32142
2012-08-09 21:37:41 +00:00
Steven R. Loomis
26255a3157 ICU-8822 commit fix from branch, include timebomb 50.0.2 against islamic/islamic-civil alias problem
X-SVN-Rev: 32132
2012-08-08 23:30:29 +00:00
Markus Scherer
d1525fc93d ICU-9423 change the numeric value of static final Collator.ReorderCodes.DEFAULT from +1 to -1
X-SVN-Rev: 32066
2012-07-25 21:06:19 +00:00
Mark Davis
6192163b9d ICU-9407 Fixed problems, added other necessary internal API
X-SVN-Rev: 32028
2012-07-07 00:51:16 +00:00
Yoshito Umaoka
64e43ff458 ICU-9389 Fixed available format data inheritance problem in DateTimePatternGenerator.
X-SVN-Rev: 32024
2012-07-05 21:18:14 +00:00
Michael Ow
d98bf1b052 ICU-9340 Fix potential out of bound error in ICU4J ISCII converter
X-SVN-Rev: 32022
2012-07-03 17:51:41 +00:00
Mark Davis
203710a8f5 ICU-9407 added @internals
X-SVN-Rev: 32014
2012-07-02 22:23:52 +00:00
Yoshito Umaoka
d081e339ff ICU-9233 Fixed a JavaDoc @link problem in PluralFormat
X-SVN-Rev: 31997
2012-06-26 19:06:41 +00:00
Yoshito Umaoka
93ab318ce1 ICU-9233 Suppress compiler warning in Calendar.java (fallthrough)
X-SVN-Rev: 31981
2012-06-22 15:58:00 +00:00
Andy Heninger
f2e9f237f3 ICU-6954 remove unused CharsetRecognizer field from CharsetMatch
X-SVN-Rev: 31980
2012-06-21 22:42:12 +00:00
Peter Edberg
11cb54b951 ICU-9226 (J) Calendar add +year should always move forward in time; roll year should wrap for eras with real bounds, pin otherwise
X-SVN-Rev: 31968
2012-06-19 09:51:24 +00:00
Yoshito Umaoka
7fe5d0654f ICU-8918 Added a small section explaining ambiguous wall time resolution in the class doc.
X-SVN-Rev: 31962
2012-06-18 17:56:55 +00:00
Yoshito Umaoka
37d5ca4c7b ICU-9140 Fixed ChineseDateFormatSymbols initialization problem revealed by the recent change.
X-SVN-Rev: 31960
2012-06-15 19:46:41 +00:00
Yoshito Umaoka
ebde7cd6ab ICU-9140 Deprecate ChineseDateFormat/ChineseDateFormatSymbols. Changed DateFormat factory method to create a SimpleDateFormat instead of ChineseDateFormat even when calendar type is chinese.
X-SVN-Rev: 31953
2012-06-14 20:14:10 +00:00
Yoshito Umaoka
ba585f1f09 ICU-9363 Removing un-implemented draft API CharsetMatch#getMatchType() and constants defined for the return value of the method. These constants were accidentally marked as @stable before.
X-SVN-Rev: 31950
2012-06-14 16:18:07 +00:00
Xiaomei Ji
9aa2213d01 ICU-9042 in time unit format, ignore those plural counts that are not defined in the locale's plural rules
X-SVN-Rev: 31930
2012-06-08 23:53:58 +00:00
Markus Scherer
11a0f792f7 ICU-9369 rename ListFormat to ListFormatter, and make other agreed changes
X-SVN-Rev: 31921
2012-06-07 21:00:41 +00:00
Mark Davis
4ae4c69163 ICU-9370 fixed long lines (cmd-shift-f) and wording pointed out by Markus
X-SVN-Rev: 31918
2012-06-07 19:27:45 +00:00
Andy Heninger
a0903e626b ICU-9360 Update break iterator API docs.
X-SVN-Rev: 31917
2012-06-07 17:52:25 +00:00
Mark Davis
12277ee4aa ICU-9370 Changed parameter name and javadoc
X-SVN-Rev: 31915
2012-06-07 16:04:30 +00:00
Andy Heninger
cfb458d917 ICU-6954 Charset Detector, move haveC1Bytes state out of CharsetRecognizer objects, which fixes bug where multiple CharsetDetectors can overwrite eash others results.
X-SVN-Rev: 31904
2012-06-05 00:36:30 +00:00
Yoshito Umaoka
49ab350c8a ICU-9265 Synchronized forLanguageTag test cases with ICU4C trunk. Also fixed a bug for u extension typeless keyword mapping (use 'yes' in ICU instead of 'true').
X-SVN-Rev: 31817
2012-05-11 21:57:11 +00:00
Michael Ow
1aac48146c ICU-9242 Sync precedence table with ICU4C in the calendar code
X-SVN-Rev: 31806
2012-05-09 21:05:17 +00:00
Andy Heninger
f2a5abcf83 ICU-9309 multithreaded startup fix
X-SVN-Rev: 31804
2012-05-08 23:05:14 +00:00
Yoshito Umaoka
bca93b1993 ICU-9293 Fixed a problem in strict currency parsing.
X-SVN-Rev: 31797
2012-05-04 21:09:02 +00:00
Yoshito Umaoka
faba943de0 ICU-9240 Fixed a cloning problem in DecimalFormat which prevent formatToCharacterIterator to work properly in mulitple threads.
X-SVN-Rev: 31796
2012-05-03 23:20:12 +00:00
Yoshito Umaoka
78c726c30b ICU-9289 Corrected the product name, from Component to Components.
X-SVN-Rev: 31795
2012-05-03 22:02:05 +00:00
Yoshito Umaoka
15f6dfa65f ICU-9289 Updated jar main to print out correct display name of ICU library with the new versioning scheme.
X-SVN-Rev: 31777
2012-04-26 18:12:00 +00:00
Markus Scherer
30b430f929 ICU-9249 deprecate PluralFormat.setLocale(locale)
X-SVN-Rev: 31743
2012-04-18 23:59:28 +00:00
Andy Heninger
24d35f5311 ICU-9267 Change buffer creation in unshapeLamAlef() function.
X-SVN-Rev: 31740
2012-04-18 21:38:54 +00:00
Michael Ow
8a6937498f ICU-9233 Update ICU4J to 50.0.1
X-SVN-Rev: 31732
2012-04-18 19:30:40 +00:00
Andy Heninger
fdea410032 ICU-9267 ICU4J Charset Detector Crash Fix
X-SVN-Rev: 31724
2012-04-18 00:01:23 +00:00
Markus Scherer
613453f093 ICU-9132 no Locale.ROOT in Java 5
X-SVN-Rev: 31712
2012-04-16 17:52:42 +00:00
Markus Scherer
3e084c0f60 ICU-9132 Java support for MessageFormat selectordinal and PluralRules.PluralType.ORDINAL
X-SVN-Rev: 31705
2012-04-13 20:59:37 +00:00
Michael Ow
230db005ae ICU-9205 Update max bytes per char calculation for EBCDIC DBCS types
X-SVN-Rev: 31675
2012-04-03 22:18:45 +00:00
Yoshito Umaoka
9533e2db9e ICU-7205 Replace '<'/'>' in the previous change with HTML entities '&lt;'/'&gt;'.
X-SVN-Rev: 31632
2012-03-19 14:12:30 +00:00
Peter Edberg
cfc253253f ICU-7205 Improve API documentation for relative date formatting (J)
X-SVN-Rev: 31630
2012-03-19 04:46:41 +00:00
Yoshito Umaoka
2d39c18a49 ICU-9187 Resolve javac compiler warning with JDK 7. SuppressWarning annotation type 'rawtypes' is necessary instead of 'unchecked' with JDK 7. However, with Eclipse IDE using Java 1.5 env still requires 'unchecked'. Thus, kept 'unchecked', added 'rawtypes' and updated all ICU runtime library projects to ignore unused SuppressWarning types, instead of warning.
X-SVN-Rev: 31622
2012-03-15 18:56:48 +00:00
Yoshito Umaoka
a1344472af ICU-9187 Ignore javac warning for setting an older source without bootclasspath introduced in JDK 7.
X-SVN-Rev: 31621
2012-03-15 18:21:48 +00:00
Yoshito Umaoka
61eb675e8d ICU-9125 Removed an import statement no longer used with the previous change.
X-SVN-Rev: 31618
2012-03-15 15:31:19 +00:00
Mark Davis
1b042dfe84 ICU-9125 addressed Markus's review comments.
X-SVN-Rev: 31617
2012-03-15 04:19:01 +00:00
Yoshito Umaoka
0b1faa6ffa ICU-9162 Implemented getDisplayScript(), provided actual implementation of getVariant() [#9161]. Also improved the implementation of localized name provider to directly access localized data container classes. Added test cases to verify the behavior with locale extension [#9154].
X-SVN-Rev: 31606
2012-03-08 23:12:02 +00:00
Mark Davis
4f9f1f602c ICU-8460 Fixed bug with formatting 0.
X-SVN-Rev: 31568
2012-03-02 05:12:50 +00:00
Yoshito Umaoka
74fd94b4cf ICU-9155 Changed special ICU suffix for the locale provider from 'ICU' to 'ICU4J'. Removed some workaround code in locale SPI tests introduced by #9150. Fixed Java 7 env specific issues exposed by these changes.
X-SVN-Rev: 31554
2012-03-01 10:46:18 +00:00
Yoshito Umaoka
0978796e24 ICU-9138 Fixing API doc issues.
X-SVN-Rev: 31550
2012-03-01 04:40:13 +00:00
Yoshito Umaoka
440d4c84c7 ICU-9151 Implemented CurrencyNameProvider#getDisplayName in the locale SPI module. Also added corresponding test case. This change was agreed on ICU PMC 2012-02-29.
X-SVN-Rev: 31548
2012-02-29 23:14:37 +00:00
Yoshito Umaoka
f9c9e5b0d7 ICU-8309 Fixed arabic charset detection code problem which triggered unexpected input data change.
X-SVN-Rev: 31534
2012-02-28 21:23:57 +00:00
Mark Davis
3a4528f3cf ICU-8460 Fixes for Peter's comments
X-SVN-Rev: 31531
2012-02-28 01:54:47 +00:00
Yoshito Umaoka
f813baec1b ICU-9138 Fixed compiler warnings - corrected invalid java doc tags, deleted unused local variable.
X-SVN-Rev: 31527
2012-02-27 23:18:44 +00:00
Yoshito Umaoka
5a43428ac6 ICU-9138 Cleaning up import statements.
X-SVN-Rev: 31526
2012-02-27 23:08:02 +00:00
Mark Davis
917fd32488 ICU-7149 Clean up the argument replacement, since it could have a bad hit if an argument contained {0}
X-SVN-Rev: 31525
2012-02-27 22:20:15 +00:00
Doug Felt
fe4bb98547 ICU-9072 modify CurrencyDisplayNames API - fix docs to reflect changed semantics of 'to' data
X-SVN-Rev: 31524
2012-02-27 19:18:40 +00:00
Doug Felt
9960ee3a3f ICU-9072 modify CurrencyDisplayNames API - update revision tags
X-SVN-Rev: 31521
2012-02-27 18:18:58 +00:00
Mark Davis
01b36214be ICU-8460 Make draft, incorporate Markus's review notes.
X-SVN-Rev: 31515
2012-02-25 01:59:54 +00:00
Peter Edberg
e532ba9a51 ICU-9110 J review fixes: handle DateFormatSymbols capitalization==null; add @provisional tags
X-SVN-Rev: 31511
2012-02-24 23:17:44 +00:00
Peter Edberg
dea035e59d ICU-8697 Review comments J: Add @provisional, remove unnecessary casts
X-SVN-Rev: 31508
2012-02-24 18:31:32 +00:00
Mark Davis
123e26fe66 ICU-8460 Remove serialization, fix SerializationTest.
X-SVN-Rev: 31504
2012-02-24 05:23:24 +00:00
Yoshito Umaoka
f1bc7ea2bf ICU-9138 Updated ICU4J version to 49.1
X-SVN-Rev: 31497
2012-02-23 22:54:04 +00:00
Peter Edberg
4a17aa27fe ICU-7727 Complete for DateIntervalInfo.java (J)
X-SVN-Rev: 31496
2012-02-23 20:42:16 +00:00
Peter Edberg
7aec49b34f ICU-7727 When collecting data, use real parent (per %%Parent if present) instead of just truncating name (J)
X-SVN-Rev: 31492
2012-02-23 12:26:09 +00:00
Markus Scherer
c422bcd481 ICU-5929 optimize CharsetEncoderICU fallback test
X-SVN-Rev: 31489
2012-02-23 02:08:37 +00:00
Steven R. Loomis
a78862686b ICU-9019 fix copyright date
X-SVN-Rev: 31487
2012-02-22 23:15:25 +00:00
Peter Edberg
ac005b8b3a ICU-9110 J - Update internal method call in ChineseDateFormat (SimpleDateFormat subclass)
X-SVN-Rev: 31484
2012-02-22 09:37:06 +00:00
Peter Edberg
331eea1d3f ICU-9110 J -Add SimpleDateFormat methods for setting context, use context when formatting
X-SVN-Rev: 31482
2012-02-22 08:26:12 +00:00
Andy Heninger
2be586c40c ICU-9099 Fix break iterarator problem that was causing Finnish line break tests to fail.
X-SVN-Rev: 31479
2012-02-22 01:51:25 +00:00
Yoshito Umaoka
08b039b84a ICU-9108 Cleaned up some garbages and made minor improvements. Ready for review.
X-SVN-Rev: 31463
2012-02-21 06:24:52 +00:00
Mark Davis
ac906834e2 ICU-9125 Check for fallback, odd locales; clean up constructors.
X-SVN-Rev: 31456
2012-02-21 00:56:17 +00:00
Mark Davis
7bc558601a ICU-7149 Add initial version, @internal for now.
X-SVN-Rev: 31455
2012-02-21 00:35:51 +00:00
Mark Davis
9fdb34c0d3 ICU-9125 Add initial version, @internal for now.
X-SVN-Rev: 31454
2012-02-20 23:19:07 +00:00
Mark Davis
f1c787eca1 ICU-8460 Add initial version, @internal for now.
X-SVN-Rev: 31450
2012-02-20 22:13:20 +00:00
Peter Edberg
355b75af8e ICU-8697 J, change parseCurrency to take CharSequence, make draft ICU 49
X-SVN-Rev: 31445
2012-02-19 20:13:04 +00:00
Yoshito Umaoka
1abb248717 ICU-9108 setDefaultParseOptions and parse method taking parse option override in TimeZoneFormat. Also including the support for ISO 8601 extended format 'ZZZZZ' (#9045).
X-SVN-Rev: 31428
2012-02-18 08:30:48 +00:00
John Emmons
06f294319e ICU-7501 Use allowsParsing attribute from CLDR to detect unparseable RBNF rulesets
X-SVN-Rev: 31419
2012-02-17 23:26:39 +00:00
Michael Ow
e4aee6892f ICU-8940 Ensure the new DecimalFormatSymbols is propagated properly in ICU4J RBNF
X-SVN-Rev: 31418
2012-02-17 23:14:06 +00:00
Yoshito Umaoka
dbecc6efd4 ICU-8916 Calendar APIs supporting options for handling ambiguous wall time (Merged from the work branch to the trunk).
X-SVN-Rev: 31415
2012-02-17 22:13:13 +00:00
Peter Edberg
f8869b1d10 ICU-9105 Fix DateTimePatternGenerator for 'U', integrate Chinese cal data updates from cldrbug 4395, update tests (J)
X-SVN-Rev: 31412
2012-02-17 17:19:17 +00:00
John Emmons
7d681bcd8d ICU-8849 ICU4J Updates to NumberingSystem class to support otherNumberingSystems from CLDR
X-SVN-Rev: 31402
2012-02-16 18:57:56 +00:00
Markus Scherer
fa3ad3f8c4 ICU-8803 make Calendar.getType() public and improve API docs
X-SVN-Rev: 31386
2012-02-13 23:55:36 +00:00
Doug Felt
b440fd0930 ICU-8456 change display of keywords in locale display names
X-SVN-Rev: 31382
2012-02-13 22:28:44 +00:00
Michael Ow
3f457f1f18 ICU-7464 Apply fix to incorrect number rounding when rounding increment is in the string pattern of the decimal formatter in ICU4J
X-SVN-Rev: 31379
2012-02-13 19:27:24 +00:00
Doug Felt
924a24986b ICU-9072 modify CurrencyDisplayNames API
X-SVN-Rev: 31345
2012-02-08 19:31:11 +00:00
Markus Scherer
c113439fad ICU-9073 double-check that the shared variable is still null before setting it to the new object
X-SVN-Rev: 31334
2012-02-06 21:32:20 +00:00
Markus Scherer
1f793f7006 ICU-9014 update hasScript() @draft version
X-SVN-Rev: 31332
2012-02-06 21:06:30 +00:00
Markus Scherer
3fd6a0e7f2 ICU-9014 make hasScript(c, sc) == sc in scx(c)
X-SVN-Rev: 31331
2012-02-06 20:11:43 +00:00
Markus Scherer
2281643107 ICU-9014 and ICU-9015 scx defaults to {sc}, and return that efficiently
X-SVN-Rev: 31328
2012-02-03 23:39:45 +00:00
Yoshito Umaoka
30e3a9e8b2 ICU-9078 Moved com.ibm.icu.impl.ImplicitCEGenerator from core project to collator project.\
X-SVN-Rev: 31325
2012-02-03 21:27:21 +00:00
John Emmons
2c99787c7a ICU-8514 Modify behavior of YY to parse as a two-digit year
X-SVN-Rev: 31324
2012-02-03 21:10:04 +00:00
Yoshito Umaoka
9b3a63154f ICU-7964 Merging new ICU4J Currency APIs and test case from the work branch to the trunk.
X-SVN-Rev: 31318
2012-02-03 18:02:30 +00:00
Michael Ow
42208f627b ICU-9085 Fix infinite loop error in compound text converter in ICU4J
X-SVN-Rev: 31299
2012-02-02 01:56:59 +00:00
Peter Edberg
bbed782b13 ICU-9067 Per review comments: add JavaDoc tag, remove unused Comparator stuff
X-SVN-Rev: 31293
2012-02-01 00:54:10 +00:00
Peter Edberg
044e9d07c0 ICU-9044 Improve parse method documentation, note that parsing Chinese cal dates may be ambiguous (J)
X-SVN-Rev: 31281
2012-01-31 08:13:43 +00:00
Peter Edberg
6abaa5337f ICU-9069 Parse 'U' when there there is no cyclic year name data (J)
X-SVN-Rev: 31279
2012-01-31 06:37:51 +00:00
Yoshito Umaoka
fac016b0ed ICU-9006 ICU4J API promotion for 49. A bug fix in the api report tool.
X-SVN-Rev: 31275
2012-01-30 17:16:37 +00:00
Michael Ow
672786786d ICU-8940 Add new ICU4J API to set decimal format symbols in RBNF
X-SVN-Rev: 31266
2012-01-25 21:17:06 +00:00
Doug Felt
2189a60f84 ICU-9073 synchronize PluralRulesLoader methods that modify internal maps.
X-SVN-Rev: 31261
2012-01-24 22:54:11 +00:00
Doug Felt
a18cc6389c ICU-9072 modify CurrencyDisplayNames API
X-SVN-Rev: 31260
2012-01-24 22:11:32 +00:00
Doug Felt
a5035b2c58 ICU-9072 modify CurrencyDisplayNames API
X-SVN-Rev: 31258
2012-01-24 22:09:54 +00:00
Markus Scherer
f2c94fe24f ICU-8995 add new ISO script code Hluw=Anatolian Hieroglyphs
X-SVN-Rev: 31250
2012-01-23 19:52:28 +00:00
Peter Edberg
f4ccd40ed0 ICU-9067 Add internal getCanonicalSkeletonAllowingDuplicates method for use by CLDR
X-SVN-Rev: 31244
2012-01-21 07:57:02 +00:00
Peter Edberg
5463a83c67 ICU-8959 If pattern char is 'U' but year has no cyclic name data, format as number (J)
X-SVN-Rev: 31225
2012-01-19 05:21:17 +00:00
Yoshito Umaoka
6e06cd9a5d ICU-9028 Implemented Freezable in TimeZoneJDK class in the locale SPI module.
X-SVN-Rev: 31218
2012-01-17 16:30:12 +00:00
Peter Edberg
41b22c7e69 ICU-8959 Add DateFormat.YEAR_NAME_FIELD for pattern char 'U', implement format/parse for it (J)
X-SVN-Rev: 31217
2012-01-17 10:29:05 +00:00
Yoshito Umaoka
74c98ef6fb ICU-8895 Added API status comments in ICUConfig.properties, although the tag is not processed by any tools at this moment. Added API doc for com.ibm.icu.text.MessagePattern.ApostropheMode with possible values.
X-SVN-Rev: 31216
2012-01-17 08:15:51 +00:00
Yoshito Umaoka
66350869c3 ICU-8998 Merging TimeZone#observesDaylightTime changes from my work branch to trunk.
X-SVN-Rev: 31213
2012-01-17 04:32:31 +00:00
Yoshito Umaoka
df45f653ae ICU-8976 Commented out unnecessary main() in com.ibm.icu.text.BreakDictionary and com.ibm.icu.impl.duration.impl.Utils.
X-SVN-Rev: 31211
2012-01-16 23:30:55 +00:00
Markus Scherer
2d666989dd ICU-9039 simplify/optimize ucase.icu encoding: fixed trie bit for Case_Ignorable; ucase.icu formatVersion 3.0
X-SVN-Rev: 31205
2012-01-13 01:18:28 +00:00
Peter Edberg
70ccf80320 ICU-8977 Add ICU4J monthPatterns format/parse support, move Chinese cal era handling
into SimpleDateFormat, ignore 'l' pattern char, stop using obsolete isLeapMonth resource,
add/fix tests.

X-SVN-Rev: 31186
2012-01-08 22:09:38 +00:00
Abhinav Gupta
2730ee27c3 ICU-8924 Add findbugs targets
X-SVN-Rev: 31176
2011-12-29 18:13:00 +00:00
Markus Scherer
b81e90d33d ICU-9016 document default Numeric_Value differs from Unicode Standard
X-SVN-Rev: 31128
2011-12-15 23:28:55 +00:00
Markus Scherer
c39e5af48c ICU-9013 deprecate API for Unicode 1.0 character names & ISO comments, remove support & data
X-SVN-Rev: 31126
2011-12-15 22:30:24 +00:00
Michael Ow
3b84d14076 ICU-8887 Update timezone doc in ICU4J
X-SVN-Rev: 31110
2011-12-13 17:44:31 +00:00
Yoshito Umaoka
744682621a ICU-8877 Fixed a Java compiler warning (redundant type cast).
X-SVN-Rev: 31088
2011-12-09 23:20:15 +00:00
Yoshito Umaoka
a969c18618 ICU-8877 Updated the ICU4J version number.
X-SVN-Rev: 31087
2011-12-09 22:56:54 +00:00
Yoshito Umaoka
21a67903a4 ICU-8446 One more correction in the API doc.
X-SVN-Rev: 31085
2011-12-09 22:26:58 +00:00
Yoshito Umaoka
a3182936ef ICU-8446 Grammar corrections in the API doc, suggested by Doug.
X-SVN-Rev: 31081
2011-12-09 21:27:12 +00:00
Markus Scherer
03a4b1a127 ICU-8827 Unicode 6.1 update: svn merge --reintegrate branches/markus/uni61 at r31061 into the trunk
X-SVN-Rev: 31072
2011-12-09 00:01:13 +00:00
Abhinav Gupta
709f7250c8 ICU-8876 Revert [30811] for PluralRules, RBBIDataWrapper, RBBISetBuilder.
X-SVN-Rev: 31070
2011-12-08 19:09:33 +00:00
Michael Ow
879b1aa3d9 ICU-8956 Update ICU4J SimpleDateFormat doc
X-SVN-Rev: 31068
2011-12-08 18:27:13 +00:00
Abhinav Gupta
6e73c9e17f ICU-8854 add API status comment to dummy hashCode functions.
X-SVN-Rev: 31067
2011-12-08 18:06:45 +00:00
Yoshito Umaoka
a10116996d ICU-8345 Public API classes need formal JavaDoc comments with API status. Add them to the new Freezable method implementations in TimeZone and its subclasses. Also fixed a couple of compiler warnings (unnecessary type cast).
X-SVN-Rev: 31066
2011-12-08 17:08:53 +00:00
Michael Ow
94a9854969 ICU-8970 MungeInput when neccessary on detection instead of when text is set
X-SVN-Rev: 31065
2011-12-08 17:04:46 +00:00
Abhinav Gupta
b4bc4b8ecb ICU-8668 Use AsciiUtil instead of Character.
X-SVN-Rev: 31055
2011-12-07 19:17:10 +00:00
Abhinav Gupta
670f0268a1 ICU-8668 J, restrict script to be alphabetic in locale name.
X-SVN-Rev: 31032
2011-12-05 20:34:00 +00:00
Peter Edberg
57d4e75211 ICU-7930 J, don't limit base skeleton field length to 3
X-SVN-Rev: 31029
2011-12-05 06:00:10 +00:00
Stuart Gill
b668e88639 ICU-8914 extra Java documentation for collation reordering
X-SVN-Rev: 31013
2011-12-02 22:11:29 +00:00
Stuart Gill
c3409e4285 ICU-8914 extra Java documentation for collation reordering
X-SVN-Rev: 31003
2011-12-01 23:16:58 +00:00
Markus Scherer
77b94f2bd1 ICU-8915 document why BMPSet.set32x64Bits(..., limit=0x800) is fine & safe
X-SVN-Rev: 31001
2011-12-01 06:47:04 +00:00
Markus Scherer
1166cb2f03 ICU-8945 fix UCharacter.CJK_IDEOGRAPH_FOURTH_ code point
X-SVN-Rev: 30997
2011-12-01 03:31:57 +00:00
Markus Scherer
81e9b13f7b ICU-8246 add Normalizer2.getNFCInstance(), getNFKDInstance(), ...
X-SVN-Rev: 30996
2011-12-01 01:50:37 +00:00
Markus Scherer
c50c6a20d7 ICU-8942 straggler fixes, parallel with C++
X-SVN-Rev: 30995
2011-12-01 00:55:29 +00:00
Yoshito Umaoka
884a12613a ICU-8953 Fixed the getCanonicalID with the Olson link.
X-SVN-Rev: 30987
2011-11-29 17:45:37 +00:00
Markus Scherer
c267b157f0 ICU-8942 use smaller/simpler FCD data rather than building an FCD trie
X-SVN-Rev: 30986
2011-11-28 23:04:28 +00:00
Markus Scherer
19735dc2a3 ICU-8804 Normalizer2.composePair(a, b) with separation of minYesNo extraData into combines-forward vs. not
X-SVN-Rev: 30983
2011-11-27 20:34:42 +00:00
Markus Scherer
c80f9c5856 ICU-8804 Normalizer2.getRawDecomposition(c) with added data in .nrm formatVersion 2
X-SVN-Rev: 30981
2011-11-27 04:44:50 +00:00
Yoshito Umaoka
39812e6f72 ICU-8943 Fixed NPE problem in RuleBasedTimeZone#getOffsets.
X-SVN-Rev: 30975
2011-11-18 22:30:34 +00:00
Abhinav Gupta
4b1538b4f9 ICU-8899 Switch to StringBuilder for buffer.
X-SVN-Rev: 30974
2011-11-18 19:04:50 +00:00
Abhinav Gupta
29a020c198 ICU-8899 LocaleIDParser#append should not rely on exceptions.
X-SVN-Rev: 30972
2011-11-16 15:32:20 +00:00
Yoshito Umaoka
9ba9b4ad4e ICU-8345 Freezable implementation in TimeZone and its subclasses.
X-SVN-Rev: 30962
2011-11-15 14:57:18 +00:00
Michael Ow
6b801b04a1 ICU-8887 Update timezone class doc in ICU4J
X-SVN-Rev: 30957
2011-11-11 23:25:33 +00:00
Abhinav Gupta
fa39f72cf5 ICU-8854 revert changeset [30943].
X-SVN-Rev: 30953
2011-11-11 15:46:59 +00:00
Abhinav Gupta
c24cc0f86a ICU-8854 String concatenation in a loop using + operator. Should use StringBuilder.
X-SVN-Rev: 30943
2011-11-09 15:51:57 +00:00
Yoshito Umaoka
6dfa3a52d0 ICU-8927 Avoid NPE when invalid system ID is specifed in TimeZone.countEquivalentIDs and getEquivalentID.
X-SVN-Rev: 30937
2011-11-07 16:51:49 +00:00
Abhinav Gupta
8ec0200596 ICU-8854 Possible null pointer dereference.
X-SVN-Rev: 30936
2011-11-07 16:36:22 +00:00
Abhinav Gupta
073babced5 ICU-8854 Class defines equals() but not hashCode().
X-SVN-Rev: 30935
2011-11-07 16:36:16 +00:00
Abhinav Gupta
1ce9ad44b0 ICU-8889 JarURLHandler should not die if icu4j jar is inside another jar.
X-SVN-Rev: 30929
2011-11-04 16:09:57 +00:00
Abhinav Gupta
8c6de437fc ICU-8854 Check for oddness that won't work for negative numbers.
X-SVN-Rev: 30928
2011-11-04 15:19:31 +00:00
Abhinav Gupta
f613d3d4d9 ICU-8854 method ignores result of InputStream.read.
X-SVN-Rev: 30927
2011-11-04 15:19:19 +00:00
Abhinav Gupta
23d796e394 ICU-8854 Inner class does not use embedded reference to creator. Should be static inner class.
X-SVN-Rev: 30926
2011-11-04 15:19:11 +00:00
Abhinav Gupta
049feaf0a2 ICU-8854 Class defines or inherits equals() but not hashCode().
X-SVN-Rev: 30925
2011-11-04 15:18:39 +00:00
Abhinav Gupta
f24d42939c ICU-8854 possible null pointer dereference
X-SVN-Rev: 30924
2011-11-04 15:18:01 +00:00
Abhinav Gupta
698b723ba9 ICU-8854 Dead store to local variable.
X-SVN-Rev: 30923
2011-11-04 15:17:52 +00:00
Abhinav Gupta
82962c12cb ICU-8854 Unused final instance variable. Should be static.
X-SVN-Rev: 30922
2011-11-04 15:17:34 +00:00
Abhinav Gupta
fc9b8646db ICU-8854 string concatenation in loop using + operator
X-SVN-Rev: 30863
2011-10-24 19:24:17 +00:00
Abhinav Gupta
1efa6d411f ICU-8854 bitwise and/or of signed byte value.
Values loaded from a byte array are sign extended to 32-bits before any
bitwise operations are performed. Should &-down back to one-byte.

X-SVN-Rev: 30862
2011-10-24 19:24:08 +00:00
Abhinav Gupta
e35f720425 ICU-8854 dead store to local variable
X-SVN-Rev: 30861
2011-10-24 19:23:59 +00:00
Abhinav Gupta
3ae6d5af5b ICU-8854 computation of average could overflow.
X-SVN-Rev: 30860
2011-10-24 19:23:51 +00:00
Abhinav Gupta
5f0127fd5d ICU-8854 equals() does not check for null.
X-SVN-Rev: 30859
2011-10-24 19:23:44 +00:00
Abhinav Gupta
77598a7d62 ICU-8854 Unused final instance variable. Should be static.
X-SVN-Rev: 30858
2011-10-24 19:23:29 +00:00
Abhinav Gupta
04b9f1678a ICU-8854 unnecessary use of String constructor.
X-SVN-Rev: 30857
2011-10-24 19:23:20 +00:00
Abhinav Gupta
87f031cd34 ICU-8854 use of inefficient Number constructors. Use valueOf.
X-SVN-Rev: 30856
2011-10-24 19:14:19 +00:00
Abhinav Gupta
7f0d45c7ad ICU-8854 toString may return null
X-SVN-Rev: 30855
2011-10-24 19:14:10 +00:00