Commit Graph

67 Commits

Author SHA1 Message Date
Peter Edberg
d39899350d ICU-21099 udat_toCalendarDateField should handle all UDateFormatFields and out of range 2020-04-28 09:58:50 -07:00
Andy Heninger
5f837abd40 ICU-13533 Fix address sanitizer failures found with no-data ICU testing. 2019-08-19 13:29:32 -07:00
Daniel Ju
b13c951348
ICU-20043 ICU-13214 ICU-13764 MSVC W3 and W4 warning cleanup (#53)
Cleaned up all of the MSVC W3 warnings and most of the W4 warnings in the common and i18n projects.
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
Peter Edberg
db48cbd159 ICU-11553 Better checking of result,resultLength params in udat functions
X-SVN-Rev: 37145
2015-03-05 06:24:11 +00:00
Peter Edberg
50e67ce345 ICU-11553 Add C wrapper for FieldPositionIterator & 2 udat_formatX calls to use it
X-SVN-Rev: 37118
2015-03-04 00:11:53 +00:00
Michael Ow
2755dcda5e ICU-11523 Fix invalid input check in udat_parseCalendar
X-SVN-Rev: 37023
2015-02-11 22:23:13 +00:00
Yoshito Umaoka
281d4de237 ICU-11293 Added udat_formatCalendar allowing C API user to specify a calendar as a parameter.
X-SVN-Rev: 36777
2014-11-25 04:34:58 +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
Tom Zhang
26063a3454 ICU-10320 API for getting/setting number format override in date formatting
X-SVN-Rev: 36097
2014-07-29 18:42:07 +00:00
Tom Zhang
8787394bd1 ICU-10979 add udat_adoptNumberFormat & update doc
X-SVN-Rev: 36035
2014-07-15 20:39:51 +00:00
Scott Russell
b30a917348 ICU-10822 C wrapper implementation for udat_get.../udat_setBooleanAttribute
X-SVN-Rev: 35615
2014-04-10 19:49: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
Peter Edberg
2bf11e889d ICU-10628 Use (const DateFormat*)fmt in udat_getContext, (const NumberFormat*)fmt in unum_getContext
X-SVN-Rev: 34916
2014-01-16 22:46:04 +00:00
Peter Edberg
541a0405a7 ICU-10628 udat_getContext should use const UDateFormat*
X-SVN-Rev: 34904
2014-01-15 20:55:04 +00:00
Peter Edberg
9cf4a2acd5 ICU-10591 Hoist setContext from SimpleDateFormat/RelativeDateFormat to DateFormat
X-SVN-Rev: 34881
2014-01-12 05:23:30 +00:00
Peter Edberg
9f29c3ed25 ICU-10553 Implement context-sensitive capitalization for relative dates (C), add en contextTransforms for test
X-SVN-Rev: 34718
2013-12-09 06:20:23 +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
Peter Edberg
b6053b4240 ICU-9633 Adapt date fmt display context APIs to tentative new UDisplayContext
X-SVN-Rev: 32549
2012-10-08 16:52:35 +00:00
Steven R. Loomis
d455b9984e ICU-9569 add UDAT_PATTERN and update docs
X-SVN-Rev: 32406
2012-09-19 21:26:41 +00:00
Steven R. Loomis
58a86d0fe6 ICU-9586 undo r32398 as it pertains to ICU-9569 - accidentally checked in
X-SVN-Rev: 32400
2012-09-17 22:36:37 +00:00
Steven R. Loomis
a29d76d390 ICU-9586 print out status of gendict during build
X-SVN-Rev: 32398
2012-09-17 22:24:17 +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
Steven R. Loomis
eec528c85f ICU-8157 commit from branch
X-SVN-Rev: 31434
2012-02-18 23:10:51 +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
2fdfe20655 ICU-8237 Add RelativeDateFormat::getDateFormatSymbols, use in udat_getSymbols/countSymbols
X-SVN-Rev: 29964
2011-05-02 23:14:32 +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
Peter Edberg
d83f32e641 ICU-7550 udat_setSymbols should call verifyIsSimpleDateFormat to avoid crash with RelativeDateFormat
X-SVN-Rev: 28057
2010-05-13 03:35:54 +00:00
Doug Felt
52c23e0a47 ICU-6192 add support for getting field positions to NumberFormat and DateFormat
X-SVN-Rev: 27093
2009-12-17 22:15:20 +00:00
Peter Edberg
bf6746fb3b ICU-6855 Add internal RelativeDateFormat toPattern/applyPattern functions
X-SVN-Rev: 25830
2009-04-18 08:11:19 +00:00
Steven R. Loomis
dd4971d760 ICU-6613 fix udat crashers. See also ICU-6737
X-SVN-Rev: 25405
2009-02-14 02:29:08 +00:00
John Emmons
46e2403665 ICU-5241 Added single setters for quarters
X-SVN-Rev: 20003
2006-08-08 21:58:59 +00:00
Eric Mader
58de79fd9f ICU-5241 Add getQuarters / setQuarters, and tests.
X-SVN-Rev: 19831
2006-07-12 23:21:02 +00:00
John Emmons
583b575748 ICU-4643 Add setters for era names, standalone/narrow months to udat_setSymbols()
X-SVN-Rev: 18673
2005-10-13 03:26:40 +00:00
George Rhoten
182abf6aa2 ICU-4823 Fix udat_open so that it doesn't ignore the timezone argument.
X-SVN-Rev: 18527
2005-09-15 04:28:26 +00:00
George Rhoten
8ac00c183a ICU-4644 Add missing getSymbol functionality
X-SVN-Rev: 18207
2005-07-12 04:41:20 +00:00
George Rhoten
979fe56ff2 ICU-3947 Fix udat_parse when parsePos is NULL
X-SVN-Rev: 16022
2004-07-16 16:22:08 +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
91390d5ea7 ICU-2202 preliminary checkin
X-SVN-Rev: 14367
2004-01-20 23:06:38 +00:00
Eric Mader
a7def2c37f ICU-3473 Update copyright notices for ICU 2.8.
X-SVN-Rev: 14193
2003-12-19 21:29:27 +00:00
Vladimir Weinstein
8ab4bf13f7 ICU-2202 getLocale implementation for formatting classes and calendar
X-SVN-Rev: 13777
2003-11-19 23:31:45 +00:00
Vladimir Weinstein
6e6edd96ed ICU-2202 C format *_getLocaleByType API placeholders
X-SVN-Rev: 13731
2003-11-14 21:58:52 +00:00
Markus Scherer
f8a169d29a ICU-2351 make behavior of bogus strings consistent with NULL: only assignment revives a bogus string - special code for output string wrappers for pure preflighting
X-SVN-Rev: 10282
2002-11-16 01:14:40 +00:00
George Rhoten
c6a0025e15 ICU-2296 Fix for HP/UX. Properly use the ICU namespace.
X-SVN-Rev: 10049
2002-10-19 00:39:17 +00:00
Markus Scherer
93018c58f9 ICU-2296 optimize use of UnicodeString, copy string objects less often
X-SVN-Rev: 10030
2002-10-15 00:36:11 +00:00
Markus Scherer
3d38617bdc ICU-2248 modularize icu, allow parts to not be built
X-SVN-Rev: 9900
2002-09-20 01:54:48 +00:00
George Rhoten
c85207afbd ICU-1887 Try to fix the name mangling problems with the Intel compiler by including utypes.h before the system headers.
X-SVN-Rev: 9124
2002-07-12 21:42:24 +00:00