Commit Graph

226 Commits

Author SHA1 Message Date
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
kazède king
f6bdf2b1ac ICU-11872 suppress output of "midnight" in formatting (C++)
X-SVN-Rev: 38485
2016-03-04 18:13:25 +00:00
Michael Ow
7cbb746278 ICU-12187 Fix no data test failures in ICU4C for 57
X-SVN-Rev: 38425
2016-02-28 21:19:38 +00:00
Peter Edberg
36b1760b83 ICU-12056 C, Add format and toPattern tests for standard date fmts with number system overrides
X-SVN-Rev: 38420
2016-02-28 07:23:23 +00:00
kazède king
26f9512326 ICU-11872 remove unicode characters from cpp source files
X-SVN-Rev: 38376
2016-02-26 00:37:23 +00:00
kazède king
f713c0687c ICU-11872 new time formatting pattern chars b/B
Merging from the branch.

X-SVN-Rev: 38370
2016-02-25 19:51:53 +00:00
Fredrik Roubert
7f4b8d106b ICU-12012 Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
R=markus.icu@gmail.com

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

X-SVN-Rev: 38337
2016-02-23 10:40:09 +00:00
John Emmons
f7d261ebbc ICU-12091 Merge preliminary CLDR 29 data for 57m1
X-SVN-Rev: 38287
2016-02-05 04:12:07 +00:00
Fredrik Roubert
25f9110090 ICU-11985 Handle 'j' and 'J' in date time pattern skeletons.
R=mark.edward.davis@gmail.com, markus.icu@gmail.com, pedberg@apple.com

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

X-SVN-Rev: 38089
2015-11-18 12:29:17 +00:00
Scott Russell
c179cf974c ICU-11572 API proposal updates for approved constants
X-SVN-Rev: 37961
2015-09-16 00:14:58 +00:00
Peter Edberg
7e03903fd5 ICU-11773 Improve test, fix typo (C)
X-SVN-Rev: 37900
2015-09-08 02:25:24 +00:00
Peter Edberg
49d4ab5ee6 ICU-11773 Withdraw COLON as pattern char, leave support for UDAT_TIME_SEPARATOR_FIELD (C)
X-SVN-Rev: 37898
2015-09-07 22:39:49 +00:00
John Emmons
01e0c332a5 ICU-11846 CLDR 28 data integration
X-SVN-Rev: 37836
2015-08-27 20:23:27 +00:00
John Emmons
75ed4ce808 ICU-11728 First cut CLDR 28 data integration
X-SVN-Rev: 37524
2015-06-10 18:38:06 +00:00
Yoshito Umaoka
b8d76f6ade ICU-11677 Added a couple of test cases parsing abutting numeric date field patterns including quarter - Qyy and QQyy in TestQuarters(). ICU4C did not have the parsing problem reported by #11677, but I want to add some test cases matchnig the ones added in ICU4J side.
X-SVN-Rev: 37453
2015-05-19 21:25:21 +00:00
John Emmons
368eb4bb16 ICU-11555 Integrate CLDR 27 data
X-SVN-Rev: 37169
2015-03-06 22:58:33 +00:00
Peter Edberg
3076cb2149 ICU-11510 C: Support narrow AM/PM "aaaaa" for date format and parse
X-SVN-Rev: 37124
2015-03-04 05:43:28 +00:00
Peter Edberg
77775f1b2d ICU-10761 C: pre-integrate changes per cldrbug 8048: to use 'r' in chinese calendar formats
X-SVN-Rev: 37054
2015-02-23 16:47:52 +00:00
Fredrik Roubert
17b8600e8e ICU-11018 Support CLDR time separator (ICU4C)
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.

This is one character more strict than before, when in lenient mode also
the '-' was accepted as time separator instead of ':'.

R=rocketman@google.com

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

