Commit Graph

88 Commits

Author SHA1 Message Date
Frank Tang
863582c2a4 ICU-20465 Calendar/DateFormat listen to tz extension
See #1176
2020-08-04 13:33:03 -07:00
Steven R. Loomis
ddadc9427b ICU-13745 fix undefined behavior: GregorianCalendar::setGregorianChange()
- Julian days outside of INT32_MIN..INT32_MAX are normalized
- Add a test case
2019-09-04 23:20:31 +02:00
Markus Scherer
f02b496494 ICU-20783 C++ covariant return types: clone(), freeze() & friends 2019-08-22 16:24:41 -07:00
Jeff Genovy
14b35e4fbf
ICU-20147 Fix MSVC warning C4251, and fix a few other warnings too. (#134) 2018-09-27 14:27:41 -07:00
Andy Heninger
c28e714aac
ICU-20079 int overflow in Gregorian Calendar. (#66) 2018-09-27 14:27:38 -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
Markus Scherer
a9c247a3cb ICU-12166 annotate intended switch case fallthroughs
X-SVN-Rev: 38447
2016-03-01 07:44:57 +00:00
Peter Edberg
c56a20e796 ICU-11539 C: Delete Calendar fields TIME_SEPARATOR, RELATED_YEAR; adjust accordingly
X-SVN-Rev: 37091
2015-02-27 09:01:31 +00:00
Fredrik Roubert
17b8600e8e ICU-11018 Support CLDR time separator (ICU4C)
This change will treat the ':' character in patterns as a symbol
(instead of as a literal) and if the Locale defines timeSeparator then
use that character instead when formatting and accept both when parsing.

It will also define the '.' as an alternate time separator, that will be
accepted when parsing in lenient mode.

This is one character more strict than before, when in lenient mode also
the '-' was accepted as time separator instead of ':'.

R=rocketman@google.com

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

X-SVN-Rev: 36897
2014-12-19 07:19:41 +00:00
Markus Scherer
8f38199123 ICU-10365 fix namespace issue: icu::UInitOnce
X-SVN-Rev: 34252
2013-09-10 00:34:12 +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
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
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
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
2145eb11be ICU-6551 reduce use of common words in rename.
X-SVN-Rev: 24652
2008-09-25 20:24:14 +00:00
Andy Heninger
38b7c3e8a7 ICU-6481 fix threading issues in calendar initialization code
X-SVN-Rev: 24445
2008-08-05 22:19:05 +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
George Rhoten
9b82688642 ICU-6125 Eliminate a few kilobytes of unused bits in constant data structures.
X-SVN-Rev: 23182
2008-01-08 09:45:15 +00:00
Andrew J Macheret
f8339df718 ICU-4081 Ported Chinese calendar from icu4j. Mostly working.
X-SVN-Rev: 22853
2007-10-25 20:26:34 +00:00
Yoshito Umaoka
5619137130 ICU-3704 Fix DAY_OF_WEEK_IN_MONTH least maximum value in GregorianCalendar. Also merged field limit bug fixes from ICU4J to ICU4C.
X-SVN-Rev: 22379
2007-08-14 18:31:26 +00:00
Eric Mader
3dbd215bdb ICU-5555 handleGetMonthLength needs to check for out of range months.
X-SVN-Rev: 21092
2007-02-23 19:27:50 +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
George Rhoten
5dee33ea3e ICU-4707 Fix some compiler warnings about unused variables.
X-SVN-Rev: 19118
2006-02-09 08:59:20 +00:00
Andy Heninger
665e553354 ICU-4161 remove tabs from source code
X-SVN-Rev: 16829
2004-11-11 23:34:58 +00:00
George Rhoten
949c868bab ICU-3500 Fix some compiler warnings
X-SVN-Rev: 15746
2004-06-05 07:04:46 +00:00
Alan Liu
6006e12f05 ICU-3659 restore year limits
X-SVN-Rev: 15650
2004-06-01 17:13:49 +00:00
Alan Liu
76b0325a05 ICU-3659 update year limits
X-SVN-Rev: 15587
2004-05-27 20:39:56 +00:00
Alan Liu
a1b393c257 ICU-3659 limit UDate range to +/-7F000000 julian days; matches ICU4J
X-SVN-Rev: 15502
2004-05-24 20:32:59 +00:00
Alan Liu
efa0aef669 ICU-3659 compute as double to avoid overflow
X-SVN-Rev: 15494
2004-05-24 06:01:13 +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
Alan Liu
d8a9624dfe ICU-3631 improve performance by avoiding unnecessary field computation
X-SVN-Rev: 14635
2004-03-04 23:24:43 +00:00
Steven R. Loomis
838ba76877 ICU-3016 fix Calendar::getActualMinimum
X-SVN-Rev: 14617
2004-03-01 16:03:52 +00:00
Steven R. Loomis
b93c3619d9 ICU-2424 fix compiler warnings
X-SVN-Rev: 14266
2004-01-08 21:49:54 +00:00
Steven R. Loomis
7864fab41d ICU-2943 updates from the code review for calendar
X-SVN-Rev: 13758
2003-11-19 05:38:55 +00:00
Steven R. Loomis
9924fd34a7 ICU-2943 incorporate changes from the review meeting, clean up docs
X-SVN-Rev: 13681
2003-11-12 09:01:41 +00:00
Steven R. Loomis
af6e74535c ICU-2943 adjust fields to account for 1582 rollover artifacts
X-SVN-Rev: 13552
2003-11-03 23:17:59 +00:00
Steven R. Loomis
1a48a8181b ICU-2943 true => TRUE
X-SVN-Rev: 13515
2003-10-28 16:08:52 +00:00
Steven R. Loomis
55fdbdd6c5 ICU-2943 more fixes for MSVC
X-SVN-Rev: 13504
2003-10-28 02:30:49 +00:00
Steven R. Loomis
ebbf031deb ICU-2943 fix compiler warnings - even more
X-SVN-Rev: 13502
2003-10-28 01:52:29 +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
George Rhoten
85509909ea ICU-3221 Fix the AIX linker warning about multiple definitions of virtual functions.
X-SVN-Rev: 13126
2003-09-18 00:35:47 +00:00
Alan Liu
d132cc43b3 ICU-2966 add EOL
X-SVN-Rev: 13009
2003-09-02 18:32:06 +00:00
Alan Liu
ac7056981f ICU-2966 clean up
X-SVN-Rev: 13008
2003-09-02 18:31:23 +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
b3ee4d570c ICU-2966 historical Olson time zone support; use getOffset(UDate) rather than getOffset(<fields>)
X-SVN-Rev: 12837
2003-08-15 18:22:24 +00:00
Alan Liu
c885ccf673 ICU-2966 favor int& over int[1] in C++ (clean up Java port)
X-SVN-Rev: 12755
2003-08-04 21:29:32 +00:00