Commit Graph

84 Commits

Author SHA1 Message Date
Peter Edberg
cd49c23616 ICU-9925 CLDR 23 pre-integration part 3, batch 3 (C)
X-SVN-Rev: 33217
2013-02-14 09:51:25 +00:00
Yoshito Umaoka
08223859e3 ICU-9735 Added a C API ucal_getTimeZoneID.
X-SVN-Rev: 33005
2013-01-02 16:58:24 +00:00
Michael Ow
f8365c92da ICU-9397 Update tests to pass without data in ICU 50 RC
X-SVN-Rev: 32680
2012-10-19 20:09:53 +00:00
Michael Ow
baf198dec3 ICU-9581 Fix some memory leaks in cintltst and intltest
X-SVN-Rev: 32642
2012-10-16 16:01:17 +00:00
Scott Russell
d5a9bec7f9 ICU-9403 Calendar should return error for large negative millis out of range in strict mode & fix extended year calculation for large negative millis
X-SVN-Rev: 32554
2012-10-08 20:24:50 +00:00
Peter Edberg
3e36b67cf7 ICU-9606 Add ucal_getTimeZoneTransitionDate, UTimeZoneTransitionType and tests
X-SVN-Rev: 32545
2012-10-08 00:32:59 +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
Peter Edberg
1b1314e50f ICU-9227 just add tests for fieldDifference fwd/backward on either side of era boundary and across era boundary
X-SVN-Rev: 32263
2012-08-28 05:58:40 +00:00
Peter Edberg
d7a3235efb ICU-9392 japanese calendar minimum era should be 0
X-SVN-Rev: 32253
2012-08-27 23:21:33 +00:00
Peter Edberg
c63be1f302 ICU-9226 Calendar add +year should always move forward in time; roll year should wrap for eras with real bounds, pin otherwise
X-SVN-Rev: 31966
2012-06-19 05:42:52 +00:00
Peter Edberg
eaae5eb353 ICU-9243 fieldDifference positive search should check to INT32_MAX, don't exceed int32 limits in calculations
X-SVN-Rev: 31694
2012-04-09 23:54:14 +00:00
Michael Ow
20e8036d10 ICU-8716 Update intltest and cintltst to pass without data in 49
X-SVN-Rev: 31449
2012-02-20 19:13:36 +00:00
Yoshito Umaoka
9d6a55f33d ICU-8916 Calendar APIs supporting options for handling ambiguous wall time (Merged from the work branch to the ICU4C trunk).
X-SVN-Rev: 31421
2012-02-17 23:53:05 +00:00
Peter Edberg
ed01311886 ICU-8753 Fix Calendar::add to handle change in UCAL_ZONE_OFFSET
X-SVN-Rev: 30657
2011-09-14 22:33:22 +00:00
Michael Ow
310c23c24e ICU-8578 Apply patch to fix some compiler warnings and related issues
X-SVN-Rev: 30205
2011-06-10 18:56:08 +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
Andy Heninger
ae8896de7f ICU-8524 compiler warning cleanup.
X-SVN-Rev: 30026
2011-05-04 22:34:13 +00:00
Peter Edberg
b4653c9f9f ICU-8397 Add ucal_getFieldDifference, C wrapper for Calendar::fieldDifference(...)
X-SVN-Rev: 29966
2011-05-02 23:42:11 +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
Yoshito Umaoka
34bc79c98b ICU-8278 New APIs TimeZone::createTimeZoneIDEnumeration and ucal_openTimeZoneIDEnumeration for supporting canonical/canonical location zone iteration. The fix for ticket#8349 Etc/Unknown problem was also done at the same time.
X-SVN-Rev: 29498
2011-03-01 18:29:13 +00:00
Michael Ow
24055f8585 ICU-7882 Enable BCP47 ids and update a few test cases in ICU4C.
X-SVN-Rev: 28503
2010-08-20 20:11:37 +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
Peter Edberg
4c6887c581 ICU-7295 ucal_open crash if locale==NULL && caltype==UCAL_GREGORIAN
X-SVN-Rev: 27414
2010-01-26 07:21:21 +00:00
Peter Edberg
93ecb35cb6 ICU-2223 Port weekend APIs from ICU4J to C,C++ (real implementation)
X-SVN-Rev: 27403
2010-01-25 20:12:19 +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
Steven R. Loomis
ff3cb7a656 ICU-6799 reduce warnings (status: 718->459)
X-SVN-Rev: 25708
2009-04-01 05:57:09 +00:00
Yoshito Umaoka
9d0666f840 ICU-6661 ucal_getKeywordValuesForLocale to use calendarPreference data from CLDR. Updated supplementalData.txt generated from the CLDR CVS head version of supplementalData.xml (1.205).
X-SVN-Rev: 25652
2009-03-25 17:59:48 +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
Michael Ow
a5894c4401 ICU-3378 Fix cintltst compilation errors.
X-SVN-Rev: 25532
2009-03-09 22:28:54 +00:00
Michael Ow
aa05d999c7 ICU-3378 Port over getKeywordValuesForLocale API from ICU4J to ICU4C. Add test for this new API. Also add for, internal use, Linked List API for when creating UEnumeration.
X-SVN-Rev: 25527
2009-03-09 20:39:13 +00:00
Peter Edberg
c9079b0322 ICU-6614 Add UErrorCode* parameter for ucal_getType; improve UCalendarType comments.
X-SVN-Rev: 25037
2008-12-02 22:56:31 +00:00
Peter Edberg
4510d290cd ICU-6615 define UCAL_DEFAULT, make UCAL_GREGORIAN work correctly in ucal_open
X-SVN-Rev: 24935
2008-11-07 04:50:24 +00:00
Peter Edberg
d53d0406af ICU-6614 Add ucal_getType()
X-SVN-Rev: 24931
2008-11-06 06:49:30 +00:00
Peter Edberg
342953342c ICU-5568 Add ucal_clone()
X-SVN-Rev: 24014
2008-05-28 04:53:32 +00:00
Yoshito Umaoka
3396499f26 ICU-5845 Fixed a test case to invalidate zero-th week of month.
X-SVN-Rev: 23776
2008-04-09 19:19:29 +00:00
George Rhoten
8bc5d287d9 ICU-6076 Reduce crashes and valgrind errors in tests for easier diagnostics.
X-SVN-Rev: 23457
2008-02-19 05:05:51 +00:00
Yoshito Umaoka
ba7bd65b8f ICU-5561 Added another version of getCanonicalID which tells you if the given ID is a system timezon in C++. Updated ucal_getCanonicalTimeZone to support the feature as well.
X-SVN-Rev: 23354
2008-02-05 19:14:43 +00:00
Yoshito Umaoka
873d3f5b19 ICU-5561 Adding new C++ API TimeZone::getCanonicalID and its C corresponding. Added test cases for the new API. Cleaned up ZoneMeta class.
X-SVN-Rev: 23299
2008-01-23 23:47:13 +00:00
Eric Mader
bb4a371fdb ICU-5805 Update copyright notices for ICU 3.8
X-SVN-Rev: 22167
2007-07-27 03:12:12 +00:00
Yoshito Umaoka
0651c49b65 ICU-3778 Added getTZDataVersion for C and C++
X-SVN-Rev: 22063
2007-07-19 22:29:51 +00:00
Markus Scherer
2c56554cbb ICU-5211 add API functions: ucal_setGregorianChange() and ucal_getGregorianChange()
X-SVN-Rev: 19775
2006-06-27 23:06:25 +00:00
George Rhoten
0b0d6328ab ICU-4707 Properly define range checking
X-SVN-Rev: 19439
2006-03-25 22:29:09 +00:00
Ram Viswanadha
4232bf88c3 ICU-4450 update tests
X-SVN-Rev: 17993
2005-06-23 18:23:03 +00:00
Doug Felt
50c3a2554b ICU-646 wall time support in icu
X-SVN-Rev: 17801
2005-06-04 03:08:25 +00:00
Eric Mader
f57c82a12d ICU-4428 update copyright notices for ICU 3.3.
X-SVN-Rev: 17348
2005-03-16 18:46:54 +00:00
George Rhoten
3d422a5f99 ICU-4379 Perform the clear suggestion as described in the documentation.
X-SVN-Rev: 17337
2005-03-15 00:20:32 +00:00
Markus Scherer
6a4d576318 ICU-3403 cut out @obsolete ICU 2.8 APIs
X-SVN-Rev: 13769
2003-11-19 21:37:56 +00:00
George Rhoten
00e21ff118 ICU-3259 Remove the time zone option.
After fixing the time zone memory leak, I discovered that some tests call u_cleanup to test the heap functions.
So setting the time zone at the beginning of the process won't help because the value doesn't stay around.
Any tests that depend on the timezone need to set and reset the timezone.

X-SVN-Rev: 13349
2003-10-07 21:52:15 +00:00
Vladimir Weinstein
acc92a79b8 ICU-2840 fix a typo
X-SVN-Rev: 12294
2003-06-04 22:09:43 +00:00