Commit Graph

176 Commits

Author SHA1 Message Date
Steven R. Loomis
4345b76644 ICU-10881 merge from branch - conservative fixes to some warnings
X-SVN-Rev: 36449
2014-09-11 05:25:13 +00:00
Andy Heninger
76aaa9229f ICU-11007 Improved checking for NULL time zones in calendar code.
X-SVN-Rev: 36025
2014-07-14 23:39:06 +00:00
Peter Edberg
5241507312 ICU-10637 Format/parse using 'r', C part 2 (add tests, clean up islamic delta calculation)
X-SVN-Rev: 35355
2014-03-06 09:47:25 +00:00
Peter Edberg
30e8bc452d ICU-10637 Format/parse using 'r' related gregorian year, C changes part 1 (still need correct num fmt & tests)
X-SVN-Rev: 35341
2014-03-05 11:51:05 +00:00
Yoshito Umaoka
f7f73fe88d ICU-10544 Fixed some implementation problems in Calendar::add. When adding day or larger field results wall time falls into non-existing time slot created by DST transition, the implementation honors the current skipped wall time option.
X-SVN-Rev: 35231
2014-02-25 23:50:35 +00:00
Scott Russell
c42e57a06c ICU-10249 Implement new islamic calendar variants tbla, rgsa
X-SVN-Rev: 34354
2013-09-17 16:55:02 +00:00
Steven R. Loomis
86c481026c ICU-10373 fix -DU_USING_ICU_NAMESPACE=0 issues
X-SVN-Rev: 34251
2013-09-10 00:13:41 +00:00
Scott Russell
e715efb8e8 ICU-8449 Add Um al-Qura Hijri Calendar Support
X-SVN-Rev: 34053
2013-08-16 17:09:51 +00:00
Peter Edberg
09ac4ef907 ICU-10222 (C) Integrate CLDR data snapshot for ICU 52.0.1; add calendar types
X-SVN-Rev: 33890
2013-07-08 06:51:38 +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
Peter Edberg
8f37e438a6 ICU-10061 Make getDayOfWeekType behave as documented for last weekend day; fix for 1-day weekends
X-SVN-Rev: 33468
2013-03-27 22:44:22 +00:00
Peter Edberg
47c5a5aa61 ICU-9616 Add DangiCalendar & tests, port from J to C
X-SVN-Rev: 33267
2013-02-18 23:36:57 +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
Yoshito Umaoka
bc8ee5cca6 ICU-9452 Fixed calendar add issue with the Samoa Dec 2011 24 hour transition.
X-SVN-Rev: 32141
2012-08-09 21:29:53 +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
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
Michael Ow
22dda18669 ICU-9242 Fix format parsing in ICU4C calendar code
X-SVN-Rev: 31805
2012-05-09 21:00:40 +00:00
Michael Ow
0ca13b73b0 ICU-9292 Merge BEAM warning fixes from branch into trunk
X-SVN-Rev: 31792
2012-05-03 05:50:26 +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
Steven R. Loomis
849b2da11d ICU-9191 copy locale in cloned calendars
X-SVN-Rev: 31603
2012-03-08 19:29:24 +00:00
Steven R. Loomis
be22ad9f19 ICU-9019 uset_add with non-lenient calendars
X-SVN-Rev: 31457
2012-02-21 01:21:01 +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
Andy Heninger
5b3a708915 ICU-8992 Compiler Warning cleanup for gcc 4.6.1
X-SVN-Rev: 31329
2012-02-06 19:57:08 +00:00
Yoshito Umaoka
e9503bdade ICU-8909 Fixed various warnings reported by a source code analysis tool.
X-SVN-Rev: 30958
2011-11-14 19:32:51 +00:00
Peter Edberg
ab3d24b4f5 ICU-8753 Fix comment about prevOffset / newOffset
X-SVN-Rev: 30773
2011-09-30 21:34:41 +00:00
Peter Edberg
630f1f0c99 ICU-8753 Replace confusing use of dst variable with prevOffset / newOffset
X-SVN-Rev: 30770
2011-09-30 21:14:46 +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
Markus Scherer
2862296471 ICU-8454 virtual destructors should be explicit, and defined in a .cpp file, so that they can serve as key functions
X-SVN-Rev: 30423
2011-07-26 05:32:25 +00:00
Markus Scherer
1beb0f1e4f ICU-8680 require C++ namespace, replace most U_NAMESPACE_QUALIFIER with icu::, remove still-draft U_STD_NS, U_STD_NSQ, and U_STD_NS_USE
X-SVN-Rev: 30281
2011-07-06 04:03:35 +00:00
Yoshito Umaoka
515788594c ICU-8596 Fixed the actual maximum week problem.
X-SVN-Rev: 30276
2011-07-05 22:42:14 +00:00
Markus Scherer
9f7d74001c ICU-8605 document & test ICU4C dependencies, remove cycles, reduce some deps; merged from branches/markus/depstest -r 30155:30193
X-SVN-Rev: 30194
2011-06-03 05:23:57 +00:00
Andy Heninger
ae8896de7f ICU-8524 compiler warning cleanup.
X-SVN-Rev: 30026
2011-05-04 22:34:13 +00:00
Yoshito Umaoka
1d6d6c6354 ICU-8366 Fixed a compilation problem on some platforms - deleting extra comma at the end of enum list.
X-SVN-Rev: 29875
2011-04-24 04:04:33 +00:00
Yoshito Umaoka
56ef4e7f1a ICU-8366 Added ISO8601 calendar type support.
X-SVN-Rev: 29868
2011-04-23 16:35:30 +00:00
Peter Edberg
24ad6686f7 ICU-8409 Calendar::fieldDifference perf improvment, better limit for binary search
X-SVN-Rev: 29735
2011-04-05 05:26:13 +00:00
Yoshito Umaoka
0d4c82b85a ICU-8057 Skip validating fields internally set by add method in non-lenient mode. The same changes were done in ICU4J.
X-SVN-Rev: 29338
2011-01-19 23:31:36 +00:00
John Emmons
f979283776 ICU-7755 Data changes to support removal of hard fallbacks to Gregorian calendar
X-SVN-Rev: 29323
2011-01-17 15:27:25 +00:00
Michael Ow
3261e6d703 ICU-7089 Add test for Calendar class time stamp recalculation in ICU4C
X-SVN-Rev: 29164
2010-12-07 23:46:13 +00:00
Michael Ow
734b84401f ICU-7089 Recalculate time stamp array if stamp value is going to exceed limit in ICU4C calendar class.
X-SVN-Rev: 29162
2010-12-07 17:27:42 +00:00
Michael Ow
f67997b725 ICU-7089 Ensure that the time stamp used by ICU4C Calendar class does not exceed the documented limit.
X-SVN-Rev: 29154
2010-12-03 19:31:10 +00:00
Michael Ow
742f501232 ICU-7983 Resolve valgrind error when calling Calendar::createInstance().
X-SVN-Rev: 28739
2010-09-30 05:44:33 +00:00
John Emmons
cd3f6237f9 ICU-7652 Get correct week data from territory based locale
X-SVN-Rev: 28658
2010-09-20 21:22:31 +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
Jason Spieth
828ca4ece7 ICU-6691 Use most recently set year field in handleGetExtendedYear
X-SVN-Rev: 27738
2010-03-02 16:23:13 +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
Peter Edberg
8e57ee7bac ICU-2223 Port weekend APIs from ICU4J to C,C++ (dummy implementation for now)
X-SVN-Rev: 27292
2010-01-15 23:38:12 +00:00
Michael Ow
1cc5cd1a8b ICU-6991 Improve coverage for calendar, bms, and msgfmt.
X-SVN-Rev: 26638
2009-09-16 20:55:05 +00:00
Steven R. Loomis
9eb9dd4c83 ICU-6799 fix many warnings, improve tests
X-SVN-Rev: 25772
2009-04-15 01:57:02 +00:00
Yoshito Umaoka
ded04eb47c ICU-6482 Use calendarPreferenceData in supplementalData to decide the default calendar type instead of getFunctionalEquivalent. Also aligned the implementation more like ICU4J's.
X-SVN-Rev: 25671
2009-03-29 05:13:44 +00:00