Commit Graph

32 Commits

Author SHA1 Message Date
Peter Edberg
641326d7b8 ICU-20078 Add JP_ERA_2019 constants, export enableTentativeEra(), add intervalFmt tests with eras 2019-02-20 10:42:49 -08:00
Jeff Genovy
3d86d24a68 ICU-20240 Fix Windows build failure in japancal.cpp 2018-10-26 14:12:24 -07:00
Jeff Genovy
4a8b474e77
ICU-12973 Enable UWP version of ICU to use Environment variable ICU_ENABLE_TENTATIVE_ERA for testing placeholder names (#124)
- Enable UWP version of ICU to use Environment variable ICU_ENABLE_TENTATIVE_ERA for testing placeholder era names.
- Use LocalArray<int32_t> for the Era Start Dates to simply memory management, so that goto can be removed.
- Also fix some minor typos in header file.
2018-09-27 14:27:40 -07:00
Yoshito Umaoka
45cdda61a6
ICU-12973 CLDR Japanese Era data and tentative Japanese new era support (#111)
* Updated era data format in supplementalData.

* Include tentative era names in data. Implemented Japanese era loaded from CLDR data in ICU4J.

* ICU4C implementation, ICU4C refactoring. WIP.

* VS project updates and some bug fixes

Also added API comments.

* Review feedback and bug fixes

- NULL to nullptr
- use of LocalUResourceBundlePointer
- TYPO "name" to "named"
- env var checking stricmp() == 0

* API comment correction based on feedback

* Duplicate the comment in ucal.h to calendar.h

* Fixed spelling errors in API comment
2018-09-27 14:27:39 -07: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
Fredrik Roubert
7f4b8d106b ICU-12012 Replace all sizeof p / sizeof *p with UPRV_LENGTHOF().
R=markus.icu@gmail.com

Review URL: https://codereview.appspot.com/285520043 .

X-SVN-Rev: 38337
2016-02-23 10:40:09 +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
Steven R. Loomis
9eb9dd4c83 ICU-6799 fix many warnings, improve tests
X-SVN-Rev: 25772
2009-04-15 01:57:02 +00:00
Michael Ow
13b807cf6f ICU-6412 Remove some unused variables.
X-SVN-Rev: 24692
2008-10-01 15:39:27 +00:00
Yoshito Umaoka
b3744287df ICU-4611 Fix Japanese calendar calculation problem. Changed internal APIs to get default month/date of a calendar without updating calendar fields.
X-SVN-Rev: 24574
2008-09-15 21:24:11 +00:00
Andy Heninger
cd83d25daf ICU-6472 Clean some compiler warnings and other fluff
X-SVN-Rev: 24430
2008-08-01 01:51:21 +00:00
Kedar Rajwade
cbd785db50 ICU-5966 Fixed some compiler warnings
X-SVN-Rev: 23806
2008-04-17 20:52:04 +00:00
Yoshito Umaoka
32c3313145 ICU-5845 Calendar 'actual' limit test ported from J to C. Also ported bug fixes related to calendar limits implementation.
X-SVN-Rev: 23775
2008-04-09 18:26:42 +00:00
Yoshito Umaoka
f7f687e073 ICU-4567 Updated TaiwanCalendar to use a Gregorian year in EXTENDED_YEAR. As a result, some override methods are no longer required. Also, use 1970 as the default value of EXTENDED_YEAR in all GregorianCalendar subclasses
X-SVN-Rev: 22411
2007-08-16 22:10:16 +00:00
George Rhoten
fad658d66d ICU-5279 Reduce the set of exported functions.
X-SVN-Rev: 21621
2007-06-03 06:08:46 +00:00
George Rhoten
b5781126c8 ICU-5349 Use UMTX_CHECK when it's helpful.
X-SVN-Rev: 20269
2006-09-08 04:02:23 +00:00
Steven R. Loomis
55d560f3a0 ICU-3860 mostly just debugging, for calendars
X-SVN-Rev: 18085
2005-06-29 16:33:06 +00:00
Steven R. Loomis
a4bb8cd4b8 ICU-3860 Japanese Calendar: use current era as default
X-SVN-Rev: 18073
2005-06-28 20:10:27 +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
Alan Liu
dacd3a9b0a ICU-3659 make max year 1-based
X-SVN-Rev: 15591
2004-05-27 21:50:53 +00:00
Alan Liu
8be9a28c55 ICU-3659 Koryaku era was in wrong place and handleGetLimit was broken
X-SVN-Rev: 15586
2004-05-27 20:39:23 +00:00
Steven R. Loomis
3031d44d3c ICU-2424 limit fixes
X-SVN-Rev: 14012
2003-12-04 23:18:15 +00:00
Steven R. Loomis
4de3eb7b16 ICU-2943 fix compiler warnings
X-SVN-Rev: 13500
2003-10-28 00:04:00 +00:00
Steven R. Loomis
92fb1fead2 ICU-2943 calendar update (sync with Java, prepare for other calendars)
X-SVN-Rev: 13494
2003-10-26 10:24:58 +00:00
Steven R. Loomis
51ea41bfc5 ICU-3009 calendar code bug fixes - make factory-fresh calendars have the current time, and make calendar subclasses initialize properly
X-SVN-Rev: 12407
2003-06-10 03:58:41 +00:00
Steven R. Loomis
3c7d196f57 ICU-2436 More intl cal fixes. Now passes date format rt test
X-SVN-Rev: 12180
2003-05-29 23:01:03 +00:00
Steven R. Loomis
c089bc7a68 ICU-2436 fix nonatomic double assignment in init
X-SVN-Rev: 12164
2003-05-29 19:16:35 +00:00
Steven R. Loomis
f2e4031b0c ICU-2436 Japanese Calendar implementation, other fixes (multi calendar)
X-SVN-Rev: 12105
2003-05-25 07:12:19 +00:00
Steven R. Loomis
11a7e83694 ICU-2436 Stub Japanese Calendar
X-SVN-Rev: 11977
2003-05-16 22:27:27 +00:00