Commit Graph

108 Commits

Author SHA1 Message Date
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
Michael Ow
148ec9f9e5 ICU-11917 Promote 54 draft API to stable
X-SVN-Rev: 37969
2015-09-17 18:25:20 +00:00
Peter Edberg
0ef535414e ICU-11433 ICU4C draft API promotion; update U_HIDE_xxx conditionals
X-SVN-Rev: 37197
2015-03-10 07:20:48 +00:00
Michael Ow
c7cd5c468b ICU-11452 Change reference to pointer to avoid null reference problems in SimpleDateFormat
X-SVN-Rev: 36942
2015-01-12 19:02:31 +00:00
Fredrik Roubert
60087d06a1 ICU-11018 Refactor date format string mapping code (ICU4C)
To make this code more maintainable: Make mapping tables zero based, add
a table to tell if a character can be used to define a field in a format
string (instead of now rather long-winded character range expressions)
and make all lookup tables accessed through helper functions.

R=rocketman@google.com

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

X-SVN-Rev: 36899
2014-12-19 07:27:58 +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
8713061249 ICU-10809 Fix typo
X-SVN-Rev: 36567
2014-09-23 21:29:31 +00:00
Peter Edberg
14cd5cb107 ICU-10809 Update SimpleDateFormat class doc examples for Sept and Tues, other table updates and note (C)
X-SVN-Rev: 36565
2014-09-23 21:26:25 +00:00
Scott Russell
ecd2a3a355 ICU-10962 Conflicting descriptions of 'S' in calendar patterns
X-SVN-Rev: 36235
2014-08-26 03:57:45 +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
Scott Russell
68c893b2f1 ICU-10855 fix handling of partial match leniency to not falsely pass literals that should fail
X-SVN-Rev: 35720
2014-05-16 17:38:08 +00:00
Peter Edberg
27cfaed4d8 ICU-10681 Lazily get and cache BreakIterator for titlecasing; lazily get contextTransform info if possible (C)
X-SVN-Rev: 35287
2014-03-02 00:44:35 +00:00
Yoshito Umaoka
48c55b449e ICU-10653 Fixed a thread safety problem in SimpleDateFormat.
X-SVN-Rev: 34992
2014-01-27 14:53:26 +00:00
Scott Russell
c7677154e6 ICU-10619 Improve usability of DateFormat's leniency control & promote BooleanAttribute control to draft for v53
X-SVN-Rev: 34888
2014-01-14 17:26:35 +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
Scott Russell
37e74533a6 ICU-10334 C vs. J differences when in lenient mode
X-SVN-Rev: 34792
2013-12-18 20:03:44 +00:00
Peter Edberg
31a4739bac ICU-9627 Updated Date Field Symbol Table links in smpdtfmt.h, added them in udat.h
X-SVN-Rev: 34458
2013-09-23 18:23:05 +00:00
Andy Heninger
3b379f4c28 ICU-7468 Use C++ "using" in Format class hierarchy, so inheritance of format() and parse() functions works normally, without unwanted function hiding.
X-SVN-Rev: 33457
2013-03-21 22:09:06 +00:00
Yoshito Umaoka
da21d9c2b6 ICU-9696 Updated the API doc for ICU4C SimpleDateFormat with the latest CLDR specification.
X-SVN-Rev: 33270
2013-02-19 10:35:03 +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
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
Peter Edberg
b54c586f38 ICU-9643 (C) Change "@internal ICU 50" display context API to "@draft ICU 51"
X-SVN-Rev: 32900
2012-11-28 01:12:46 +00:00
Peter Edberg
6735940768 ICU-9250 Document that date format S+ fields truncate for S,SS and zero-pad for SSSS+
X-SVN-Rev: 32646
2012-10-17 04:41:19 +00:00
Andy Heninger
b042e33ee1 ICU-7400 Fix incorrect API docs on several 'void parse()' functions.
X-SVN-Rev: 32561
2012-10-08 22:41:13 +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
Peter Edberg
33863c74be ICU-7804 Clarify that parsing of negative years is in lenient mode only
X-SVN-Rev: 31628
2012-03-18 16:00:50 +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
e3edca9be5 ICU-9044 Better description of 'U' character behavior (C)
X-SVN-Rev: 31280
2012-01-31 07:35:50 +00:00
Peter Edberg
3b3b61e234 ICU-9044 Improve parse method documentation, note that parsing Chinese cal dates may be ambiguous (C)
X-SVN-Rev: 31254
2012-01-23 23:14:56 +00:00
Michael Ow
747ad726e2 ICU-8956 Update ICU4C SimpleDateFormat doc
X-SVN-Rev: 31069
2011-12-08 18:27:54 +00:00
Peter Edberg
56d70749df ICU-8958 Add support for parsing leapMonths (in addition to formatting per r31039, r31040)
X-SVN-Rev: 31043
2011-12-06 20:46:32 +00:00
Markus Scherer
4e30dc4c14 ICU-8571 remove udraft.h etc. & genheaders.pl, use #ifndef U_HIDE_DRAFT_API etc. instead
X-SVN-Rev: 30447
2011-08-01 02:20:46 +00:00
Steven R. Loomis
63dd5be23d ICU-8525 doxygen warnings
X-SVN-Rev: 30029
2011-05-05 01:35:22 +00:00
Peter Edberg
332037ef5b ICU-6109 & #4942,#3579: Merge changes for lenient number & date parsing from branches/eric/lenient_number_parsing (manually!)
X-SVN-Rev: 30018
2011-05-04 12:23:42 +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
Markus Scherer
9774441e40 ICU-8491 remove uprv_isRuleWhiteSpace(c)
X-SVN-Rev: 29900
2011-04-26 06:39:29 +00:00
Peter Edberg
3384286860 ICU-8155 Promote appropriate @draft 4.2 and 4.4 API to @stable
X-SVN-Rev: 29035
2010-11-12 06:03:28 +00:00
Alexey Gousev
933e73b1d2 ICU-7066 merging trunk
X-SVN-Rev: 28531
2010-08-25 22:28:32 +00:00
Doug Felt
b9fb4a7858 ICU-7452 add using Xxx:format statements to all Format subclasses that override format
X-SVN-Rev: 27662
2010-02-24 23:52:27 +00:00
Steven R. Loomis
f517a0db14 ICU-7304 fix API promotions from bad checkins r27396 and r27397
X-SVN-Rev: 27436
2010-01-28 21:09:53 +00:00
Doug Felt
bd8eb26d17 ICU-7391 changed ref to pointer in APIs taking FieldPositionIterator, cleaned whitespace
X-SVN-Rev: 27433
2010-01-28 19:39:24 +00:00
Steven R. Loomis
b361793726 ICU-7304 draft 4.2 to stable 4.4 ( also cleaned up some ICU-7290 issues )
X-SVN-Rev: 27396
2010-01-23 06:36:03 +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
John Emmons
d54bef2490 ICU-7186 Fix round-trip problem in Hebrew Calendar
X-SVN-Rev: 26770
2009-10-08 03:47:08 +00:00
Andy Heninger
1605f59449 ICU-6980 fix typo in comment
X-SVN-Rev: 26056
2009-05-29 21:17:09 +00:00
Andy Heninger
b4e97b834b ICU-6980 fix function hiding compiler warning
X-SVN-Rev: 26055
2009-05-29 20:50:13 +00:00
Yoshito Umaoka
e45db647aa ICU-6880 Corrected misspellings in the last change set.
X-SVN-Rev: 25931
2009-04-28 06:52:19 +00:00