Commit Graph

126 Commits

Author SHA1 Message Date
Yoshito Umaoka
e88550b04d ICU-6820 Insert colon as hour/minute/second delimitter in custom time zone ID format.
X-SVN-Rev: 25710
2009-04-01 17:13:40 +00:00
Yoshito Umaoka
fc67192e07 ICU-6814 Updated useDaylightTime to return TRUE when DST is used at the beginning of the current year. Updated TimeZoneTest to make some test cases to check the current tzdata version and current year.
X-SVN-Rev: 25681
2009-03-30 20:55:05 +00:00
Yoshito Umaoka
a54768cf9d ICU-6597 Fix a DST display name bug.
X-SVN-Rev: 24890
2008-10-27 15:22:18 +00:00
Michael Ow
85121155a5 ICU-5944 Remove unneeded free function and use struct and static array.
X-SVN-Rev: 24803
2008-10-14 21:46:58 +00:00
Michael Ow
f904dc9003 ICU-6554 Add releasing of allocated memory when uprv_tzname is called.
X-SVN-Rev: 24698
2008-10-01 21:17:55 +00:00
Michael Ow
f92998e519 ICU-6554 Remove previous free from timezone.cpp and use static array in TestOpenVsOpenRules() capitst.
X-SVN-Rev: 24693
2008-10-01 16:54:07 +00:00
Michael Ow
9d289d4570 ICU-6554 Implement proper freeing of allocated memory to avoid memory leak.
X-SVN-Rev: 24691
2008-10-01 14:14:13 +00:00
Andy Heninger
7b5e523d8f ICU-6488 fix compiler warning
X-SVN-Rev: 24454
2008-08-06 21:14:53 +00:00
Andy Heninger
d13d3b6d4d ICU-6488 mutex cleanup in timezone code
X-SVN-Rev: 24452
2008-08-06 21:01:19 +00:00
Andy Heninger
4635ea3a9c ICU-6321 TimeZone::getDisplayName(), move bug fixes from Java to C++
X-SVN-Rev: 24126
2008-06-09 03:46:34 +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
Michael Ow
9cb51f2e5d ICU-6132 Add proper checking of pointer before dereferencing in timezone and tblcoll.
X-SVN-Rev: 23244
2008-01-16 17:13:11 +00:00
George Rhoten
1d64a7d5b4 ICU-6125 Mark more data constant.
X-SVN-Rev: 23181
2008-01-08 03:46:30 +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
George Rhoten
6490ed1ae8 ICU-6034 Prevent a mutex deadlock in case tzset really calls ICU under the covers.
X-SVN-Rev: 22960
2007-11-26 18:25:01 +00:00
George Rhoten
0781890fa8 ICU-5821 Fix for i5/OS
X-SVN-Rev: 22325
2007-08-09 00:04:00 +00:00
George Rhoten
096748976d ICU-3778 Use a codepage specific char * instead of UTF-8 for the version string.
X-SVN-Rev: 22319
2007-08-08 18:38:20 +00:00
Yoshito Umaoka
fb68bb6add ICU-5559 Normalize time zone ID using RFC822 format in the result TimeZone when it is created by TimeZone#createTimeZone with custom ID.
X-SVN-Rev: 22129
2007-07-24 21:37:19 +00:00
Yoshito Umaoka
23e6471728 ICU-3778 Changed not to cache the status code which is set when accessing tzdata version string
X-SVN-Rev: 22069
2007-07-20 02:46:47 +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
George Rhoten
fdf9a9dbc2 ICU-5349 Use UMTX_CHECK when it's helpful.
X-SVN-Rev: 20271
2006-09-08 04:10:40 +00:00
George Rhoten
4cc82b4180 ICU-5304 Allow source code to work again without using U_NAMESPACE_USE
X-SVN-Rev: 20242
2006-09-04 16:36:21 +00:00
George Rhoten
dbc0d1d9ee ICU-5349 Use UMTX_CHECK for double check locking.
X-SVN-Rev: 20176
2006-08-29 04:57:05 +00:00
George Rhoten
34c5798a18 ICU-5333 Whitespace changes.
X-SVN-Rev: 20117
2006-08-19 21:27:08 +00:00
George Rhoten
5ec2f7ff26 ICU-5086 Only use a non-Olson ID when the raw offset is wrong. This
allows the daylight saving changeover to happen in long running ICU processes.

