Commit Graph

49 Commits

Author SHA1 Message Date
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
4956f3779b ICU-10154 Optimized time zone historical offset iteration.
X-SVN-Rev: 33633
2013-05-10 16:42:39 +00:00
Yoshito Umaoka
b676128bfe ICU-9648 Changed BasicTimeZone public API methods to const.
X-SVN-Rev: 33109
2013-02-01 07:39:04 +00:00
Jungshik Shin
4934b397a8 ICU-8343 fix build errors in Visual Studio when exception is disabled
X-SVN-Rev: 32010
2012-06-28 23:28:00 +00:00
Yoshito Umaoka
91a3c1e322 ICU-9352 Fixed a bug in useDaylightTime(). The test case reproducing the problem will be enabled with #9349 soon.
X-SVN-Rev: 31908
2012-06-05 20:38:37 +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
Andy Heninger
74e297291f ICU-7780 fix various compiler warnings
X-SVN-Rev: 28301
2010-07-12 18:03:29 +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
Yoshito Umaoka
d79344d97d ICU-5624 64bit time zone transition support changes merged from Yoshito's work branch. Also updated time zone code to use region mapping data only from zoneinfo64 (so zoneFormatting data in supplementalData is no longer used).
X-SVN-Rev: 27644
2010-02-24 07:54:30 +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
Steven R. Loomis
2145eb11be ICU-6551 reduce use of common words in rename.
X-SVN-Rev: 24652
2008-09-25 20:24:14 +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
a739349c53 ICU-6132 Check to make sure historicRules[typeIdx] is not null.
X-SVN-Rev: 23257
2008-01-17 17:48:47 +00:00
Michael Ow
c4aa0659fb ICU-6132 When checking firstTZTransition, it was accidentally assigned NULL instead of testing for NULL.
X-SVN-Rev: 23221
2008-01-14 18:19:44 +00:00
Michael Ow
e1398c194a ICU-6132 Add memory allocation check in Olson Timezone code.
X-SVN-Rev: 23220
2008-01-14 16:45:52 +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
bee56b37b7 ICU-5808 Declare a UTF-16 string when available instead of converting a string.
X-SVN-Rev: 22564
2007-08-29 08:09:55 +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
George Rhoten
02ed088beb ICU-5822 Fix undocumented TimeZoneTransition constructors
X-SVN-Rev: 22263
2007-08-03 22:43:10 +00:00
Yoshito Umaoka
b340ff12f6 ICU-5454 Merging ICU4C RuleBasedTimeZone/TimeZoneRule/VTimeZone implementation into trunk
X-SVN-Rev: 21845
2007-06-29 03:10:43 +00:00
George Rhoten
c8918350a4 ICU-5410 Improve code coverage by removing unused/unuseable code.
X-SVN-Rev: 21719
2007-06-12 21:44:55 +00:00
Steven R. Loomis
537711b4ed ICU-5015 fix offset calculation for historical zones.
X-SVN-Rev: 19133
2006-02-10 03:08:14 +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
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
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
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
608ca77ba5 ICU-3677 uprv_getUTCtime should return UDate instead of int32_t.
This is for cases where time_t is 64-bit.

X-SVN-Rev: 16150
2004-08-13 01:20:26 +00:00
George Rhoten
2cc38d98db ICU-3659 Unambiguate Math::floorDivide call
X-SVN-Rev: 15513
2004-05-24 22:13:28 +00:00
George Rhoten
77ae20ad84 ICU-3659 Unambiuate Math::floorDivide call.
X-SVN-Rev: 15489
2004-05-22 01:41:31 +00:00
Alan Liu
390b02ec5b ICU-3659 add test and fix for udat_format failing with extreme dates (circa 10^27)
X-SVN-Rev: 15463
2004-05-21 20:25:52 +00:00
Steven R. Loomis
b8864a81e0 ICU-3445 UCONFIG fix. Don't test UCONFIG_* before including ICU headers!
X-SVN-Rev: 14078
2003-12-10 19:42:32 +00:00
Steven R. Loomis
fd0010d370 ICU-2424 warnings cleanup
X-SVN-Rev: 13862
2003-11-24 22:50:45 +00:00
George Rhoten
65447083f8 ICU-3379 The string needs to be NULL-terminated, and there is no need to copy the data.
X-SVN-Rev: 13768
2003-11-19 20:07:43 +00:00
Steven R. Loomis
d140c1fe70 ICU-3379 timezone format change, Unicode strings
X-SVN-Rev: 13708
2003-11-13 02:31:11 +00:00
Alan Liu
61b5fddec2 ICU-2966 clean up and consolidate duplicated code
X-SVN-Rev: 13007
2003-09-02 17:46:43 +00:00
Alan Liu
6afecf4ef8 ICU-2966 improve performance by storing finalMillis
X-SVN-Rev: 13002
2003-09-01 22:02:52 +00:00
George Rhoten
492d57ac79 ICU-3221 Fix AIX linker warnings
X-SVN-Rev: 12997
2003-08-31 20:53:46 +00:00
George Rhoten
8780a4d950 ICU-2966 Fix for HP-UX
X-SVN-Rev: 12936
2003-08-25 23:01:06 +00:00
Eric Mader
cd057e3c4f ICU-2966 add CR at end of final comment so it compiles w/ Visual Studio .NET.
X-SVN-Rev: 12873
2003-08-19 19:06:47 +00:00
Alan Liu
fe3583ad46 ICU-2966 fix problem with alias ids getting remapped
X-SVN-Rev: 12868
2003-08-19 01:03:22 +00:00
Alan Liu
9478f07479 ICU-2966 support equivalency classes
X-SVN-Rev: 12864
2003-08-19 00:24:49 +00:00
Alan Liu
4ce8f701f9 ICU-2966 cleanup and docs
X-SVN-Rev: 12850
2003-08-16 00:10:56 +00:00
George Rhoten
cc19ae1c9d ICU-2966 Fix for Visual Studio .NET
X-SVN-Rev: 12849
2003-08-16 00:05:46 +00:00
Alan Liu
d8d88d2da4 ICU-2966 historical Olson time zone support; initial checkin
X-SVN-Rev: 12836
2003-08-15 18:21:31 +00:00