Commit Graph

661 Commits

Author SHA1 Message Date
Doug Felt
ebd7c4dbd8 ICU-8317 change getSamples API slightly and make public, change impl, add test
X-SVN-Rev: 29506
2011-03-02 01:29:59 +00:00
Yoshito Umaoka
084688bd14 ICU-8278 Added another TimeZone.getAvailableIDs to support canonical/canonical location zone iteration. The fix for ticket#8349 Etc/Unknown problem was also done at the same time.
X-SVN-Rev: 29499
2011-03-01 18:31:43 +00:00
Yoshito Umaoka
00e54087ea ICU-8335 Renamed icu4j-charsets.jar to icu4j-charset.jar to match the subproject's name.
X-SVN-Rev: 29497
2011-03-01 07:48:43 +00:00
Yoshito Umaoka
2eb7c3a577 ICU-8304 DateFormat.MILLISECOND_FIELD was marked as @deprecated. The field name is used by JDK, so we cannot deprecate the field in ICU. Removing @deprecated.
X-SVN-Rev: 29496
2011-03-01 07:19:08 +00:00
Yoshito Umaoka
82e0351c46 ICU-8383 Fixed the locale field truncation problem in ULocale.forLocale(Locale).
X-SVN-Rev: 29495
2011-03-01 07:07:20 +00:00
Peter Edberg
6b7bfaa8cc ICU-8290 (1) in CollationElementIterator next/previous, add iteration when an
ignorable element is produced from Hangul expansion so it loops again to process
the first jamo from the expansion before returning; (2) in nextHangul/previousHangul,
test m_isJamoSpecial_ for the CE Iterator's collator, not the UCA collator (which
alays has it false, so we never got jamo tailoring); set up m_bufferOffset_ for the
Hangul expansion so we get correct offsets for it.

