Commit Graph

21 Commits

Author SHA1 Message Date
Yoshito Umaoka
f54d25d286 ICU-12810 Prevent assertion triggered by time zone id including characters other than ASCII invariants initialize/formatting a time zone.
X-SVN-Rev: 39799
2017-03-14 19:39:30 +00:00
Andy Heninger
242e02c388 ICU-12764 icu4c utf-8 source files, update Copyright notices.
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Andy Heninger
978f71fe78 ICU-10051 Mutexes: introduce UInitOnce; remove UMTX_CHECK; replace all uses of UMTX_CHECK.
X-SVN-Rev: 33787
2013-05-31 23:50:15 +00:00
Yoshito Umaoka
87158d4fba ICU-9867 New time zone pattern letters/types support for CLDR 23/ICU 51.
X-SVN-Rev: 33159
2013-02-11 00:23:55 +00:00
Yoshito Umaoka
531924c9b4 ICU-9733 Use primary zone data (formerly singleCountries) for generic location names in ICU4C. This includes metaZones.txt generated from cldrbug:5439 changes (CLDR svn revision 8008).
X-SVN-Rev: 33012
2013-01-04 22:26:42 +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
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
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
Yoshito Umaoka
0ec6c28016 ICU-6444 Retire gCanonicalMap in ZoneMeta. Matching the implementation for getCanonicalSystemID / getCanonicalCountry with J trunk implementation. It shows 5-10% performance degrade in typical test cases. I'll revisit this if we need caches for them. Also, I'll update territory mapping to read the data from zoneinfo later.
X-SVN-Rev: 27556
2010-02-12 22:06:49 +00:00
Yoshito Umaoka
784704f4c7 ICU-6444 Removed pre-loaded mapping table between Olson ids and metazones. Metazone to Olson mapping to refer the resource bundle directly. Olson to Metazone to load only requested data from the resource bundle and cache it for next time.
X-SVN-Rev: 27551
2010-02-12 04:04:48 +00:00
Peter Edberg
20ddfafeb2 ICU-6645 Prebuild more canonical tzid table data into data file
X-SVN-Rev: 25543
2009-03-10 21:52:57 +00:00
Peter Edberg
a7e808a7e0 ICU-6747 for hashtables, change Hashtable with UnicodeString keys to UHashtable with UChar string keys, -85K
X-SVN-Rev: 25459
2009-02-21 06:40:31 +00:00
Peter Edberg
bd48f81ef1 ICU-6642 Lazier initialization of ZoneMeta tables
X-SVN-Rev: 25012
2008-11-26 22:24:51 +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
George Rhoten
7490278152 ICU-6118 Export less internal API.
X-SVN-Rev: 23155
2008-01-02 23:53:26 +00:00
Yoshito Umaoka
40a1b853e2 ICU-5990 Use of a reference to a resource bundle string for tzid in meta-to-olson mapping table. Set NULL to the static global ZoneStringFormat cache. Added a code to prevent Purify to generate UMR warnings.
X-SVN-Rev: 23031
2007-12-06 03:28:08 +00:00
George Rhoten
9f5c0d840a ICU-5990 Don't use charset conversion for invariant strings. Allocate less memory. Alias resource bundle string more frequently.
X-SVN-Rev: 23029
2007-12-06 00:46:41 +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