Commit Graph

78 Commits

Author SHA1 Message Date
Steven R. Loomis
7e6c572256 ICU-10774 fix a knownissue: Collator::getAvailableLocales calculation.
Also, replace uhash_nextElement's parameter "-1" with UHASH_FIRST for clarity.
Also, improve service registration debugging code

X-SVN-Rev: 36836
2014-12-09 23:54:56 +00:00
Steven R. Loomis
9f5a68f08f ICU-11389 revert r36758 - re-checkin under r11139 once working?
X-SVN-Rev: 36761
2014-11-20 01:26:30 +00:00
Steven R. Loomis
738cee69cc ICU-11389 improve error checking
X-SVN-Rev: 36758
2014-11-20 00:34:29 +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
Steven R. Loomis
7594250cc5 ICU-7653 changed uprv_lengthof to UPRV_LENGTHOF, also added apidoc
X-SVN-Rev: 36275
2014-08-28 22:13:45 +00:00
Tom Zhang
ee1f29b584 ICU-7653 move LENGTHOF(array) to common, internal header
X-SVN-Rev: 36265
2014-08-28 14:55:34 +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
Peter Edberg
ce1c10fd51 ICU-10378 (C) Support skeleton meta-character 'J' in DateTimePatternGenerator
X-SVN-Rev: 34292
2013-09-12 22:49:07 +00:00
Peter Edberg
33c679b135 ICU-10065 Delete redundant LOW_K row in dtTypes[]
X-SVN-Rev: 34262
2013-09-10 21:29:14 +00:00
Peter Edberg
ebea161b11 ICU-10065 In DateTimePatternGenerator, add support for pattern chars K,O,X,x, adjust support for V
X-SVN-Rev: 34256
2013-09-10 07:51:38 +00:00
Peter Edberg
b862a59d5e ICU-10195 Fix CLDR_FIELD_NAME[] array so getting localized name for UDATPG_DAY_FIELD works
X-SVN-Rev: 33859
2013-06-27 07:41:56 +00:00
Peter Edberg
79b8f74642 ICU-9984 For DTPG, Y in skeleton should produce Y in pattern
X-SVN-Rev: 33562
2013-04-29 22:10:29 +00:00
Peter Edberg
bc29c28e46 ICU-9965 Don't skip availableFormats items from non-root locales if conflict only due to basePattern (C)
X-SVN-Rev: 33360
2013-03-04 11:10:20 +00:00
Peter Edberg
db42f0dc6e ICU-9857 Adjust for CLDR calendar <fields> move to top of <dates> element (C)
X-SVN-Rev: 33076
2013-01-26 00:15:50 +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
Markus Scherer
1c360497c7 ICU-9139 UCONFIG_NO_CONVERSION=1 bug fix
X-SVN-Rev: 31561
2012-03-01 23:50:07 +00:00
Peter Edberg
9fb2e3ac79 ICU-7727 When collecting data, use real parent (per %%Parent if present) instead of just truncating name
X-SVN-Rev: 31491
2012-02-23 10:06:47 +00:00
Peter Edberg
0dab4799f7 ICU-9105 Fix DateTimePatternGenerator for 'U', integrate Chinese cal data updates from cldrbug 4395, update tests
X-SVN-Rev: 31407
2012-02-17 08:42:10 +00:00
Andy Heninger
5b3a708915 ICU-8992 Compiler Warning cleanup for gcc 4.6.1
X-SVN-Rev: 31329
2012-02-06 19:57:08 +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
22a40ff65d ICU-7930 C, don't limit base skeleton field length to 3
X-SVN-Rev: 31028
2011-12-05 04:49:40 +00:00
Markus Scherer
2862296471 ICU-8454 virtual destructors should be explicit, and defined in a .cpp file, so that they can serve as key functions
X-SVN-Rev: 30423
2011-07-26 05:32:25 +00:00
Markus Scherer
9bcc40cf9e ICU-8452 un-autoconf platform.h, move user-configurable settings to uconfig.h, and other changes; from svn merge --reintegrate branches/markus/platformh at r30411
X-SVN-Rev: 30412
2011-07-23 00:10:30 +00:00
Peter Edberg
73704aa064 ICU-8417 Add dtTypes[] entry for LOW_L
X-SVN-Rev: 29736
2011-04-05 05:41:43 +00:00
Peter Edberg
2c5bd3f343 ICU-8330 Fix ICU4C handling of 'S' (fractional seconds) in skeleton
X-SVN-Rev: 29421
2011-02-10 04:46:32 +00:00
Peter Edberg
d841f7254d ICU-7992 DateTimePatternGenerator, fix matching for weekday name
X-SVN-Rev: 28884
2010-10-20 22:06:10 +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
3b410ee565 ICU-7180 Also don't adjust minute & second field length by default.
X-SVN-Rev: 27622
2010-02-22 00:58:52 +00:00
Peter Edberg
98723ad2bd ICU-7180 For hour field, change default behavior to not adjust pattern
field length to match requested skeleton. For getBestPattern,replaceFieldTypes
add option to override this, forcing pattern field length to match skeleton.

