Commit Graph

183 Commits

Author SHA1 Message Date
Peter Edberg
8db60a2d2b ICU-9399 return correct parse index when an era is expected but something else is found
X-SVN-Rev: 32262
2012-08-28 03:40:07 +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
Michael Ow
0ca13b73b0 ICU-9292 Merge BEAM warning fixes from branch into trunk
X-SVN-Rev: 31792
2012-05-03 05:50:26 +00:00
Yoshito Umaoka
a1b5c33222 ICU-9237 Fixed copy constructor and assignment operator implementation problem in SimpleDateFormat. Also added a test case demonstrates the issue.
X-SVN-Rev: 31664
2012-03-30 21:07:56 +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
Yoshito Umaoka
1641940f00 ICU-8513 Merging TimeZoneNames/TimeZoneFormat APIs (as 49 technology preview) into trunk.
X-SVN-Rev: 31469
2012-02-21 11:06:50 +00:00
Peter Edberg
60152763f3 ICU-9110 Add date format functions to set/get context, use when formatting
X-SVN-Rev: 31458
2012-02-21 01:29:50 +00:00
Peter Edberg
a3d068508b ICU-9069 Parse 'U' when there there is no cyclic year name data (C)
X-SVN-Rev: 31247
2012-01-23 19:43:13 +00:00
Peter Edberg
cb472ddf52 ICU-8959 If pattern char is 'U' but year has no cyclic name data, format as number (C)
X-SVN-Rev: 31224
2012-01-19 04:56:22 +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
0b49b06d49 ICU-9035 More Chinese calendar format/parse fixes, mostly backported from ICU4J
X-SVN-Rev: 31212
2012-01-17 03:24:56 +00:00
Michael Ow
d427553ea9 ICU-8718 Fix memory leak from orphaned LocalArray pointer in SimpleDateFormat
X-SVN-Rev: 31111
2011-12-13 18:03:34 +00:00
Peter Edberg
122a779de8 ICU-8958 Review fixes - better handling of error conditions
X-SVN-Rev: 31099
2011-12-12 20:03:05 +00:00
Peter Edberg
56d70749df ICU-8958 Add support for parsing leapMonths (in addition to formatting per r31039, r31040)
X-SVN-Rev: 31043
2011-12-06 20:46:32 +00:00
Peter Edberg
5578f45b2f ICU-8958 use the correct monthPattern for numeric months
X-SVN-Rev: 31040
2011-12-06 08:26:13 +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
Peter Edberg
3a8d6c31a9 ICU-8844 Clone fCalendar as necessary so it does not get modified by format or parse methods
X-SVN-Rev: 31017
2011-12-04 00:33:15 +00:00
Peter Edberg
307efef922 ICU-8820 Parse string fields in pattern as strings before trying digits (if lenient)
X-SVN-Rev: 30766
2011-09-30 20:07:28 +00:00
Yoshito Umaoka
93cb17f386 ICU-8811 Removed the logic for supporting short commonly used time zone names.
X-SVN-Rev: 30668
2011-09-15 20:38:26 +00:00
Steven R. Loomis
737d129645 ICU-8784 commit iSeries porting fixes into trunk
X-SVN-Rev: 30667
2011-09-15 19:34:17 +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
e31ce99b84 ICU-8575 option for not including utf headers by default; replace uses of deprecated utf_old.h macros
X-SVN-Rev: 30430
2011-07-27 05:53:56 +00:00
Markus Scherer
2201fb816c ICU-7877 optionally explicit UnicodeString constructors, and make them explicit inside ICU
X-SVN-Rev: 30293
2011-07-07 18:46:19 +00:00
Markus Scherer
9f7d74001c ICU-8605 document & test ICU4C dependencies, remove cycles, reduce some deps; merged from branches/markus/depstest -r 30155:30193
X-SVN-Rev: 30194
2011-06-03 05:23:57 +00:00
Peter Edberg
67bb9b9b2c ICU-6109 Always use strict number parsing for date parsing
X-SVN-Rev: 30036
2011-05-05 17:09:06 +00:00
Andy Heninger
ae8896de7f ICU-8524 compiler warning cleanup.
X-SVN-Rev: 30026
2011-05-04 22:34:13 +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
Markus Scherer
9774441e40 ICU-8491 remove uprv_isRuleWhiteSpace(c)
X-SVN-Rev: 29900
2011-04-26 06:39:29 +00:00
John Emmons
40f80afaaa ICU-8424 Merge current CLDR trunk to 4.8M1 as CLDR 1.9.9
X-SVN-Rev: 29637
2011-03-12 14:57:18 +00:00
John Emmons
6d6d6fa198 ICU-7920 Fix duplicate entry in kTimeFields
X-SVN-Rev: 28564
2010-08-31 17:39:58 +00:00
Alexey Gousev
933e73b1d2 ICU-7066 merging trunk
X-SVN-Rev: 28531
2010-08-25 22:28:32 +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
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
Steven R. Loomis
a1ea70071b ICU-7708 compiler warnings for 4.5.1 (batch 1)
X-SVN-Rev: 28103
2010-05-25 22:17:12 +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
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
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
John Emmons
d54bef2490 ICU-7186 Fix round-trip problem in Hebrew Calendar
X-SVN-Rev: 26770
2009-10-08 03:47:08 +00:00
Michael Ow
392d7d16b6 ICU-4954 Ensure Unicode Pattern_White_Space set is used where appropriate.
X-SVN-Rev: 26571
2009-08-28 18:37:27 +00:00
John Emmons
ce62d6d654 ICU-4547 Updated support for correct month numbering/naming in Hebrew calendar
X-SVN-Rev: 26521
2009-08-20 03:44:28 +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
Michael Ow
e769235e0b ICU-6554 Remove pointer if not needed before returning.
X-SVN-Rev: 25832
2009-04-18 20:25:28 +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