Commit Graph

1392 Commits

Author SHA1 Message Date
Fredrik Roubert
9aadd6b1e9 ICU-11467 Define the 'r' pattern char and the RELATED_YEAR field.
For compatibility with ICU4C, the RELATED_YEAR field should be defined
as the field preceding the TIME_SEPARATOR field but by mistake support
for the TIME_SEPARATOR field has already been implemented in ICU4J
without first defining the RELATED_YEAR field.

This change therefore reorders the existing TIME_SEPARATOR field and
adds definitions (without any underlying implementation) for the 'r'
pattern char and the RELATED_YEAR field.

R=markus.icu@gmail.com,pedberg@apple.com

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

X-SVN-Rev: 37032
2015-02-13 18:20:21 +00:00
Markus Scherer
5ceb402827 ICU-11521 fix JarURLHandler prefix so that the file basename does not start with a slash
X-SVN-Rev: 37022
2015-02-11 18:54:48 +00:00
Markus Scherer
bb4101274a ICU-11496 enumerate ICU resources from both jar file and file system
X-SVN-Rev: 37012
2015-02-05 16:22:43 +00:00
Fredrik Roubert
774a23e4a7 ICU-11039 optionally build ICU4J jar without ICU runtime data
Make all Ant targets for copying data conditional on a new property
named icu4c.data.path which, if set, inhibits all data copying and
updates the ICUConfig.properties file to use this path.

Use in this way:
$ ant -Dicu4c.data.path=/tmp/icu/build/data/out/tmp check

R=markus.icu@gmail.com

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

X-SVN-Rev: 36996
2015-01-30 16:59:20 +00:00
Fredrik Roubert
081b54e280 ICU-11483 Canonicalize IDs for java.util.TimeZone.getTimeZone().
Review URL: https://codereview.appspot.com/194240043

X-SVN-Rev: 36988
2015-01-27 10:55:16 +00:00
Markus Scherer
0acf60d3e0 ICU-11479 do not ask the Java system what the canonical name should be, just figure it out from ICU data
X-SVN-Rev: 36982
2015-01-22 20:40:30 +00:00
Yoshito Umaoka
2e44f6274f ICU-11487 Fixed lookup trie initialization problem in TZDBTimeZoneNames.
X-SVN-Rev: 36977
2015-01-21 19:51:06 +00:00
Markus Scherer
1604e1772d ICU-11479 precompute Java canonical names for not-only-ICU Charsets, make CharsetProviderICU all-static again (see ticket #9973), simplify some test code
X-SVN-Rev: 36966
2015-01-16 17:35:52 +00:00
Markus Scherer
e65a679a26 ICU-11449 reorder single scripts not groups, scripts/groups can start on top-16-bit boundaries, data formatVersion 5 for new scripts data and optional reorderRanges appended to reorderCodes
X-SVN-Rev: 36925
2015-01-07 03:49:20 +00:00
Markus Scherer
6c0fcd7a64 ICU-11448 collation common tertiary weights for normal Hiragana, change builder to cope with below-common tertiary weights
X-SVN-Rev: 36907
2014-12-27 00:39:08 +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
1c447ba174 ICU-11426 make implicit narrowing compound assignment explicit
X-SVN-Rev: 36881
2014-12-17 20:27:28 +00:00
Fredrik Roubert
35f08c68e9 ICU-11424 Bugfix: RemoveTransliterator can cause NoClassDefFoundError
Make RemoveTransliterator._ID final, to ensure that the compiler
inlines it, so that it won't be null when register() accesses it.

X-SVN-Rev: 36862
2014-12-11 20:26:25 +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
f037dbecdd ICU-11388 fix bug in CollationFastLatinBuilder
X-SVN-Rev: 36781
2014-11-30 19:55:58 +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