Commit Graph

1203 Commits

Author SHA1 Message Date
Yoshito Umaoka
2e44f6274f ICU-11487 Fixed lookup trie initialization problem in TZDBTimeZoneNames.
X-SVN-Rev: 36977
2015-01-21 19:51:06 +00:00
Fredrik Roubert
c47bac8255 ICU-11018 Refactor date format string mapping code (ICU4J)
To make this code more maintainable: Make mapping tables zero based, add
a table to tell if a character can be used to define a field in a format
string (instead of now rather long-winded character range expressions)
and make all lookup tables accessed through helper functions.

R=rocketman@google.com

Review URL: https://codereview.appspot.com/190960043

X-SVN-Rev: 36900
2014-12-19 07:28:19 +00:00
Fredrik Roubert
a897801e80 ICU-11018 Support CLDR time separator (ICU4J)
This change will treat the ':' character in patterns as a symbol
(instead of as a literal) and if the Locale defines timeSeparator then
use that character instead when formatting and accept both when parsing.

It will also define the '.' as an alternate time separator, that will be
accepted when parsing in lenient mode.

R=rocketman@google.com

Review URL: https://codereview.appspot.com/180370043

X-SVN-Rev: 36898
2014-12-19 07:20:14 +00:00
John Emmons
9d67693f3f ICU-11430 Make genPatternInfo method public (for CLDR)
X-SVN-Rev: 36888
2014-12-18 18:06:07 +00:00
John Emmons
f4fcba39d9 ICU-11060 Fix naming convention for @alt values from CLDR
X-SVN-Rev: 36887
2014-12-17 23:26:00 +00:00
Travis Keep
4cbb21d8b5 ICU-11445 Bring per unit formatting in MeasureFormat out of tech preview.
X-SVN-Rev: 36885
2014-12-17 22:19:45 +00:00
Markus Scherer
ff5daae274 ICU-11444 LocaleData.MeasurementSystem.UK born stable ICU 55
X-SVN-Rev: 36882
2014-12-17 21:47:26 +00:00
Markus Scherer
cf3eb94a4e ICU-10829 simplify U+FFFE collation: U+FFFE use common non-primary weights, adjust code for that, test order of U+FFFE equivalent to CollationKey.merge() but not necessarily same sort keys, omit case level if lowerFirst and only common weights
X-SVN-Rev: 36857
2014-12-11 17:17:03 +00:00
Yoshito Umaoka
7ce10f73cf ICU-11314 Fixed compiler/FindBugs warnings.
X-SVN-Rev: 36855
2014-12-11 17:03:23 +00:00
Yoshito Umaoka
bf9e8ef636 ICU-11314 BRS - organize imports
X-SVN-Rev: 36854
2014-12-11 16:42:53 +00:00
John Emmons
d8e5b70769 ICU-11417 CLDR 27 data integration for ICU55M1
X-SVN-Rev: 36851
2014-12-11 16:16:10 +00:00
Markus Scherer
9dec69dd5f ICU-11357 add constant for UK measurement system
X-SVN-Rev: 36845
2014-12-10 21:32:13 +00:00
Yoshito Umaoka
22ec77242f ICU-11415 Fixed a locale display name issue with a currency keyword.
X-SVN-Rev: 36840
2014-12-10 09:08:03 +00:00
Travis Keep
c2a0ee6531 ICU-10438 Document that JAVA Duration RuleBasedNumberFormat always rounds down.
X-SVN-Rev: 36837
2014-12-09 23:58:32 +00:00
Travis Keep
adb019d0c8 ICU-10958 Update URL to instructions for updating generated code in MeasureUnit.java
X-SVN-Rev: 36832
2014-12-09 21:13:59 +00:00
Travis Keep
21b7a7e13d ICU-11383 Remove ScientificFormatHelper JAVA
X-SVN-Rev: 36825
2014-12-08 23:22:14 +00:00
Markus Scherer
ba2a065004 ICU-10823 ICUResourceBundle add & support enum OpenType, use OpenType.LOCALE_ROOT for Collator & BreakIterator, also change default locale to root for those services
X-SVN-Rev: 36818
2014-12-08 17:54:11 +00:00
Yoshito Umaoka
5d46e56bbd ICU-11411 Fixed problematic hardcoded JDK Locale mapping for ULocale Chinese constants.
X-SVN-Rev: 36814
2014-12-05 23:48:28 +00:00
Markus Scherer
057a400689 ICU-8477 deprecate IDNA2003 API
X-SVN-Rev: 36751
2014-11-19 00:53:11 +00:00
Travis Keep
3d480f30a9 ICU-10275 Remove hardcoded fallback logic in J ListFormatter
X-SVN-Rev: 36750
2014-11-18 22:12:41 +00:00
Travis Keep
83db643252 ICU-10952 Add JAVA ScientificNumberFormatter class.
X-SVN-Rev: 36749
2014-11-18 19:22:33 +00:00
Yoshito Umaoka
a554fd430a ICU-11363 Updated SimpleDateFormat clone implementation to create a copy of an array used for numeric field formatting.
X-SVN-Rev: 36729
2014-11-13 18:50:44 +00:00
Yoshito Umaoka
042d89895c ICU-11343 Fixed a deadlock problem in the TimeZone static initializer code.
X-SVN-Rev: 36688
2014-10-23 07:28:44 +00:00
Markus Scherer
a3e0dc1530 ICU-11342 cast CharBuffer to CharSequence before calling .subSequence()
X-SVN-Rev: 36682
2014-10-20 21:08:42 +00:00
Markus Scherer
299f24790f ICU-11341 better ICUBinary.getByteBufferFromInputStream(): minimize number of memory allocations, allocate available() bytes on good JDK, do not rely on available() for finding the end of the stream
X-SVN-Rev: 36681
2014-10-20 20:45:22 +00:00
Yoshito Umaoka
7fd935bf5e ICU-11314 Updated ICU4J trunk version to 55m1.
X-SVN-Rev: 36656
2014-10-09 15:25:12 +00:00
Steven R. Loomis
b39fb3766a ICU-11310 fix Easter holiday
Easter had a simple logic error. 
Also fix the test cases to hit the error.
Also fix the HolidayCalendarDemo to assert an issue if the error shows up
Also fix the copyright string to be dynamic.