X-SVN-Rev: 27036
2009-12-10 09:13:49 +00:00
Peter Edberg
305743045f ICU-7007 availableFormats remapping of month types does not work
X-SVN-Rev: 27001
2009-12-02 07:17:06 +00:00
Steven R. Loomis
712b165172 ICU-6930 IBM i updates: Merging r26624 through r26636 of /icu/branches/srl/i6930
X-SVN-Rev: 26637
2009-09-16 01:08:54 +00:00
Steven R. Loomis
9f373b4b5a ICU-6902 merge of r26358 into trunk (z changes)
X-SVN-Rev: 26381
2009-07-18 02:35:27 +00:00
Michael Ow
9100ba632e ICU-6905 Log errors as data errors where appropriate to ensure cintltst passes without data. Some areas don't propagate error code. Add new error log function to check for error code.
X-SVN-Rev: 26084
2009-06-09 21:28:13 +00:00
Peter Edberg
042d2995fe ICU-6800 Fix addCLDRData to handle literals/quotes when checking short time pattern for HhKk
X-SVN-Rev: 25884
2009-04-23 05:58:36 +00:00
Claire Ho
9efbecd983 ICU-6799 Fixed warnings for collation.
X-SVN-Rev: 25871
2009-04-22 23:10:07 +00:00
Claire Ho
f5125c7d38 ICU-5884 Update DateTimePatternGenerator for new CLDR letters: q and V.
X-SVN-Rev: 25862
2009-04-22 16:28:25 +00:00
Peter Edberg
edea4db881 ICU-6800 Support 'j' in requested skeletons, adjust availableFormats & tests accordingly
X-SVN-Rev: 25636
2009-03-20 00:08:24 +00:00
Peter Edberg
b0fa61d425 ICU-5702 Fix availableFormats fallback for aliased locales
X-SVN-Rev: 25258
2009-01-16 01:18:05 +00:00
Peter Edberg
cec9f47ade ICU-5702 Fix fallback for availableFormats
X-SVN-Rev: 25166
2008-12-19 20:10:03 +00:00
Peter Edberg
6c12fab16d ICU-5702 Make DateTimePatternGenerator:initData get the availableFormats for the correct
calendar (not always gregorian), and add some necessary availableFormats entries.

X-SVN-Rev: 24978
2008-11-19 04:19:02 +00:00
Peter Edberg
1e521d134d ICU-6626 Make DateTimePatternGenerator:initData use the skeletons specified for availableFormats,
eliminate CJK months hack, use skeletons to improve adjustFieldTypes behavior, add some necessary
availableFormats entries, and fix expected test results now that getBestPattern is more correct.

X-SVN-Rev: 24976
2008-11-18 18:27:40 +00:00
Steven R. Loomis
6c1e80795b ICU-6557 fix linkage issue.
X-SVN-Rev: 24695
2008-10-01 19:23:06 +00:00
Yoshito Umaoka
c3398882b4 ICU-6476 Fixed a bug in DateTimePatternGenerator and updated some test cases. The fix allow us to replace most of yyyy in the pattern resources with y.
X-SVN-Rev: 24465
2008-08-07 17:06:38 +00:00
Steven R. Loomis
d3d779e429 ICU-6402 fixes for IBM i.
X-SVN-Rev: 24317
2008-06-28 07:02:26 +00:00
George Rhoten
acd8f28273 ICU-6076 Make sure that we objects are fully initialized for deletion, and
that we don't leak memory after an allocation failure.

X-SVN-Rev: 23450
2008-02-17 18:26:39 +00:00
George Rhoten
5547bb21de ICU-6176 Fix some Coverity warnings in the unlikely event that a date/time format isn't simple in the future.
X-SVN-Rev: 23430
2008-02-14 02:43:33 +00:00
George Rhoten
928d6152bc ICU-6176 Fix some Coverity warnings
X-SVN-Rev: 23414
2008-02-13 09:35:50 +00:00
Claire Ho
f785553c68 ICU-6172 fixed the duplicate time pattern.
X-SVN-Rev: 23397
2008-02-08 07:10:28 +00:00
George Rhoten
dd845e9520 ICU-5955 Mark data const
X-SVN-Rev: 23158
2008-01-03 10:07:47 +00:00