X-SVN-Rev: 36897
2014-12-19 07:19:41 +00:00
Michael Ow
f61f05e5f5 ICU-11313 Fix some no data test failures
X-SVN-Rev: 36865
2014-12-12 04:34:51 +00:00
Travis Keep
a6bc072149 ICU-11401 Reduce cache keyspace by caching only the components of DateFormat by locale rather than actual DateFormat objects.
X-SVN-Rev: 36811
2014-12-05 18:15:35 +00:00
Markus Scherer
9edbbecb24 ICU-11339 add & use LocalPointer(p, errorCode) and adoptInsteadAndCheckErrorCode(p, errorCode)
X-SVN-Rev: 36757
2014-11-20 00:27:17 +00:00
Travis Keep
4860c7e5b7 ICU-11139 Add JAVA DateFormat factory methods to C++
X-SVN-Rev: 36745
2014-11-18 00:43:49 +00:00
Michael Ow
7e3befc1a6 ICU-10992 Ensure ICU4C 54 test suite passes without data
X-SVN-Rev: 36516
2014-09-15 21:51:57 +00:00
Peter Edberg
92a7528223 ICU-11173 CLDR tags/release-26-d03 into ICU4C trunk, remove logKnownIssue 11219, fix test for cldrbug:7868
X-SVN-Rev: 36377
2014-09-06 06:15:08 +00:00
Peter Edberg
1b8eb15e1a ICU-11173 CLDR tags/release-26-d01 into ICU4C trunk with related test & lib code updates
X-SVN-Rev: 36313
2014-09-02 23:18:20 +00:00
Steven R. Loomis
7594250cc5 ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
X-SVN-Rev: 36275
2014-08-28 22:13:45 +00:00
Tom Zhang
ee1f29b584 ICU-7653 move LENGTHOF(array) to common, internal header
X-SVN-Rev: 36265
2014-08-28 14:55:34 +00:00
Yoshito Umaoka
0de2d6e411 ICU-10898 tzdata2014f updates to ICU4C
X-SVN-Rev: 36138
2014-08-11 21:07:03 +00:00
Tom Zhang
26063a3454 ICU-10320 API for getting/setting number format override in date formatting
X-SVN-Rev: 36097
2014-07-29 18:42:07 +00:00
Michael Ow
b1de9c0f30 ICU-10842 Fix header test failures, fix no data test errors, and update file properties
X-SVN-Rev: 35982
2014-07-02 05:09:05 +00:00
Yoshito Umaoka
590179178a ICU-10937 A quick test patch - just moving the test data date. We may revise the fix later.
X-SVN-Rev: 35803
2014-06-04 16:34:23 +00:00
Yoshito Umaoka
1d90a2e031 ICU-10816 Added a test case of DateFormat parse leniency setter/getter APIs.
X-SVN-Rev: 35627
2014-04-14 19:58:40 +00:00
Michael Ow
c70512bdfe ICU-10786 Ensure ICU 53 passes without data
X-SVN-Rev: 35462
2014-03-13 21:28:24 +00:00
Peter Edberg
5241507312 ICU-10637 Format/parse using 'r', C part 2 (add tests, clean up islamic delta calculation)
X-SVN-Rev: 35355
2014-03-06 09:47:25 +00:00
Peter Edberg
30e8bc452d ICU-10637 Format/parse using 'r' related gregorian year, C changes part 1 (still need correct num fmt & tests)
X-SVN-Rev: 35341
2014-03-05 11:51:05 +00:00
Scott Russell
8791b26095 ICU-10625 address data checks in DateFormatTest::TestDateFormatLeniency not checking expected results
X-SVN-Rev: 35340
2014-03-05 00:52:30 +00:00
Scott Russell
246f3a9162 ICU-10336 really fix test
X-SVN-Rev: 35321
2014-03-04 16:09:19 +00:00
Scott Russell
11b2ef55b3 ICU-10336 fix test
X-SVN-Rev: 35320
2014-03-04 15:15:12 +00:00
Scott Russell
eb0fd12224 ICU-10336 add leniency controls for lenient like behavior
X-SVN-Rev: 35319
2014-03-04 14:40:36 +00:00
Peter Edberg
9596efb7f4 ICU-10712 Integrate non-collation, non-BCP47 data from CLDR trunk@9766
X-SVN-Rev: 35208
2014-02-24 07:17:41 +00:00
Andy Heninger
301814f85f ICU-10624 Compiler warning cleanups, continued.
X-SVN-Rev: 34855
2014-01-10 08:35:00 +00:00
Michael Ow
4835d5705a ICU-10398 Ensure cintltst and intltest passes without data
X-SVN-Rev: 34398
2013-09-19 02:32:57 +00:00
Steven R. Loomis
358e1ddcd2 ICU-10376 fixup clang warnings
X-SVN-Rev: 34385
2013-09-18 20:08:25 +00:00
Scott Russell
0e7c0d8716 ICU-10261 give DateFormat more granular leniency control (fix memory leak in test)
X-SVN-Rev: 34334
2013-09-16 21:57:44 +00:00
Scott Russell
570986cb96 ICU-10261 give DateFormat more granular leniency control (fix failing test on non-Windows platform)
X-SVN-Rev: 34329
2013-09-16 14:29:41 +00:00
Scott Russell
e22e451cd8 ICU-10261 give DateFormat more granular leniency control (updated tests didn't get committed)
X-SVN-Rev: 34328
2013-09-16 13:43:10 +00:00
John Emmons
a869b0d483 ICU-10335 Merge completed CLDR24 branch into trunk.
X-SVN-Rev: 34238
2013-09-07 20:46:42 +00:00