Commit Graph

1017 Commits

Author SHA1 Message Date
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
Yoshito Umaoka
1542d80acf ICU-8991 Added currencyNumericCodes(res) in ICU4J.
X-SVN-Rev: 31243
2012-01-20 23:33:27 +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
Markus Scherer
f9daf42c8d ICU-8995 update to 2012-jan-18 UCD & UCA data
X-SVN-Rev: 31223
2012-01-18 23:51:56 +00:00
Peter Edberg
3ac6325d3e ICU-9055 Integrate Chinese cal pattern updates from cldrbug 4237, update tests (J)
X-SVN-Rev: 31221
2012-01-18 04:29:09 +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
4c61713090 ICU-8977 Replace usage of String.isEmpty() which is new in Java 1.6
X-SVN-Rev: 31187
2012-01-09 17:52:41 +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
Mark Davis
a0194a2c19 ICU-9015 Fix UnicodeProperty for tests
X-SVN-Rev: 31123
2011-12-15 21:33:04 +00:00
Markus Scherer
b3365b405a ICU-7973 fix & rename skipIfBeforeICU() -> isICUVersionBefore() & isICUVersionAtLeast()
X-SVN-Rev: 31121
2011-12-15 16:57:46 +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
57f294624e ICU-8877 Commented out currently unused private method to clean up Eclipse IDE warnings.
X-SVN-Rev: 31086
2011-12-09 22:43:22 +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
Peter Edberg
d2598a68f5 ICU-8978 Fix duplicate name in chr; don't copy root MeasurementSystem & PaperSize to ar_001
X-SVN-Rev: 31084
2011-12-09 21:45:48 +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
Abhinav Gupta
9c41dbd218 ICU-8877 J, organize imports.
X-SVN-Rev: 31080
2011-12-09 21:20:01 +00:00
Peter Edberg
4482f6409e ICU-8978 Integrate CLDR 21m2 data. Update DateFormatTest.java for some timezone name
cleanup per cldrbug 3825. RegionTest.java code updates per cldrbug 4105. Timebomb
ChineseTest/TestFormat until #8977 is rolled in.

X-SVN-Rev: 31075
2011-12-09 08:54:27 +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
Yoshito Umaoka
f45fb4a410 ICU-8943 Updated the test case.
X-SVN-Rev: 31008
2011-12-02 06:52:35 +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
Michael Ow
7d66d16531 ICU-8804 Ensure empty strings are included when calling the split method of a string
X-SVN-Rev: 30993
2011-11-30 18:17:25 +00:00
Michael Ow
719f170653 ICU-8804 Remove unneeded fields array size check
X-SVN-Rev: 30988
2011-11-29 21:26:05 +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
Michael Ow
8ffe8b6439 ICU-8804 Fix String format error in UCharacterTest code
X-SVN-Rev: 30984
2011-11-28 18:47:38 +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
Michael Ow
cd7aee24e4 ICU-8592 Update tzdata2011n to ICU4J
X-SVN-Rev: 30952
2011-11-11 06:53:12 +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
Abhinav Gupta
2192442a0e ICU-8854 integral division result cast to double (and floored).
Unnecessary because integral division already truncates the result.

X-SVN-Rev: 30854
2011-10-24 19:14:03 +00:00
Abhinav Gupta
9794f1727b ICU-8854 unchecked/unconfirmed cast.
X-SVN-Rev: 30853
2011-10-24 19:13:57 +00:00
Mark Davis
9424775dc1 ICU-8807 Small changes in Map, Property
X-SVN-Rev: 30852
2011-10-23 22:31:02 +00:00
Mark Davis
0e05f5d9d6 ICU-8898 Checked in (since shifting systems) but can retract if not approved.
X-SVN-Rev: 30851
2011-10-23 22:27:11 +00:00
Yoshito Umaoka
02bf9dd68a ICU-8649 Integrating JCite and embedding coding example in the ICU4J API reference doc.
X-SVN-Rev: 30841
2011-10-17 21:10:07 +00:00
Abhinav Gupta
728bdac7fa ICU-8854 possible null pointer dereference.
X-SVN-Rev: 30839
2011-10-17 20:24:17 +00:00
Abhinav Gupta
9c83ba6e64 ICU-8854 Unclosed streams.
X-SVN-Rev: 30838
2011-10-17 20:24:09 +00:00
Abhinav Gupta
0c1d2e9452 ICU-8854 Result of integer multiplication cast to long after
multiplication. Casting should be done before multiplication to avoid
overflow.

X-SVN-Rev: 30837
2011-10-17 20:23:59 +00:00
Abhinav Gupta
7a58e117d9 ICU-8854 Inefficient use of number constructors. Use valueOf instead.
X-SVN-Rev: 30836
2011-10-17 20:23:48 +00:00
Yoshito Umaoka
a5edd10c64 ICU-8446 System property user.script to initialize ULocale's script field on Java 6 or older JREs.
X-SVN-Rev: 30824
2011-10-14 22:11:56 +00:00
Abhinav Gupta
037aa7865a ICU-8876 disabled Clover where necessary.
Disabled for parts of  PluralRules, RBBIDataWrapper, RBBISetBuilder,
TimeZoneNames, Calendar.

X-SVN-Rev: 30811
2011-10-12 15:31:19 +00:00
Abhinav Gupta
ab30e3c400 ICU-8876 added test for SelectFormat.format exception.
X-SVN-Rev: 30810
2011-10-12 15:31:07 +00:00
Yoshito Umaoka
cd49cad3f7 ICU-8874 Modified TestCompareReferenceImpl to do the same tests with ICU4C corresponding test case. Fixed problems in IDNAReference, which was obviously out of date. Restored toUnicode tests in TestErrorCases (but still excluding ASCII only error cases).
X-SVN-Rev: 30805
2011-10-07 22:35:38 +00:00
Yoshito Umaoka
ed2c135303 ICU-8856 Explicit private constructor to prevent MessagePatternUtil instatiation. This change fixed unwanted javadoc/api report for MessagePatternUtil constructor.
X-SVN-Rev: 30791
2011-10-04 15:59:21 +00:00
Yoshito Umaoka
53eb6fa62f ICU-8856 Fixed a javac compiler warning.
X-SVN-Rev: 30790
2011-10-04 15:45:25 +00:00
Yoshito Umaoka
406f46d075 ICU-8856 Fixed Eclipse compiler warnings.
X-SVN-Rev: 30789
2011-10-04 15:09:36 +00:00
Yoshito Umaoka
504e04477a ICU-8856 Organized import statements
X-SVN-Rev: 30788
2011-10-04 14:38:02 +00:00
Michael Ow
46fc0ce9da ICU-8864 Use fallback mechanism for empty string in ICUResourceTableAccess get method
X-SVN-Rev: 30782
2011-10-03 19:17:07 +00:00
Michael Ow
1b6e647811 ICU-8592 Update ICU4J time zone data to 2011k
X-SVN-Rev: 30777
2011-10-03 17:59:37 +00:00
Peter Edberg
69bb199a1b ICU-8753 Replace confusing use of dst variable with prevOffset / newOffset
X-SVN-Rev: 30772
2011-09-30 21:32:41 +00:00