Commit Graph

172 Commits

Author SHA1 Message Date
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
7364736f03 ICU-6585 Formats with c,cc should use local day of week (and ee should have zero pad)
X-SVN-Rev: 24869
2008-10-24 03:36:26 +00:00
Peter Edberg
dea1e8f6fe ICU-5726 Make parse work for eee-eeeee, EEEE, c-cc; add tests.
X-SVN-Rev: 24814
2008-10-15 08:08:04 +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
Peter Edberg
1e9adc5dc1 ICU-6072 Add DateFormatSymbols support for NarrowEras, use it to format & parse with GGGGG
X-SVN-Rev: 24709
2008-10-03 07:47:57 +00:00
Claire Ho
81ac0f67a6 ICU-6356 Fixed the coredump for c tests running without data files.
X-SVN-Rev: 24211
2008-06-17 22:27:18 +00:00
Xiaomei Ji
0ad3aff9b2 ICU-6157 update after 1st round code review
X-SVN-Rev: 24200
2008-06-16 22:32:36 +00:00
Xiaomei Ji
f9a0590098 ICU-6157 date interval format
X-SVN-Rev: 24005
2008-05-28 00:33:44 +00:00
Steven R. Loomis
6d39fb1708 ICU-4447 add test for y/yy/yyy/yyyy/yyyyy
X-SVN-Rev: 23832
2008-04-25 01:13:33 +00:00
Jason Spieth
0dffb9ff54 ICU-6088 More complete overflow fix
X-SVN-Rev: 23827
2008-04-24 20:42:46 +00:00
Jason Spieth
e67739dfd5 ICU-6088 Fix testcase overflow
X-SVN-Rev: 23823
2008-04-23 20:45:14 +00:00
Kedar Rajwade
cbd785db50 ICU-5966 Fixed some compiler warnings
X-SVN-Rev: 23806
2008-04-17 20:52:04 +00:00
Michael Ow
3b646b385c ICU-6152 Add memory check for new UnicodeString.
X-SVN-Rev: 23609
2008-03-17 23:10:28 +00:00
George Rhoten
de6512a9c1 ICU-6132 Undo some unneccessary changes. Remove some tabs. Make sure that the UErrorCode is propagated when possible. When a UErrorCode is available, don't check for a NULL return value.
X-SVN-Rev: 23479
2008-02-23 19:15:18 +00:00
Michael Ow
b618ac2319 ICU-5684 Update API doc and add to NUMERIC_FORMAT_CHARS 'Y' and 'e'.
X-SVN-Rev: 23304
2008-01-24 20:58:00 +00:00
Claire Ho
fa5370e6b5 ICU-6152 fixed the memory leak.
X-SVN-Rev: 23294
2008-01-23 02:19:25 +00:00
Michael Ow
fdadab877a ICU-6132 Add memory allocation error check to simpletz and smpdtfmt.
X-SVN-Rev: 23241
2008-01-16 16:45:14 +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
3cd078fd3e ICU-5934 Fix parsing problem found in J, keep C in sync
X-SVN-Rev: 22714
2007-09-25 20:46:03 +00:00
John Emmons
2b9ae318ed ICU-5910 Force use of standard string when DST not observed
X-SVN-Rev: 22622
2007-09-05 18:47:57 +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
Eric Mader
2552d04edc ICU-5808 use invariant UnicodeString constructors so that code compiles even if UCONFIG_NO_CONVERSION is set.
X-SVN-Rev: 22414
2007-08-17 01:41:57 +00:00
John Emmons
fc4edcf11f ICU-5708 Fix aliasing logic
X-SVN-Rev: 22363
2007-08-13 16:09:51 +00:00
George Rhoten
9991e6a097 ICU-5708 Fix a memory leak
X-SVN-Rev: 22305
2007-08-07 20:23:09 +00:00
John Emmons
a2d03cc0fb ICU-5708 Generic time zone support
X-SVN-Rev: 22283
2007-08-06 15:17:35 +00:00
George Rhoten
397ffe6f76 ICU-5445 operator= does not have a check for the source and destination
addresses being non-identical

