Commit Graph

124 Commits

Author SHA1 Message Date
Peter Edberg
e618a1cc2d ICU-21249 integrate CLDR release 38 alpha0 to ICU trunk 2020-09-02 10:23:14 -07:00
Peter Edberg
d39899350d ICU-21099 udat_toCalendarDateField should handle all UDateFormatFields and out of range 2020-04-28 09:58:50 -07:00
Peter Edberg
9a7bf5cea8 ICU-20441 force Gannen use for ja@calendar=japanese non-numeric formats if no override (#474) 2019-02-21 19:26:52 -08:00
Jeff Genovy
33d7868d45 ICU-20351 Warning cleanup changes for ICU4C under MSVC. 2019-01-16 16:43:02 -08:00
Shane Carr
a2a39e69d0 ICU-10923 Adding initial version of data file filtering.
- Reads filters.json or .hjson from ICU_DATA_FILTER_FILE environment variable
- Adds DepTarget for dependency semantics, and warns for missing deps.
- Fixes certain tests that crash with sliced locale data.
- Includes support for 4 filter types.
2018-12-07 16:51:18 -08:00
Andy Heninger
242e02c388 ICU-12764 icu4c utf-8 source files, update Copyright notices.
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Steven R. Loomis
f0156c183b ICU-12701 additional porting issues.
X-SVN-Rev: 39323
2016-09-21 23:52:53 +00:00
Peter Edberg
67b23a4aa6 ICU-12054 If format has no fields, first FieldPositionIterator::next should return FALSE; fix ufieldpositer_next description
X-SVN-Rev: 39241
2016-09-15 07:24:12 +00:00
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
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
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
Michael Ow
9401ac86a0 ICU-11433 Fix some no data test failures
X-SVN-Rev: 37219
2015-03-11 21:09:25 +00:00
Peter Edberg
50e67ce345 ICU-11553 Add C wrapper for FieldPositionIterator & 2 udat_formatX calls to use it
X-SVN-Rev: 37118
2015-03-04 00:11:53 +00:00
Michael Ow
2755dcda5e ICU-11523 Fix invalid input check in udat_parseCalendar
X-SVN-Rev: 37023
2015-02-11 22:23:13 +00:00
Yoshito Umaoka
7d77ae9c9b ICU-11427 Forcing GMT to be used in TestOverrideNumberFormat to make environment test work without test failures.
X-SVN-Rev: 36941
2015-01-12 16:34:01 +00:00
Yoshito Umaoka
6e3b21d3c5 ICU-11454 Made TestOverrideNumberFormat run properly.
X-SVN-Rev: 36940
2015-01-12 15:51:02 +00:00
Andy Heninger
67f2494005 ICU-11454 cdattst/TestOverrideNumberFormat, fix Windows build failure w previouos change.
X-SVN-Rev: 36902
2014-12-19 22:10:05 +00:00
Andy Heninger
5805449990 ICU-11454 cdattst/TestOverrideNumberFormat, re-enable accidentaly skipped tests, set known issue for resulting problem.
X-SVN-Rev: 36901
2014-12-19 21:03:23 +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
Yoshito Umaoka
281d4de237 ICU-11293 Added udat_formatCalendar allowing C API user to specify a calendar as a parameter.
X-SVN-Rev: 36777
2014-11-25 04:34:58 +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
44dd80171a ICU-11277 Fix memory leak in numberformat test
X-SVN-Rev: 36547
2014-09-17 20:31:45 +00:00
Steven R. Loomis
9a6f69ef42 ICU-10992 fix memory leak
X-SVN-Rev: 36539
2014-09-16 23:46:35 +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
e46b2b3c83 ICU-9385 DateFormatSymbols/udat getters/setters for yearNames, zodiacNames (C)
X-SVN-Rev: 36386
2014-09-08 04:52:23 +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
Tom Zhang
2c1c85aee8 ICU-10320 fix compiler warning & solaris error
X-SVN-Rev: 36119
2014-08-01 21:33:16 +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
Tom Zhang
8787394bd1 ICU-10979 add udat_adoptNumberFormat & update doc
X-SVN-Rev: 36035
2014-07-15 20:39:51 +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
Michael Ow
4e806c800e ICU-10483 Fix no data test errors in ICU4C 53m1
X-SVN-Rev: 34979
2014-01-22 21:20:24 +00:00
Scott Russell
3059ac945f ICU-10650 53m1 BRS task - updates for non-ascii code in C
X-SVN-Rev: 34953
2014-01-21 20:58:03 +00:00
Andy Heninger
301814f85f ICU-10624 Compiler warning cleanups, continued.
X-SVN-Rev: 34855
2014-01-10 08:35:00 +00:00
Peter Edberg
b804c4392f ICU-10553 Add missing udat_close in cdattst.c TestContext()
X-SVN-Rev: 34722
2013-12-09 18:06:56 +00:00
Peter Edberg
9f29c3ed25 ICU-10553 Implement context-sensitive capitalization for relative dates (C), add en contextTransforms for test
X-SVN-Rev: 34718
2013-12-09 06:20:23 +00:00
Steven R. Loomis
fd0e17c682 ICU-10379 fixes for IBM i - asciism, fix some test cases
X-SVN-Rev: 34281
2013-09-12 01:27:29 +00:00
Yoshito Umaoka
87158d4fba ICU-9867 New time zone pattern letters/types support for CLDR 23/ICU 51.
X-SVN-Rev: 33159
2013-02-11 00:23:55 +00:00
Michael Ow
2724d7c5cc ICU-9802 Fix failures in running cintltst and intltest without data
X-SVN-Rev: 33089
2013-01-29 01:51:53 +00:00
Peter Edberg
cd51c60e10 ICU-9497 Add tests for C date symbol functions
X-SVN-Rev: 33052
2013-01-14 22:23:44 +00:00
Scott Russell
6a13a557d5 ICU-9836 C/Java mismatch parsing years with pattern "yyyy" :: fix new test under windows
X-SVN-Rev: 33016
2013-01-05 23:43:54 +00:00
Scott Russell
c17e7e0af6 ICU-9836 C/Java mismatch parsing years with pattern "yyyy" :: fix new test under windows
X-SVN-Rev: 33015
2013-01-05 20:22:19 +00:00
Scott Russell
c54b40f7dc ICU-9836 C/Java mismatch parsing years with pattern "yyyy"
X-SVN-Rev: 33011
2013-01-04 17:16:07 +00:00
Peter Edberg
553bcf0b33 ICU-9656 Change RelativeDateFormat to keep 2 patterns (not formatters), and for fmt/parse glue them (with substitutions) and apply to single formatter
X-SVN-Rev: 32638
2012-10-15 23:32:31 +00:00
Peter Edberg
b6053b4240 ICU-9633 Adapt date fmt display context APIs to tentative new UDisplayContext
X-SVN-Rev: 32549
2012-10-08 16:52:35 +00:00
Steven R. Loomis
d455b9984e ICU-9569 add UDAT_PATTERN and update docs
X-SVN-Rev: 32406
2012-09-19 21:26:41 +00:00
John Emmons
276a244c9b ICU-9251 First cut merge of CLDR 22 data
X-SVN-Rev: 32275
2012-08-28 21:56:06 +00:00