Commit Graph

1214 Commits

Author SHA1 Message Date
Peter Edberg
33de7d60b8 ICU-9379 J: Update BreakIterator createInstance to handle linebreak variant files; update tests
X-SVN-Rev: 37060
2015-02-24 22:38:03 +00:00
Yoshito Umaoka
df67b1a7d0 ICU-11540 The previous fix broke the CoverageTest execution on Eclipse IDE (file: protocol). I reverted the change, and reverted #11521, and fixed the original issue in a different way.
X-SVN-Rev: 37051
2015-02-23 13:03:38 +00:00
Peter Edberg
6ed790341e ICU-10761 J: DateTimePatternGenerator should allow r and U in same pattern
X-SVN-Rev: 37048
2015-02-22 10:11:25 +00:00
Peter Edberg
154ad1a4bd ICU-10761 J: Basic support for date pattern character 'r', date field RELATED_YEAR
X-SVN-Rev: 37047
2015-02-22 08:20:18 +00:00
Fredrik Roubert
8a943fafe4 ICU-11467 Promote time separator interfaces to public API.
R=markus.icu@gmail.com

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

X-SVN-Rev: 37042
2015-02-19 12:01:33 +00:00
Fredrik Roubert
d8b9e7ecaa ICU-11463 ICU4J ought to always close() resources
R=yoshito_umaoka@us.ibm.com

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

X-SVN-Rev: 37034
2015-02-13 20:16:22 +00:00
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
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