X-SVN-Rev: 36654
2014-10-09 05:19:18 +00:00
Mark Davis
49f7b06a91 ICU-10565 Fixed javadoc with warning.
X-SVN-Rev: 36631
2014-10-03 07:24:58 +00:00
Yoshito Umaoka
a934a2fcba ICU-11307 A minor fix in Calendar's class doc.
X-SVN-Rev: 36619
2014-10-01 18:51:22 +00:00
Peter Edberg
30920d9cd9 ICU-10809 Update SimpleDateFormat class doc examples for Sept and Tues, other table updates and note (J)
X-SVN-Rev: 36566
2014-09-23 21:26:54 +00:00
Matitiahu Allouche
435efa6541 ICU-11100 fix crash happening when there are many nested matching isolates occurring in more than one paragraph.
Also change terminology from xxx_SIZE to xxx_COUNT to stay in tune with ICU4C.

X-SVN-Rev: 36560
2014-09-22 20:13:08 +00:00
Andy Heninger
050f986b4a ICU-11262 Spoof check data refresh (ICU4J).
X-SVN-Rev: 36554
2014-09-17 23:41:32 +00:00
Scott Russell
4b2c562718 ICU-11243 correct promotion releases
X-SVN-Rev: 36526
2014-09-16 15:14:05 +00:00
Markus Scherer
5540d3abde ICU-10999 mark formatMeasuresPer() as Technology preview
X-SVN-Rev: 36519
2014-09-16 06:13:11 +00:00
Scott Russell
73c9cfdcb4 ICU-11243 ICU4J 54 API status promotion
X-SVN-Rev: 36515
2014-09-15 21:48:00 +00:00
Markus Scherer
076242b224 ICU-9131 fix a few more annotation & API docs issues
X-SVN-Rev: 36512
2014-09-15 20:18:49 +00:00
Markus Scherer
954cbf1712 ICU-10560 more doc links for day constants
X-SVN-Rev: 36506
2014-09-15 18:19:21 +00:00
Yoshito Umaoka
bebdcfcc40 ICU-10993 Clean up import statements.
X-SVN-Rev: 36504
2014-09-15 17:32:08 +00:00
Yoshito Umaoka
4426b0e313 ICU-11257 Fix a ChineseCalendar constructor problem.
X-SVN-Rev: 36502
2014-09-15 04:06:31 +00:00
Mark Davis
d5c8fa0e9f ICU-9131 Final batch of changes for review comments.
X-SVN-Rev: 36501
2014-09-14 10:06:23 +00:00
Mark Davis
1d5dbc0af9 ICU-9131 First batch of fixes for review comments. More to come.
X-SVN-Rev: 36500
2014-09-13 12:08:00 +00:00
Mark Davis
cea11c1786 ICU-10560 Fixed link format
X-SVN-Rev: 36499
2014-09-13 09:13:33 +00:00
Mark Davis
794940cafe ICU-10600 update comments for review
X-SVN-Rev: 36498
2014-09-13 09:10:07 +00:00
Mark Davis
2af192e6c6 ICU-10560 Fixes to comments for review.
X-SVN-Rev: 36497
2014-09-13 09:01:05 +00:00
Mark Davis
c37851c95d ICU-9795 Fixed to throw different exception, and added test.
X-SVN-Rev: 36496
2014-09-13 08:25:46 +00:00
Yoshito Umaoka
78d280f9f4 ICU-10993 Removed @stable from a non-public API.
X-SVN-Rev: 36486
2014-09-12 17:21:39 +00:00
Yoshito Umaoka
3415c2e9ca ICU-10993 Fix @provisional tags.
X-SVN-Rev: 36472
2014-09-11 19:44:19 +00:00
Travis Keep
b2d06e91fc ICU-10999 Add JAVA version of per unit measure formatting.
X-SVN-Rev: 36464
2014-09-11 17:06:37 +00:00
John Emmons
ed2e40fb1a ICU-11092 Split out units data into a separate tree
X-SVN-Rev: 36459
2014-09-11 10:17:49 +00:00
Scott Russell
b6bfbcce5b ICU-10993 BRS: ensure correct line-endings and svn property
X-SVN-Rev: 36437
2014-09-10 18:50:09 +00:00