Commit Graph

60 Commits

Author SHA1 Message Date
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
George Rhoten
7777030a4f ICU-1828 Remove tabs
X-SVN-Rev: 8331
2002-04-02 02:55:31 +00:00
Alan Liu
ef77896421 ICU-162 add udat_parseCalendar
X-SVN-Rev: 7894
2002-03-06 20:41:57 +00:00
George Rhoten
41ffc2ef36 ICU-1733 Integrate some of the easier (and non-redundent) changes from Lotus.
X-SVN-Rev: 7802
2002-02-28 01:42:40 +00:00
Vladimir Weinstein
6bc1ab66fe ICU-1541 consistently added U_CAPI & U_EXPORT2 to all the declarations and definitions
X-SVN-Rev: 7039
2001-11-21 01:08:55 +00:00
Helena Chapman
d816eefc57 ICU-1264 added namspace support where possible.
X-SVN-Rev: 6124
2001-10-08 23:26:58 +00:00
Markus Scherer
0844431640 ICU-1109 implement new NUL-termination semantics
X-SVN-Rev: 5696
2001-09-05 23:39:38 +00:00
Ram Viswanadha
d7d6c296e2 ICU-329 First take on add better error reporting with UParseError struct.
X-SVN-Rev: 5472
2001-08-16 00:55:16 +00:00