X-SVN-Rev: 22136
2007-07-25 03:58:02 +00:00
John Emmons
f612461fd1 ICU-5711 Allow RLM in date formats
X-SVN-Rev: 21667
2007-06-08 01:45:02 +00:00
Deborah Goldsmith
4a36c3820b ICU-5554 Fix non-integral formatting for Z
X-SVN-Rev: 21633
2007-06-05 03:17:58 +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
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
George Rhoten
851d1dccb8 ICU-4707 Fix some compiler warnings
X-SVN-Rev: 19404
2006-03-22 08:52:04 +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
f9555fcca8 ICU-4741 changes for zoneStrings access
X-SVN-Rev: 18474
2005-08-26 21:55:55 +00:00
Ram Viswanadha
7aaebd3ab7 ICU-4051 verify locale aliases
X-SVN-Rev: 18430
2005-08-12 22:01:55 +00:00
John Emmons
d4f90e7254 ICU-4327 Fix formatting for single digit standalones
X-SVN-Rev: 18135
2005-07-02 02:54:59 +00:00
John Emmons
e6f8f10213 ICU-4327 Add long era names, narrow month/day, standalone month/day
X-SVN-Rev: 18119
2005-07-01 17:30:36 +00:00
Ram Viswanadha
1489f99467 ICU-676 add cL to the localPatternChars
X-SVN-Rev: 17995
2005-06-23 18:25:29 +00:00
George Rhoten
d7d0178b8d ICU-4146 Try to make the date time construction more robust.
X-SVN-Rev: 17974
2005-06-22 04:40:32 +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
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
Eric Mader
41ca4f63ee ICU-4428 update copyright notices for ICU 3.3.
X-SVN-Rev: 17296
2005-03-08 22:49:59 +00:00
George Rhoten
b2e0401c9b ICU-3004 Perform better case insensitive comparison.
X-SVN-Rev: 17070
2005-01-01 21:31:21 +00:00
George Rhoten
e69fca9d5f ICU-4078 Fix for AIX with Visual Age 5 compiler, and make sure that the
disentanglement is correct by putting all the UnicodeSet virtual functions are
in one file. Also move some of the rule whitespace handling into better
locations.

X-SVN-Rev: 16519
2004-10-15 22:56:26 +00:00
George Rhoten
8c9aab5002 ICU-4078 Further separate the default converter from the rest of the API
X-SVN-Rev: 16331
2004-09-15 23:44:48 +00:00
George Rhoten
95873dd022 ICU-4084 Improve DateFormat construction performance.
X-SVN-Rev: 16247
2004-09-02 19:08:28 +00:00
George Rhoten
db7d00f2cb ICU-4084 Improve DateFormat construction performance.
X-SVN-Rev: 16223
2004-08-31 18:04:12 +00:00
Alan Liu
a71437fcff ICU-3815 fix case-folding match
X-SVN-Rev: 15764
2004-06-07 21:58:56 +00:00
Alan Liu
d14428ac18 ICU-3659 catch out-of-bounds array indices but do *not* attempt to enforce calendar min/max limits
X-SVN-Rev: 15589
2004-05-27 21:00:21 +00:00
Alan Liu
a1b393c257 ICU-3659 limit UDate range to +/-7F000000 julian days; matches ICU4J
X-SVN-Rev: 15502
2004-05-24 20:32:59 +00:00
Alan Liu
0bfd502d22 ICU-3659 temporarily disable...
X-SVN-Rev: 15498
2004-05-24 17:36:53 +00:00
Alan Liu
d08db4a33f ICU-3659 assert values are in range before using them to index arrays
X-SVN-Rev: 15493
2004-05-24 05:59:54 +00:00
Eric Mader
abefef5844 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15411
2004-05-19 20:42:44 +00:00
Steven R. Loomis
66753f4215 ICU-2487 refactor calendar data, support CLDR 1.1 format
X-SVN-Rev: 15363
2004-05-18 02:06:28 +00:00
Alan Liu
59b829f9e3 ICU-3391 add support for YeugAZ fields; fix handling of S field; move FieldPosition selectors to udat
X-SVN-Rev: 14681
2004-03-11 14:03:37 +00:00
Alan Liu
00035cd85c ICU-3399 move operator== class check into Format
X-SVN-Rev: 14507
2004-02-13 01:50:59 +00:00
Alan Liu
91390d5ea7 ICU-2202 preliminary checkin
X-SVN-Rev: 14367
2004-01-20 23:06:38 +00:00
George Rhoten
b8b1565afe ICU-3259 Fix a memory leak.
X-SVN-Rev: 13778
2003-11-19 23:44:51 +00:00
Vladimir Weinstein
8ab4bf13f7 ICU-2202 getLocale implementation for formatting classes and calendar
X-SVN-Rev: 13777
2003-11-19 23:31:45 +00:00
Steven R. Loomis
92fb1fead2 ICU-2943 calendar update (sync with Java, prepare for other calendars)
X-SVN-Rev: 13494
2003-10-26 10:24:58 +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
George Rhoten
492d57ac79 ICU-3221 Fix AIX linker warnings
X-SVN-Rev: 12997
2003-08-31 20:53:46 +00:00
Vladimir Weinstein
752e44d7d9 ICU-2840 tests shouldn't crash if there is no data
X-SVN-Rev: 12342
2003-06-06 05:05:22 +00:00
Steven R. Loomis
5fc78bf0ce ICU-2840 don't crash without data
X-SVN-Rev: 12292
2003-06-04 22:02:07 +00:00
Steven R. Loomis
817b681f1b ICU-2959 copyright
X-SVN-Rev: 12245
2003-06-03 01:58:48 +00:00
Steven R. Loomis
9a31c7d78d ICU-2436 allow 'y' to mean unpadded year
X-SVN-Rev: 12195
2003-05-30 00:53:37 +00:00
George Rhoten
d1e455def1 ICU-2699 Fix some compiler warnings
X-SVN-Rev: 12158
2003-05-29 17:19:34 +00:00
Steven R. Loomis
f2e4031b0c ICU-2436 Japanese Calendar implementation, other fixes (multi calendar)
X-SVN-Rev: 12105
2003-05-25 07:12:19 +00:00
Steven R. Loomis
89f1c6875b ICU-2436 fix memory leak
X-SVN-Rev: 12028
2003-05-20 23:16:06 +00:00
Steven R. Loomis
0dfe4a433d ICU-2436 international calendars (Buddhist)
X-SVN-Rev: 11975
2003-05-16 22:05:41 +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
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
8a4c069318 ICU-2370 fix parameter docs/names for format() and related fns
X-SVN-Rev: 10366
2002-11-25 18:31:23 +00:00
Markus Scherer
93018c58f9 ICU-2296 optimize use of UnicodeString, copy string objects less often
X-SVN-Rev: 10030
2002-10-15 00:36:11 +00:00
Markus Scherer
d8cd28cf02 ICU-2296 optimize use of UnicodeString, copy string objects less often
X-SVN-Rev: 10029
2002-10-12 01:09:00 +00:00
Markus Scherer
3d38617bdc ICU-2248 modularize icu, allow parts to not be built
X-SVN-Rev: 9900
2002-09-20 01:54:48 +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
GCL Shanghai
2fab4a8cb7 ICU-1953 backout buffer overflow changes
X-SVN-Rev: 9070
2002-07-09 12:47:45 +00:00
GCL Shanghai
6348e12895 ICU-1953 test for buffer overflows
X-SVN-Rev: 9044
2002-07-06 10:58:51 +00:00
GCL Shanghai
b89c229c6e ICU-1953 change comments style and check 0/NULL
X-SVN-Rev: 8993
2002-07-02 15:10:30 +00:00
GCL Shanghai
1e188eca35 ICU-1953 Test for NULL after each uprv_malloc() or new
X-SVN-Rev: 8980
2002-06-29 09:31:05 +00:00
George Rhoten
bc64b17bee ICU-1199 Stop using the deprecated Unicode C++ class
X-SVN-Rev: 8105
2002-03-19 03:01:28 +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
Alan Liu
34a2aecffc ICU-162 add DateFormat parse() and format() methods taking a Calendar
X-SVN-Rev: 7857
2002-03-02 00:29:54 +00:00
George Rhoten
41ffc2ef36 ICU-1733 Integrate some of the easier (and non-redundent) changes from Lotus.
X-SVN-Rev: 7802
2002-02-28 01:42:40 +00:00
George Rhoten
0836738cc1 ICU-1630 Move UMTX from utypes.h to umutex.h,
and remove unneeded references to mutex.h (so we can find multithreading issues more easily)

