Commit Graph

226 Commits

Author SHA1 Message Date
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
3b11db76a4 ICU-8719 Skip date field range check added by r30018 when lenient mode. Reverted some date format test cases to accept out of range date fields when lenient.
X-SVN-Rev: 30508
2011-08-15 20:54:36 +00:00
Markus Scherer
9bcc40cf9e ICU-8452 un-autoconf platform.h, move user-configurable settings to uconfig.h, and other changes; from svn merge --reintegrate branches/markus/platformh at r30411
X-SVN-Rev: 30412
2011-07-23 00:10:30 +00:00
Michael Ow
cdd02be3f2 ICU-8716 Update collation and date format test to pass without data
X-SVN-Rev: 30378
2011-07-18 18:09:52 +00:00
John Emmons
a963738287 ICU-8696 Merge CLDR 2.0.1
X-SVN-Rev: 30316
2011-07-12 19:55:07 +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
Yoshito Umaoka
3e6d2f0e18 ICU-8589 Corrected the condition for using country display name in a time zone partial name. Also updated the test case to parse the test date properly.
X-SVN-Rev: 30149
2011-05-26 20:56:15 +00:00
John Emmons
7a0d90c14e ICU-8556 Merge CLDR release-2-0-d02 data
X-SVN-Rev: 30101
2011-05-12 02:11:29 +00:00
Michael Ow
dc0bdf415e ICU-8553 Ensure cintltst and intltest passes gracefully with warning without data in 4.8
X-SVN-Rev: 30088
2011-05-10 22:01:46 +00:00
John Emmons
2d4a2ae78f ICU-8489 Merge CLDR release-2-0-d01 into ICU
X-SVN-Rev: 30037
2011-05-05 18:12:27 +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
Yoshito Umaoka
4d7569c743 ICU-8342 Refactoring ZoneStringFormat into TimeZoneNames and TimeZoneFormat (all internal APIs for now). Also supporting localized GMT zero format and fallback region format for generic names.
X-SVN-Rev: 29984
2011-05-03 14:59:01 +00:00
Michael Ow
4ff56e0dd5 ICU-8398 Log data errors where appropriate so ensure cintltst and intltest passes without data in 4.7.1
X-SVN-Rev: 29529
2011-03-03 19:29:57 +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
Steven R. Loomis
592b73e980 ICU-7502 fix ASCIIsms - merge from branch /branches/srl/ascii7502
X-SVN-Rev: 28382
2010-07-28 16:08:12 +00:00
Michael Ow
0e8df2ba58 ICU-7784 Set some test failure errors as data loading error appropriate.
X-SVN-Rev: 28305
2010-07-14 16:09:03 +00:00
Peter Edberg
3249dbb71d ICU-7728 Time format using 'S' (fractional seconds) should truncate, not round.
X-SVN-Rev: 28130
2010-06-04 00:31:33 +00:00
Markus Scherer
f6a04770ff ICU-7455 use compiler RTTI; stop adding poor mans RTTI to new class hierarchies
X-SVN-Rev: 28075
2010-05-19 17:29:33 +00:00
John Emmons
bc9e38c998 ICU-7607 CLDR 1.8.1 integration
X-SVN-Rev: 27970
2010-04-22 17:39:04 +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
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
Steven R. Loomis
08ba850a31 ICU-7391 fix typo in r27433
X-SVN-Rev: 27435
2010-01-28 21:08:18 +00:00
Doug Felt
bd8eb26d17 ICU-7391 changed ref to pointer in APIs taking FieldPositionIterator, cleaned whitespace
X-SVN-Rev: 27433
2010-01-28 19:39:24 +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
Michael Ow
6b1f9ef27c ICU-6905 Make intltest pass without any data.
X-SVN-Rev: 26096
2009-06-12 19:34:21 +00:00
Yoshito Umaoka
e45db647aa ICU-6880 Corrected misspellings in the last change set.
X-SVN-Rev: 25931
2009-04-28 06:52:19 +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
Steven R. Loomis
9eb9dd4c83 ICU-6799 fix many warnings, improve tests
X-SVN-Rev: 25772
2009-04-15 01:57:02 +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
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
Yoshito Umaoka
e8f967a5fc ICU-6726 Fixed the date format test failures.
X-SVN-Rev: 25596
2009-03-16 22:25:05 +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
John Emmons
59e662ea7c ICU-6770 CLDR 1.7 integration snapshot - phase 1
X-SVN-Rev: 25576
2009-03-13 03:21:29 +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
Peter Edberg
a57e83d1fb ICU-5726 Make format work for eee-eeeee (UDAT_DOW_LOCAL_FIELD); add & fix tests
X-SVN-Rev: 24752
2008-10-08 08:23:48 +00:00
John Emmons
4d161ddedc ICU-6256 Integrate CLDR 1.6 release 1-6-d01 + a few minor fixes
X-SVN-Rev: 24257
2008-06-20 22:19:23 +00:00
Eric Mader
a8678f38b6 ICU-6337 Use invariant code page to create UnicodeStrings from string literals that contain "\\".
X-SVN-Rev: 24201
2008-06-17 00:55:35 +00:00
John Emmons
1ee6fd5b02 ICU-6256 Integrate 1.6 data - 2nd run
X-SVN-Rev: 24124
2008-06-07 20:46:42 +00:00
John Emmons
695f6fa9c3 ICU-6256 CLDR 1.6 integration - 1st snapshot
X-SVN-Rev: 23911
2008-05-16 15:01:02 +00:00
George Rhoten
deda12eb38 ICU-5990 Fix a memory leak.
X-SVN-Rev: 23090
2007-12-15 04:16:47 +00:00
Yoshito Umaoka
4cd394b8da ICU-5990 Fixed a bug in the test case enabled for 3.9.1. status was not initialized to U_ZERO_ERROR properly.
X-SVN-Rev: 23081
2007-12-13 23:56:02 +00:00
Yoshito Umaoka
2e87f7e798 ICU-5990 Remove an unreferenced variable used by the timebomb in the previous version.
X-SVN-Rev: 23080
2007-12-13 22:28:06 +00:00
Yoshito Umaoka
0219cb81d9 ICU-5990 Updated the timezone test case and removed timebomb. Localized GMT format is available for bg locale
X-SVN-Rev: 23079
2007-12-13 21:41:21 +00:00
Yoshito Umaoka
7e51ed7330 ICU-5990 Merging time zone formatting/parsing changes from yoshito's working branch to the trunk.
X-SVN-Rev: 22978
2007-11-28 20:49:58 +00:00
John Emmons
1f0933a1df ICU-5965 Update metazone transition info to be GMT
X-SVN-Rev: 22723
2007-10-01 15:00:26 +00:00
John Emmons
5841b2c731 ICU-5910 Add test for TestTimeZoneDisplayName
X-SVN-Rev: 22638
2007-09-06 21:22:41 +00:00
Eric Mader
6a6f3feb6b ICU-5871 Fix crashes found running intltest w/o ICU data.
X-SVN-Rev: 22477
2007-08-23 01:19:39 +00:00
John Emmons
96dbf4b17d ICU-5861 Implement new date formatting symbols from tr35
X-SVN-Rev: 22451
2007-08-21 16:57:21 +00:00
John Emmons
83c612fed0 ICU-5486 CLDR 1.5 pre-vetting merge for M2
X-SVN-Rev: 21815
2007-06-22 23:57:38 +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
John Emmons
72b223b173 ICU-5566 Fixing some tests due to CLDR data changes
X-SVN-Rev: 21221
2007-03-10 23:04:30 +00:00
John Emmons
83c6a2b2b4 ICU-5566 Port metazone functionality to ICU4C
X-SVN-Rev: 21220
2007-03-10 18:07:01 +00:00
Vladimir Weinstein
7b86e2823b ICU-5625 Fix parsing of number only timezone offsets.
X-SVN-Rev: 21147
2007-03-02 06:57:40 +00:00
Yoshito Umaoka
fe62e13597 ICU-5597 Remove localized date time pattern characters from ICU locale data and update ICU4C DateFormatSymbols to use the base pattern
X-SVN-Rev: 21087
2007-02-22 23:44:11 +00:00
George Rhoten
a866e44617 ICU-5426 Reduce VM size and reduce exported data on Unix machines.
X-SVN-Rev: 20466
2006-10-01 06:45:25 +00:00
Steven R. Loomis
83c6d252dc ICU-5270 don't crash when no data present
X-SVN-Rev: 19876
2006-07-21 22:01:55 +00:00
Steven R. Loomis
9a23edcce0 ICU-5258 fix GenericTime failures, sync with java
X-SVN-Rev: 19826
2006-07-11 22:47:56 +00:00
George Rhoten
f57dcd6274 ICU-4881 Move timebomb failures
X-SVN-Rev: 19818
2006-07-11 00:17:19 +00:00
Eric Mader
27c7ccf73b ICU-5247 Change timebomb to ICU 3.7 - localPatternChars is deprecated in CLDR and won't be updated.
X-SVN-Rev: 19777
2006-06-28 19:21:43 +00:00
Eric Mader
1fcd76ec02 ICU-5241 Initial checkin of Quarters, narrow month, day names.
X-SVN-Rev: 19762
2006-06-26 17:51:25 +00:00
Ram Viswanadha
bbbee77fe0 ICU-4855 synch data with CLDR
X-SVN-Rev: 19572
2006-04-21 01:18:35 +00:00
George Rhoten
69dc11a58d ICU-5161 Fix a memory leak.
X-SVN-Rev: 19557
2006-04-17 05:06:11 +00:00
Eric Mader
ed5ad9b463 ICU-4152 Initial checkin of tests. Aslo bug fixes for bugs that the tests found!
X-SVN-Rev: 19016
2006-01-23 23:25:00 +00:00
Ram Viswanadha
b70227e2c7 ICU-4741 make compare functions for Hashtable and StringEnumeration general
X-SVN-Rev: 18788
2005-11-11 19:23:09 +00:00
Ram Viswanadha
caafcceb8f ICU-4912 synchronize with ICU4J
X-SVN-Rev: 18758
2005-11-04 21:57:24 +00:00
George Rhoten
0635705316 ICU-4881 Hit the snooze alarm on the time bomb.
X-SVN-Rev: 18690
2005-10-17 22:20:13 +00:00
Ram Viswanadha
f9555fcca8 ICU-4741 changes for zoneStrings access
X-SVN-Rev: 18474
2005-08-26 21:55:55 +00:00
Ram Viswanadha
5c3d31658d ICU-4354 make intltest pass with no data
X-SVN-Rev: 18140
2005-07-05 18:39:00 +00:00
John Emmons
7c747ceb2b ICU-4327 Fix date formatting test to match new field additions
X-SVN-Rev: 18134
2005-07-02 02:53:20 +00:00
Steven R. Loomis
8a37b4992d ICU-646 timebomb (3.4) some "//fail" tests
X-SVN-Rev: 18091
2005-06-29 22:41:48 +00:00
Ram Viswanadha
61ea0a446b ICU-676 update tests
X-SVN-Rev: 17994
2005-06-23 18:24:42 +00:00
Doug Felt
25d082e19b ICU-646 wall time support in icu4c - use 'v' for generic time, revert tests
X-SVN-Rev: 17946
2005-06-17 20:41:10 +00:00
Eric Mader
5dc3d7c9d4 ICU-4561 Update copyright notices for ICU 3.4
X-SVN-Rev: 17822
2005-06-07 23:38:09 +00:00
Doug Felt
50c3a2554b ICU-646 wall time support in icu
X-SVN-Rev: 17801
2005-06-04 03:08:25 +00:00
Ram Viswanadha
5fb23a1b19 ICU-4450 Synch data with CLDR
X-SVN-Rev: 17630
2005-05-19 20:28:20 +00:00
Ram Viswanadha
62c6f70295 ticket: 3938: fix the tests
X-SVN-Rev: 16592
2004-10-21 23:53:38 +00:00
Alan Liu
e43b0d926a ICU-3815 add test for case-folding match
X-SVN-Rev: 15765
2004-06-07 21:59:41 +00:00
Deborah Goldsmith
b501ed1a54 ICU-3699 fix tests to conform to CLDR 1.1 data
X-SVN-Rev: 15679
2004-06-02 22:38:57 +00:00
Eric Mader
004268d484 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15414
2004-05-19 21:36:51 +00:00
Alan Liu
46a1802eff ICU-3391 gcc doesn't grok \u!
X-SVN-Rev: 14685
2004-03-11 14:55:19 +00:00
Alan Liu
0685afafa2 ICU-3391 fix FieldPosition test; add general parse-format test; add test cases for S
X-SVN-Rev: 14682
2004-03-11 14:05:12 +00:00
Steven R. Loomis
ec7ae0cdde ICU-2943 calendar update
X-SVN-Rev: 13493
2003-10-26 10:20:40 +00:00
Alan Liu
e1776d90c6 ICU-3175 fix handling of invalid pattern char
X-SVN-Rev: 13400
2003-10-13 17:15:39 +00:00
Vladimir Weinstein
4df42a86bb ICU-2840 tests shouldn't crash if there is no data
X-SVN-Rev: 12340
2003-06-06 04:54:34 +00:00
Alan Liu
de95737116 ICU-2959 update copyright dates to include 2003
X-SVN-Rev: 12253
2003-06-03 20:58:22 +00:00
Steven R. Loomis
08b5c23397 ICU-2436 use yy or YY for 2 digit years.
X-SVN-Rev: 12187
2003-05-30 00:03:33 +00:00
Alan Liu
403e3c64a2 ICU-2154 standardize whitespace handling by date/number format
X-SVN-Rev: 11460
2003-04-04 20:55:10 +00:00
Alan Liu
1ac2fc0b78 ICU-2656 complete rewrite of parse() to revise handling of abutting numeric fields so that "12345" x "HHmmss" => 1:23:45
X-SVN-Rev: 11308
2003-03-14 00:49:21 +00:00
Alan Liu
7c67f351f8 ICU-2612 fix test to not depend on en_GB
X-SVN-Rev: 11306
2003-03-14 00:22:57 +00:00
Alan Liu
e7be1a69e2 ICU-2656 make HHmmss parsing not parse negative numbers
X-SVN-Rev: 11254
2003-03-07 01:04:43 +00:00
GCL Shanghai
513a23fdae ICU-2222 Deprecate C++ enums that duplicate C enums
X-SVN-Rev: 11137
2003-02-21 08:32:22 +00:00
Alan Liu
66a285bef3 ICU-2347 add new timezone enumeration API and deprecate old one
X-SVN-Rev: 10230
2002-11-12 23:52:27 +00:00
Markus Scherer
0eb9c506ec ICU-2248 modularize ICU
X-SVN-Rev: 9910
2002-09-21 00:43:14 +00:00
Alan Liu
281a3ac28c ICU-1916 properly skip input whitespace before fields during parse
X-SVN-Rev: 9773
2002-08-22 21:55:51 +00:00
Andy Heninger
f0f44e915e ICU-2030 WIndows build changes to allow apps to use static C runtime lib
X-SVN-Rev: 9400
2002-07-29 21:04:18 +00:00
George Rhoten
8d8f74fdf0 ICU-1847 Change the root yyyy back to yy
X-SVN-Rev: 8447
2002-04-11 23:29:14 +00:00
George Rhoten
74f2a261cf ICU-162 Use a double when you want a double.
X-SVN-Rev: 8430
2002-04-10 21:55:43 +00:00
Alan Liu
0f3d8578e1 ICU-162 add C++ API test, improve C API test
X-SVN-Rev: 8422
2002-04-09 23:24:42 +00:00
George Rhoten
7bc5d45c83 ICU-1811 Increase the code coverage of Locale:get methods
X-SVN-Rev: 8255
2002-03-26 23:18:57 +00:00
Markus Scherer
8c78422db2 ICU-1561 replace all UTextOffset with int32_t
X-SVN-Rev: 7942
2002-03-12 01:32:42 +00:00
George Rhoten
732922f538 ICU-66 Change "string" + int to "string %d", int because we don't need to convert to a UnicodeString here and we don't want to add an integer to a const char *.
X-SVN-Rev: 4814
2001-05-26 01:23:28 +00:00
George Rhoten
15b4fbebc1 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 4749
2001-05-22 16:54:15 +00:00
Ram Viswanadha
7f6d7e256f ICU-903 update copyright notices
X-SVN-Rev: 4235
2001-03-21 20:09:56 +00:00
George Rhoten
08e1e93706 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2388
2000-08-29 23:41:23 +00:00
George Rhoten
70d0f2d72d ICU-535 fixed some compiler warnings
X-SVN-Rev: 2344
2000-08-24 01:12:12 +00:00
George Rhoten
a15b66a53d ICU-535 fixed some compiler warnings
X-SVN-Rev: 2339
2000-08-23 19:11:16 +00:00
George Rhoten
3f8dc67cfb ICU-535 fixed some compiler warnings
X-SVN-Rev: 2250
2000-08-15 02:12:47 +00:00
George Rhoten
2dbb8812ba ICU-535 fixed some compiler warnings
X-SVN-Rev: 2226
2000-08-14 21:42:36 +00:00
Vladimir Weinstein
cc42314029 ICU-432 various memory leaks
X-SVN-Rev: 1709
2000-06-29 19:42:17 +00:00
Helena Chapman
69ba12f77c ICU-351 Define UBool to be used in the APIs.
X-SVN-Rev: 1410
2000-05-18 22:08:39 +00:00
Steven R. Loomis
a430140424 ICU-185 test fixes, don't call deprecated api
X-SVN-Rev: 1136
2000-04-15 21:28:17 +00:00
Markus Scherer
bba7ac1a00 ICU-176 UTF-16 changes for UnicodeString
X-SVN-Rev: 1052
2000-04-03 23:53:59 +00:00
Markus Scherer
9f363ccb70 ICU-315 S/390 and EBCDIC updates
X-SVN-Rev: 977
2000-03-22 23:17:42 +00:00
Helena Chapman
3aaa52af8d ICU-161 updated the copyright notices.
X-SVN-Rev: 596
2000-01-15 02:00:06 +00:00
Vladimir Weinstein
8b20f17f49 ICU-12 all public include files are now in unicode dir, all private icu_ functions renamed to uprv_
X-SVN-Rev: 473
1999-12-28 23:57:50 +00:00
Helena Chapman
16ac11f546 ICU-200 Updated with OS/400 specific port changes.
X-SVN-Rev: 459
1999-12-22 22:57:04 +00:00
Markus Scherer
54ba2e3819 ICU-170 use UnicodeString::length() instead of the deprecated size()
X-SVN-Rev: 339
1999-12-08 02:11:04 +00:00
Vladimir Weinstein
a2f31432aa ICU-55 added support for corrected year and localized day of week - one badly written test needed to be corrected
X-SVN-Rev: 193
1999-11-20 00:11:11 +00:00
Markus Scherer
07a2bc0937 ICU-6 more renaming of constant names
FAILURE -> U_FAILURE etc.

X-SVN-Rev: 76
1999-10-18 22:48:32 +00:00
Markus Scherer
b942cae860 ICU-6 change enum constants that do not conform to our naming conventions
X-SVN-Rev: 18
1999-10-07 00:07:53 +00:00
Unknown User
aa0b0a88e8 Initial revision
X-SVN-Rev: 2
1999-08-16 21:50:52 +00:00