Commit Graph

111 Commits

Author SHA1 Message Date
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
Michael Ow
2e9b4064b7 ICU-9168 Add some more fix for uconfig and header test failures
X-SVN-Rev: 31577
2012-03-02 20:18:40 +00:00
Michael Ow
782387a888 ICU-9168 Fix some uconfig test errors
X-SVN-Rev: 31574
2012-03-02 17:59:56 +00:00
Michael Ow
76444a4b71 ICU-8716 Fix errors in cintltst and intltest when data is missing
X-SVN-Rev: 31552
2012-03-01 05:27:43 +00:00
Peter Edberg
efc03a774b ICU-9110 C - Name tweaks for consistency with some improvements in J
X-SVN-Rev: 31483
2012-02-22 09:06:12 +00:00
Peter Edberg
733a433be7 ICU-9110 Commit the C tests too
X-SVN-Rev: 31467
2012-02-21 09:19:57 +00:00
Peter Edberg
0ab713c4fb ICU-8959 Add UDAT_YEAR_NAME_FIELD for pattern char 'U', implement format/parse for it (C)
X-SVN-Rev: 31215
2012-01-17 08:06:29 +00:00
Peter Edberg
2fdfe20655 ICU-8237 Add RelativeDateFormat::getDateFormatSymbols, use in udat_getSymbols/countSymbols
X-SVN-Rev: 29964
2011-05-02 23:14:32 +00:00
Peter Edberg
d83f32e641 ICU-7550 udat_setSymbols should call verifyIsSimpleDateFormat to avoid crash with RelativeDateFormat
X-SVN-Rev: 28057
2010-05-13 03:35:54 +00:00
Michael Ow
0763686c6c ICU-7370 Log data errors to ensure that intltest and cintltst passes without data.
X-SVN-Rev: 27649
2010-02-24 16:17:03 +00:00
John Emmons
ea6e8a0a72 ICU-7356 CLDR 1.8 data integration - first run
X-SVN-Rev: 27590
2010-02-18 14:30:15 +00:00
Michael Ow
9100ba632e ICU-6905 Log errors as data errors where appropriate to ensure cintltst passes without data. Some areas don't propagate error code. Add new error log function to check for error code.
X-SVN-Rev: 26084
2009-06-09 21:28:13 +00:00
Peter Edberg
bf6746fb3b ICU-6855 Add internal RelativeDateFormat toPattern/applyPattern functions
X-SVN-Rev: 25830
2009-04-18 08:11:19 +00:00
John Emmons
1a390c1bfa ICU-6771 CLDR 1.7 Integration - release-1-7-d01
X-SVN-Rev: 25750
2009-04-10 07:47:09 +00:00