X-SVN-Rev: 7478
2002-01-23 17:17:06 +00:00
Helena Chapman
d816eefc57 ICU-1264 added namspace support where possible.
X-SVN-Rev: 6124
2001-10-08 23:26:58 +00:00
George Rhoten
4526828ee2 ICU-1099 Make more data const in the libraries
X-SVN-Rev: 5964
2001-09-28 19:13:03 +00:00
George Rhoten
f776680929 ICU-1214 Replace getPatternChars with getPatternUChars
X-SVN-Rev: 5789
2001-09-18 21:36:45 +00:00
George Rhoten
f236304493 ICU-1087 Move some public static variables to their proper locations and make them private.
X-SVN-Rev: 5459
2001-08-10 23:00:30 +00:00
George Rhoten
14fd019f1b ICU-1008 Do less static initialization. Still need to fix static destruction, but it's better now.
X-SVN-Rev: 5198
2001-07-06 23:19:56 +00:00
George Rhoten
6a79b605fb ICU-1008 Do less static initialization.
X-SVN-Rev: 5158
2001-07-02 22:04:18 +00:00
George Rhoten
5b510e5471 ICU-953 Don't create a UnicodeString for as much data as possible.
X-SVN-Rev: 4692
2001-05-16 20:47:21 +00:00
Vladimir Weinstein
8e6698de87 ICU-903 updated copyright notices
X-SVN-Rev: 4237
2001-03-21 20:31:13 +00:00
George Rhoten
47c3f11f09 ICU-790 Added some headers that were in unistr.h
X-SVN-Rev: 3333
2001-01-02 19:23:27 +00:00
George Rhoten
8333991278 ICU-97 Fixed an AIX compiler error
X-SVN-Rev: 2866
2000-11-02 22:15:50 +00:00
George Rhoten
5168538b08 ICU-97 More speed improvements.
X-SVN-Rev: 2854
2000-11-02 02:42:40 +00:00