X-SVN-Rev: 29494
2011-03-01 06:21:34 +00:00
Andy Heninger
0e2bf7da98 ICU-8341 Spoof check normalizes to NFD, not NFKD.
X-SVN-Rev: 29476
2011-02-24 23:58:35 +00:00
Michael Ow
d0670255e8 ICU-8006 Add new API for CharsetDecoderICU and CharsetEncoderICU
X-SVN-Rev: 29474
2011-02-24 20:58:37 +00:00
Andy Heninger
d6d16cf2e3 ICU-8367 spoof check, treat CJK as a single script.
X-SVN-Rev: 29471
2011-02-24 00:16:24 +00:00
Doug Felt
9d855beaf8 ICU-8307 add fix for test
X-SVN-Rev: 29466
2011-02-23 21:57:16 +00:00
Doug Felt
807b2b4367 ICU-8307 fix glaring bug, add test just to be thorough
X-SVN-Rev: 29464
2011-02-23 20:16:06 +00:00
Yoshito Umaoka
80237b4a8c ICU-8346 ICU4J TimeZone.getTimeZone to return Etc/Unknown when the given ID is unknown/unparsable. Also added the constant UNKNOWN_ZONE_ID.
X-SVN-Rev: 29461
2011-02-19 06:02:15 +00:00
Doug Felt
48f462c307 ICU-8158 fix misspelled tag, remove unwanted stub method, clean up whitespace a bit
X-SVN-Rev: 29458
2011-02-18 01:55:19 +00:00
Doug Felt
449ad53d7c ICU-8158 change implementation, add some tests, make serialization compatible with previous
X-SVN-Rev: 29457
2011-02-18 01:42:10 +00:00
Yoshito Umaoka
9750ceb7f2 ICU-8279 TimeZone API - getRegion
X-SVN-Rev: 29456
2011-02-17 22:37:52 +00:00
Doug Felt
c9bcfd3177 ICU-8158 add plural rules support for getting unique keyword value
X-SVN-Rev: 29447
2011-02-16 19:43:24 +00:00
John Emmons
9e2ef1c35b ICU-8031 Support for parent locales
X-SVN-Rev: 29444
2011-02-16 13:52:02 +00:00
Peter Edberg
3497b51daf ICU-8330 Add ICU4J test for handling of 'S' (fractional seconds) in skeleton
X-SVN-Rev: 29422
2011-02-10 05:06:13 +00:00
Michael Ow
210158112e ICU-8326 Update icudata.jar with updates to convrtrs.txt
X-SVN-Rev: 29420
2011-02-10 00:28:54 +00:00
Yoshito Umaoka
6109ab34bb ICU-8289 tzdata2011b to ICU4J trunk
X-SVN-Rev: 29410
2011-02-08 04:43:38 +00:00
Yoshito Umaoka
b3c4411fe3 ICU-8270 Calling readFully to read string pool data and copy to char[] instead of repeating readChar to improve performance.
X-SVN-Rev: 29399
2011-02-04 22:33:27 +00:00
Yoshito Umaoka
0300c5a799 ICU-8266 Clarify the behavior of TimeZone.useDaylightTime() in the API doc.
X-SVN-Rev: 29397
2011-02-04 04:14:35 +00:00
Yoshito Umaoka
66f9f5a1d2 ICU-8303 Do not add language und in toLanguageTag() when a locale has only private use.
X-SVN-Rev: 29391
2011-02-03 16:41:06 +00:00
Andy Heninger
23657a9fd9 ICU-8315 Fix bad markup in SpoofChecker JavaDoc.
X-SVN-Rev: 29383
2011-01-29 00:17:36 +00:00
Stuart Gill
ff2821ca77 ICU-8284 fix for root locale with modifier falling back to platform default
X-SVN-Rev: 29366
2011-01-27 21:09:03 +00:00
Stuart Gill
ff9448fe98 ICU-8277 change interpretation of Zzzz in the collation reordering codes
X-SVN-Rev: 29365
2011-01-27 20:56:28 +00:00
Mark Davis
c1ceb846a6 ICU-8167 minor formatting
X-SVN-Rev: 29361
2011-01-25 19:44:06 +00:00
Mark Davis
a2e6470823 ICU-8167 Refined the timing a bit.
X-SVN-Rev: 29360
2011-01-25 17:53:00 +00:00
Yoshito Umaoka
4e843884ec ICU-8289 tzdata2011a to ICU4J trunk
X-SVN-Rev: 29359
2011-01-25 04:39:16 +00:00
Mark Davis
d2ef184687 ICU-8167 minor fix to message
X-SVN-Rev: 29355
2011-01-25 00:10:55 +00:00
Mark Davis
cb56b43cf3 ICU-8167 Revised the timing to have a warmup and bound by time. More should be done, but that can wait.
X-SVN-Rev: 29354
2011-01-24 22:53:46 +00:00
Mark Davis
45cc22a01c ICU-8175 added some comparisons
X-SVN-Rev: 29353
2011-01-24 22:52:57 +00:00
Markus Scherer
666dc30f0c ICU-8167 keep fast/small and update comments accordingly
X-SVN-Rev: 29352
2011-01-24 20:42:14 +00:00
Markus Scherer
f90dd0a0a7 ICU-8167 restore fast/small trie build option
X-SVN-Rev: 29351
2011-01-24 17:13:56 +00:00
Markus Scherer
f9b8fd9ad8 ICU-8167 faster, smaller trie builder; adds to dynamic trie rather than list of (string, value) pairs
X-SVN-Rev: 29350
2011-01-24 06:15:31 +00:00
Yoshito Umaoka
e99eaf0aca ICU-8283 Use varargs in MessageFormat#format to match JDK.
X-SVN-Rev: 29347
2011-01-20 20:46:05 +00:00
Markus Scherer
0dc4eba9e8 ICU-8167 doc fix
X-SVN-Rev: 29346
2011-01-20 19:21:19 +00:00
Markus Scherer
cf9e2b4a9d ICU-8167 reduce number of object allocations in the trie builders
X-SVN-Rev: 29345
2011-01-20 18:55:46 +00:00
Markus Scherer
26161daaab ICU-8167 doc fixes
X-SVN-Rev: 29344
2011-01-20 06:07:42 +00:00
Markus Scherer
fe2355b1a1 ICU-8167 CharsTrieBuilder: change buildCharBuffer() to buildCharSequence(); and test fixes
X-SVN-Rev: 29342
2011-01-20 05:04:29 +00:00
Mark Davis
5bbf7c685b ICU-8167 check exhaustive mode
X-SVN-Rev: 29340
2011-01-20 01:55:51 +00:00
Markus Scherer
4a71f08a6f ICU-8167 CharsTrie and builder improvements parallel with BytesTrie
X-SVN-Rev: 29339
2011-01-20 01:18:26 +00:00
Yoshito Umaoka
c711b870c8 ICU-8057 Skip validating fields internally set by add method in non-leninent mode.
X-SVN-Rev: 29337
2011-01-19 22:40:25 +00:00
Mark Davis
11fadaf5c4 ICU-8167 added hash to test, strings not in map.
X-SVN-Rev: 29336
2011-01-19 22:31:27 +00:00
Markus Scherer
6ccba41d20 ICU-8167 BytesTrie.next(int) handles negative byte values, and the builder does not share the byte array across clear()
X-SVN-Rev: 29335
2011-01-19 22:05:28 +00:00
Mark Davis
29cab18119 ICU-8167 small updates, fixed "" case
X-SVN-Rev: 29334
2011-01-19 19:18:12 +00:00
Yoshito Umaoka
1d6dad2796 ICU-8258 Changed UnicodeSet constructor to use int code points instead of String pattern in StrnigTokenizer
X-SVN-Rev: 29328
2011-01-17 19:28:30 +00:00
John Emmons
fd2cdc676e ICU-7755 Fix bad fallback
X-SVN-Rev: 29327
2011-01-17 19:24:22 +00:00
John Emmons
d0a2188c95 ICU-7755 Data changes to support removal of hard fallbacks to Gregorian calendar
X-SVN-Rev: 29325
2011-01-17 17:20:52 +00:00
Yoshito Umaoka
79216529f6 ICU-8259 Use JDK StringTokenizer in ICUResourceBundle and VTimeZone
X-SVN-Rev: 29324
2011-01-17 16:50:22 +00:00