Frank Tang
59af52bb6f
ICU-23043 Propogate error in Calendar.
2025-02-11 15:14:27 -08:00
Frank Tang
ed970751ef
ICU-22520 Add test case for oss-fuzz issue #65635 .
2024-01-10 12:19:44 +09:00
Frank Tang
7bef50e71d
ICU-22609 Fix nulldef w/ bogus locale in DateFormat::create*
2023-12-15 16:14:56 -08:00
Rich Gillam
8817c25c1e
ICU-22449 Fixed SimpleDateFormat (in C++ and Java) to correctly honor the rg and hc subtags in the locale when choosing the hour cycle.
2023-08-28 13:30:45 -04:00
Peter Edberg
c125cf67f0
ICU-22337 restore strict parsing length tolerance for non-abutting numeric date fields
2023-03-30 13:52:40 -07:00
Markus Scherer
b6dcc95d3c
ICU-21833 remove redundant void parameter lists
...
See #2351
2023-03-02 09:31:57 -08:00
Frank Yung-Fong Tang
3d89af0f72
ICU-22023 Fix Calendar::get() return out of bound value and SimpleDateTime::format assert while TimeZone is "UTC" and value is -1e-9
...
See #2086
2022-05-19 13:45:59 -07:00
Peter Varga
80d42a13fc
ICU-21734 Add missing overrides in tests
2021-09-07 13:56:33 -07:00
luz paz
73eca0a9c9
ICU-21580 Fix typos in icu4c/
...
Found via `codespell -q 3 -L ans,anumber,atleast,ba,bre,hace,nd,nin,ois,rsource,som,sur,tht -S icu4c/source/data/zone,icu4c/source/data/lang`
ICU-21580 Fix source (related) typos
ICU-21580 Revert extraneous auto-encoding
ICU-21580 Re-add previous reverted fix without auto-encoding
2021-07-19 13:22:38 -05:00
Frank Tang
863582c2a4
ICU-20465 Calendar/DateFormat listen to tz extension
...
See #1176
2020-08-04 13:33:03 -07:00
Caio Lima
873e2db780
ICU-20741 Adding tests for C/C++ API into DateFormatTests
2019-11-22 15:43:27 -08:00
Frank Tang
eeb759063b
ICU-20799 delete calendarToAdopt upon error
...
ICU-20799 add unit tests
ICU-20799 initialize error and add comments.
2019-08-29 15:49:37 -07:00
Yoshito Umaoka
cbc23942a7
ICU-13744 Fixed an ICU4J date parsing regression issue causing IndexOutOfBoundsException when pattern has more fields than input date string.
...
X-SVN-Rev: 41383
2018-05-16 18:59:22 +00: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
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
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
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
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
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
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
Travis Keep
4860c7e5b7
ICU-11139 Add JAVA DateFormat factory methods to C++
...
X-SVN-Rev: 36745
2014-11-18 00:43:49 +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
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
Scott Russell
eb0fd12224
ICU-10336 add leniency controls for lenient like behavior
...
X-SVN-Rev: 35319
2014-03-04 14:40:36 +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
Peter Edberg
54098be451
ICU-9497 Add support for short weekday names: format, parse, get/set symbols (C)
...
X-SVN-Rev: 33047
2013-01-14 04:48:51 +00:00
Markus Scherer
af439c67de
ICU-9789 lenient date/time parsing: accept missing or added trailing dot after non-numeric fields; refactor isNumeric() logic
...
X-SVN-Rev: 32962
2012-12-14 06:35:11 +00:00
Markus Scherer
7239810394
ICU-9631 add, fix, deprecate DateFormat skeleton constants, parallel to Java ticket #9375
...
X-SVN-Rev: 32572
2012-10-09 04:50:45 +00:00
Peter Edberg
00b9ba863a
ICU-9256 For he@calendar=hebrew, offset the years within the current millenium down to 1-999
...
X-SVN-Rev: 32236
2012-08-27 05:58:17 +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
6dbcc24060
ICU-8958 integrate changes from cldrbug 4130:; add monthPatterns support to
...
DateFormatSymbols, use it to format leap months; ignore pattern char 'l'; add tests.
X-SVN-Rev: 31039
2011-12-06 08:00:44 +00:00
Yoshito Umaoka
b990fed869
ICU-8766 Added a test case equivalent to ICU4J for testing parse position in date format parse with time zone pattern.
...
X-SVN-Rev: 30515
2011-08-16 16:36:51 +00:00
Yoshito Umaoka
3c22c67825
ICU-8675 Simple test case for checking stand alone GMT parsing multiple times.
...
X-SVN-Rev: 30282
2011-07-06 16:42:25 +00:00
Peter Edberg
332037ef5b
ICU-6109 & #4942,#3579: Merge changes for lenient number & date parsing from branches/eric/lenient_number_parsing (manually!)
...
X-SVN-Rev: 30018
2011-05-04 12:23:42 +00:00
John Emmons
1974269a6f
ICU-7724 Merge support for non-contiguous numbering systems
...
X-SVN-Rev: 28466
2010-08-13 21:23:00 +00:00
Jason Spieth
cfb6018a50
ICU-7357 Allow date format parsing to handle ISO format. Properly parse the era and allow negative years to derive the era.
...
X-SVN-Rev: 27904
2010-04-06 18:04:27 +00:00
Jason Spieth
79a1c517b9
ICU-4917 Remove code from trunk to be added to branch.
...
X-SVN-Rev: 27779
2010-03-04 21:15:43 +00:00
Jason Spieth
99fe830c00
ICU-4917 Improve ISO format handling of era and negative years
...
X-SVN-Rev: 27778
2010-03-04 16:55:29 +00:00
Doug Felt
52c23e0a47
ICU-6192 add support for getting field positions to NumberFormat and DateFormat
...
X-SVN-Rev: 27093
2009-12-17 22:15:20 +00:00
Yoshito Umaoka
df41de6e90
ICU-6880 Fixed localized GMT format parse problem caused by the offset hour format without delimitter characters.
...
X-SVN-Rev: 25929
2009-04-28 06:20:32 +00:00
Yoshito Umaoka
be66679036
ICU-6315 Parsing generic GMT format with UT and standalone GMT/UT/UTC support for ICU4C.
...
X-SVN-Rev: 25650
2009-03-25 05:02:30 +00:00
Jason Spieth
99ca0b9eac
ICU-6726 Changes to dateTimePatterns lengths and default glue pattern usage
...
X-SVN-Rev: 25592
2009-03-16 15:23:11 +00:00
Jason Spieth
0875075b89
ICU-6338 Handle integer suffix when parsing numeric date field - testcase
...
X-SVN-Rev: 25346
2009-01-29 18:35:02 +00:00
Yoshito Umaoka
f682a39582
ICU-6420 Fixed calendar/date symbols mismatch problem for C.
...
X-SVN-Rev: 25309
2009-01-23 23:15:42 +00:00
John Emmons
5841b2c731
ICU-5910 Add test for TestTimeZoneDisplayName
...
X-SVN-Rev: 22638
2007-09-06 21:22:41 +00:00
George Rhoten
fc9cf24a18
ICU-5741 Test and fix cloning of Win32NumberFormat and Win32DateFormat
...
X-SVN-Rev: 21708
2007-06-12 05:20:11 +00:00
George Rhoten
b1596178bc
ICU-5410 Improve code coverage.
...
X-SVN-Rev: 21707
2007-06-12 01:36:50 +00:00
Steven R. Loomis
d48f7af250
ICU-2895 Relative Dates
...
X-SVN-Rev: 21381
2007-04-09 22:29:57 +00:00