Commit graph

38 commits

Author SHA1 Message Date
Frank Tang
4fc1b7e7f6 ICU-22991 Simplified Grego code
Use timeToFields instead of dayToFields

ICU-22991 Revert back gregoimp interface change
2025-01-24 17:13:51 -08:00
Frank Tang
9eafd8ca3e ICU-22991 Reduce Calendar object size
See #3327
2025-01-08 12:26:35 -08:00
Fredrik Roubert
0178a07a26 ICU-22793 Clang-Tidy: google-readability-casting
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/google/readability-casting.html
2024-07-04 22:32:12 +02:00
Frank Tang
6ac6fdda74 ICU-22730 propagate error avoid overflow 2024-05-16 00:27:14 -07:00
Frank Tang
b24b251bca ICU-22633 Fix more int overflow issues in calendar 2024-02-13 17:24:18 -08:00
Frank Yung-Fong Tang
0b66fada30 ICU-22633 Fix integer overflow inside Calendar code
See #2806
2024-02-07 10:58:41 -08:00
Frank Tang
9515e82741 ICU-22633 Fix Integer-overflow in icu_75::Calendar::add
See #2805
2024-02-01 13:49:41 -08:00
Mohamed Akram
3d1dee6837 ICU-22528 Improve date formatting performance 2023-10-13 18:43:04 -07:00
Frank Tang
bb0e745e25 ICU-22058 make pointer argument in floorDivide optional
Check the third argument and not set if it is a nullptr
2023-01-18 20:24:48 -08:00
Frank Yung-Fong Tang
3d89af0f72 ICU-22023 Fix Calendar::get() return out of bound value and SimpleDateTime::format assert while TimeZone is "UTC" and value is -1e-9
See #2086
2022-05-19 13:45:59 -07:00
Markus Scherer
fda4a82bba ICU-21960 fix clang 13 C++20 warnings 2022-05-07 15:21:08 +00:00
Peter Edberg
71dd84d4ff ICU-12504 in ICU4C Persian cal, use int64_t math for one operation to avoid overflow; add tests in C and J
X-SVN-Rev: 40654
2017-10-29 03:38:05 +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
Felipe Balbontín
390d736f89 ICU-12591 Removed the CalendarData class and refactored all the remaining functions that used it (ICU4C).
X-SVN-Rev: 39190
2016-09-12 21:01:16 +00:00
Felipe Balbontín
959d1ed1e0 ICU-12614 DateFormatSymbols resource bundle data loading updated to use the ResourceSink.
X-SVN-Rev: 38967
2016-07-13 18:38:15 +00:00
Felipe Balbontín
bfe100bab8 ICU-12614 Rollback of: DateFormatSymbols resource bundle data loading updated to use the ResourceSink.
X-SVN-Rev: 38963
2016-07-08 23:31:15 +00:00
Felipe Balbontín
3928bf64d7 ICU-12614 DateFormatSymbols resource bundle data loading updated to use the ResourceSink.
X-SVN-Rev: 38961
2016-07-08 21:17:15 +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
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
Eric Mader
bb4a371fdb ICU-5805 Update copyright notices for ICU 3.8
X-SVN-Rev: 22167
2007-07-27 03:12:12 +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
fa97b33258 ICU-5304 Add missing namespace declarations.
X-SVN-Rev: 20243
2006-09-04 16:36:46 +00:00
John Emmons
750a17d72e ICU-4327 Add long era names, narrow month/day, standalone month/day
X-SVN-Rev: 18116
2005-07-01 17:22:22 +00:00
George Rhoten
b2d0b4f465 ICU-4296 Don't export utility classes, and don't add ICU RTTI to utility classes.
X-SVN-Rev: 17062
2004-12-31 17:43:36 +00:00
George Rhoten
4b8ef3e6e6 ICU-4288 Mostly fixes for --enable-strict for gcc 3.4 (Fedora Core 3)
X-SVN-Rev: 17040
2004-12-30 07:25:51 +00:00
George Rhoten
db7d00f2cb ICU-4084 Improve DateFormat construction performance.
X-SVN-Rev: 16223
2004-08-31 18:04:12 +00:00
George Rhoten
8fca524162 ICU-3500 Fix some compiler warnings
X-SVN-Rev: 15635
2004-05-30 08:33:30 +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
Eric Mader
abefef5844 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15411
2004-05-19 20:42:44 +00:00
Steven R. Loomis
de66112963 ICU-2487 NULL -> '\0'
X-SVN-Rev: 15404
2004-05-19 15:44:12 +00:00
Steven R. Loomis
66753f4215 ICU-2487 refactor calendar data, support CLDR 1.1 format
X-SVN-Rev: 15363
2004-05-18 02:06:28 +00:00
Steven R. Loomis
2023a9c935 ICU-3445 UCONFIG fix
X-SVN-Rev: 14044
2003-12-09 01:03:38 +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
Alan Liu
8c2fb6ca1d ICU-2966 remove unused code
X-SVN-Rev: 13013
2003-09-02 20:23:16 +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