Felipe Balbontín
45eaf65700
ICU-13380 Fix memory leak in DateFormatSymbols when loading AmPmMarkers and AmPmMarkersAbbr from the resource bundle.
...
X-SVN-Rev: 40525
2017-10-03 01:25:20 +00:00
Markus Scherer
5a13a8ca58
ICU-12992 return raw pointers not pointer wrappers
...
X-SVN-Rev: 39729
2017-03-03 22:42:52 +00:00
Markus Scherer
031be51911
ICU-12992 move Char16Ptr to new char16ptr.h; change non-UnicodeString C++ functions from raw pointers to Char16Ptr where possible
...
X-SVN-Rev: 39716
2017-03-01 05:52:24 +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
Steven R. Loomis
6825277072
ICU-12752 commit some IBM z fixes. Library code building
...
X-SVN-Rev: 39368
2016-09-27 23:39:01 +00:00
Shane Carr
d88a4109a5
ICU-11912 Adding more efficient implementation of getDisplayNames(), which was already present in Java
...
X-SVN-Rev: 39041
2016-08-11 23:29:51 +00:00
Felipe Balbontín
ef59675c47
ICU-12614 DateFormatSymbols resource bundle data loading update. Remove unused variables.
...
X-SVN-Rev: 39019
2016-07-25 22:53:35 +00:00
Felipe Balbontín
7708a760c0
ICU-12614 DateFormatSymbols resource bundle data loading update. Fix memory leak in MessageFormat.
...
X-SVN-Rev: 38973
2016-07-15 23:17:01 +00:00
Felipe Balbontín
578ec591e0
ICU-12614 DateFormatSymbols resource bundle data loading update. Fix memory leak.
...
X-SVN-Rev: 38971
2016-07-14 21:21:01 +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
f6b7511c46
ICU-12614 DateFormatSymbols resource bundle data loading updated to use the ResourceSink: fixed broken build.
...
X-SVN-Rev: 38962
2016-07-08 22:19:26 +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
Shane Carr
ad409a250e
ICU-11912 TimeZoneNames data sink implementation in C++.
...
X-SVN-Rev: 38960
2016-07-08 18:16:21 +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
kazède king
f713c0687c
ICU-11872 new time formatting pattern chars b/B
...
Merging from the branch.
X-SVN-Rev: 38370
2016-02-25 19:51:53 +00:00
Jungshik Shin
f7de66ef4e
ICU-12129 fix C4138 warning from MSVC
...
X-SVN-Rev: 38362
2016-02-25 01:49:48 +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
49d4ab5ee6
ICU-11773 Withdraw COLON as pattern char, leave support for UDAT_TIME_SEPARATOR_FIELD (C)
...
X-SVN-Rev: 37898
2015-09-07 22:39:49 +00:00
Peter Edberg
3076cb2149
ICU-11510 C: Support narrow AM/PM "aaaaa" for date format and parse
...
X-SVN-Rev: 37124
2015-03-04 05:43:28 +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
Travis Keep
a6bc072149
ICU-11401 Reduce cache keyspace by caching only the components of DateFormat by locale rather than actual DateFormat objects.
...
X-SVN-Rev: 36811
2014-12-05 18:15:35 +00:00
Travis Keep
4860c7e5b7
ICU-11139 Add JAVA DateFormat factory methods to C++
...
X-SVN-Rev: 36745
2014-11-18 00:43:49 +00:00
Peter Edberg
e46b2b3c83
ICU-9385 DateFormatSymbols/udat getters/setters for yearNames, zodiacNames (C)
...
X-SVN-Rev: 36386
2014-09-08 04:52:23 +00:00
Peter Edberg
92a7528223
ICU-11173 CLDR tags/release-26-d03 into ICU4C trunk, remove logKnownIssue 11219, fix test for cldrbug:7868
...
X-SVN-Rev: 36377
2014-09-06 06:15:08 +00:00
Andy Heninger
dbcf79f57b
ICU-10799 ICU initialization code, review & cleanup.
...
X-SVN-Rev: 35649
2014-04-23 23:22:13 +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
87158d4fba
ICU-9867 New time zone pattern letters/types support for CLDR 23/ICU 51.
...
X-SVN-Rev: 33159
2013-02-11 00:23:55 +00:00
Peter Edberg
54098be451
ICU-9497 Add support for short weekday names: format, parse, get/set symbols (C)
...
X-SVN-Rev: 33047
2013-01-14 04:48:51 +00:00
Markus Scherer
af439c67de
ICU-9789 lenient date/time parsing: accept missing or added trailing dot after non-numeric fields; refactor isNumeric() logic
...
X-SVN-Rev: 32962
2012-12-14 06:35:11 +00:00
Andy Heninger
803ac8f33c
ICU-9461 Mutex Implementation Rework, merge from devel branch.
...
X-SVN-Rev: 32530
2012-10-05 21:22:02 +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
Yoshito Umaoka
1641940f00
ICU-8513 Merging TimeZoneNames/TimeZoneFormat APIs (as 49 technology preview) into trunk.
...
X-SVN-Rev: 31469
2012-02-21 11:06:50 +00:00
Peter Edberg
60152763f3
ICU-9110 Add date format functions to set/get context, use when formatting
...
X-SVN-Rev: 31458
2012-02-21 01:29:50 +00:00
Peter Edberg
0ab713c4fb
ICU-8959 Add UDAT_YEAR_NAME_FIELD for pattern char 'U', implement format/parse for it (C)
...
X-SVN-Rev: 31215
2012-01-17 08:06:29 +00:00
Peter Edberg
122a779de8
ICU-8958 Review fixes - better handling of error conditions
...
X-SVN-Rev: 31099
2011-12-12 20:03:05 +00:00
Michael Ow
9cc995e9cd
ICU-8718 Fix missing fLeapMonthPatterns when using copy constructor
...
X-SVN-Rev: 31098
2011-12-12 19:29:27 +00:00
Michael Ow
579059e902
ICU-8718 Fix memory leak caused by not deleting fLeapMonthPatterns
...
X-SVN-Rev: 31096
2011-12-12 17:18:19 +00:00
Peter Edberg
6dbcc24060
ICU-8958 integrate changes from cldrbug 4130:; add monthPatterns support to
...
DateFormatSymbols, use it to format leap months; ignore pattern char 'l'; add tests.
X-SVN-Rev: 31039
2011-12-06 08:00:44 +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
Doug Felt
d62a45c0bc
ICU-7232 merge branch/dougfelt/datasplit at revision 26862 into trunk
...
X-SVN-Rev: 26884
2009-11-12 21:53:42 +00:00
Michael Ow
b4853d0331
ICU-7222 Remove Windows x64 warnings by casting explicitly.
...
X-SVN-Rev: 26870
2009-11-11 15:47:22 +00:00
Peter Edberg
1e9adc5dc1
ICU-6072 Add DateFormatSymbols support for NarrowEras, use it to format & parse with GGGGG
...
X-SVN-Rev: 24709
2008-10-03 07:47:57 +00:00
Yoshito Umaoka
4e15257201
ICU-6256 Fix some GMT format problems revealed by the new locale data.
...
X-SVN-Rev: 23916
2008-05-16 19:50:26 +00:00
George Rhoten
60a75139f7
ICU-6205 Allow UCONFIG_NO_CONVERSION to work in the library code.
...
X-SVN-Rev: 23544
2008-03-10 20:09:55 +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
d357fc8b07
ICU-6132 Add memory allocation error checking in createZoneStrings().
...
X-SVN-Rev: 23205
2008-01-11 19:07:49 +00:00
George Rhoten
0dda41de85
ICU-5966 Fix some compiler warnings.
...
X-SVN-Rev: 23017
2007-12-05 05:37:54 +00:00