X-SVN-Rev: 19327
2006-03-03 20:10:02 +00:00
George Rhoten
06743ea5a6 ICU-5086 Detect when an a potential non-unique abbreviation is used,
and try to use the raw offset when that happens. Some timezones are still
sometimes off by one hour, but this is much better than before (off by several
hours in many more timezones).

X-SVN-Rev: 19326
2006-03-03 17:46:26 +00:00
Ram Viswanadha
c73373cfd5 ICU-4912 xlC can't handle inline and virtual
X-SVN-Rev: 18762
2005-11-05 02:54:10 +00:00
Ram Viswanadha
caafcceb8f ICU-4912 synchronize with ICU4J
X-SVN-Rev: 18758
2005-11-04 21:57:24 +00:00
George Rhoten
5ee0eeeda8 ICU-4682 Fixes for gcc on AIX
X-SVN-Rev: 18323
2005-07-21 23:27:41 +00:00
Ram Viswanadha
213b08e722 ICU-4354 comment out the indirection and fix the main code
X-SVN-Rev: 18145
2005-07-05 22:10:04 +00:00
George Rhoten
3f0a1edf15 ICU-4425 Remove the getTerminatedBuffer Purify warning, and speed up timezone creation to offset any performance hits.
X-SVN-Rev: 17282
2005-03-03 23:46:10 +00:00
George Rhoten
d340213af7 ICU-4288 Fix some inlining warnings.
X-SVN-Rev: 17041
2004-12-30 07:45:48 +00:00
George Rhoten
ceb13e99c4 ICU-4078 Fix a Solaris compiler error from last change.
X-SVN-Rev: 16374
2004-09-30 21:34: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
7dd960a8b4 ICU-4078 Loosely couple the cleanup functions.
X-SVN-Rev: 16307
2004-09-12 23:07:29 +00:00
George Rhoten
c0b25432af ICU-4084 Improve DateFormat construction performance.
X-SVN-Rev: 16227
2004-08-31 20:37:20 +00:00
George Rhoten
52a4ce132b ICU-4084 Improve DateFormat construction performance.
X-SVN-Rev: 16226
2004-08-31 20:31:12 +00:00
George Rhoten
038f43c843 ICU-3905 Fix some compiler warnings.
X-SVN-Rev: 16196
2004-08-27 16:45:16 +00:00
George Rhoten
7c225a89aa ICU-4072 Explicitly use U_EXPORT2 to specify calling convention of static C++ code.
X-SVN-Rev: 16183
2004-08-24 17:38:33 +00:00
Andy Heninger
8ec93303c2 ICU-3783 Make getDynamicClassID() pure virutal on abstract classes.
X-SVN-Rev: 15705
2004-06-04 01:16:05 +00:00
Andy Heninger
e57f8ed178 ICU-3783 restore getStaticClassID() to several classes from which it had been removed in error.
X-SVN-Rev: 15619
2004-05-28 20:13:11 +00:00
George Rhoten
9925b69c5c ICU-3718 Do faster string copying, and hopefully avoid any uninitialized reads
X-SVN-Rev: 15517
2004-05-24 23:35:35 +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
George Rhoten
4f3e9c90d2 ICU-3683 Remove a couple of allocations
X-SVN-Rev: 14955
2004-04-14 17:47:13 +00:00
Steven R. Loomis
fd0010d370 ICU-2424 warnings cleanup
X-SVN-Rev: 13862
2003-11-24 22:50:45 +00:00
Markus Scherer
01d2c1b391 ICU-3403 cut out @obsolete ICU 2.8 APIs
X-SVN-Rev: 13784
2003-11-20 00:58:42 +00:00
George Rhoten
cbf5e35cc8 ICU-3259 A little code formatting and don't use a buffer in release mode.
X-SVN-Rev: 13774
2003-11-19 22:49:41 +00:00
George Rhoten
60aec12e63 ICU-3259 Fix a memory leak where ures_* reference counting got messed up.
X-SVN-Rev: 13773
2003-11-19 22:39:41 +00:00
Markus Scherer
1abc435a83 ICU-3403 cut out @obsolete ICU 2.8 APIs
X-SVN-Rev: 13771
2003-11-19 21:51:36 +00:00