Commit Graph

69 Commits

Author SHA1 Message Date
William Zhao
4bb34584ad ICU-13275 Merge into some W3 warning fixes into trunk
X-SVN-Rev: 40446
2017-09-22 18:00:51 +00:00
Peter Edberg
2cea868e02 ICU-13006 DateFormat.setNumberFormat should clone the NumberFormat and also call setGroupingUsed(false)
X-SVN-Rev: 40198
2017-06-23 06:26:30 +00:00
Steven R. Loomis
02e76897eb ICU-12786 dont call Win32 tz functions on cygwin (patch)
X-SVN-Rev: 40007
2017-04-07 18:26:45 +00:00
Andy Heninger
80606f5b57 ICU-13008 Signed int overflow (undefined behavior) in datefmt.cpp
X-SVN-Rev: 39718
2017-03-01 21:59:38 +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
Andy Heninger
549c7646bf ICU-12061 FieldPosition::DONT_CARE API status and doc update. Fix incorrect usage of FieldPosition(0).
X-SVN-Rev: 39017
2016-07-23 04:42:29 +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
Travis Keep
b7d18e518c ICU-11780 Reduce heap size for caching date formatters.
X-SVN-Rev: 37860
2015-09-01 20:13:27 +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
Yoshito Umaoka
82bd8a35f4 ICU-11139 A quick fix in the new DateFormat factory logic to use the current default time zone in a new instance.
X-SVN-Rev: 36759
2014-11-20 00:41:24 +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
Yoshito Umaoka
6e0a9a397d ICU-10816 DateFormat::setLenient to set boolean attribute properly.
X-SVN-Rev: 35572
2014-04-02 19:17:11 +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
Steven R. Loomis
358e1ddcd2 ICU-10376 fixup clang warnings
X-SVN-Rev: 34385
2013-09-18 20:08:25 +00:00
Scott Russell
41d2876025 ICU-10261 give DateFormat more granular leniency control
X-SVN-Rev: 34327
2013-09-16 12:45:41 +00:00
Peter Edberg
3a8d6c31a9 ICU-8844 Clone fCalendar as necessary so it does not get modified by format or parse methods
X-SVN-Rev: 31017
2011-12-04 00:33:15 +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
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
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
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
Xiaomei Ji
a8aff4fc7b ICU-6503 move createPatternInstance from DateFormat to DateIntervalFormat
X-SVN-Rev: 24884
2008-10-25 00:31:55 +00:00
Xiaomei Ji
ff17b981a5 ICU-6503 save date time pattern generator as private member, minimize data time pattern generator instantiation times
X-SVN-Rev: 24573
2008-09-15 21:20:19 +00:00
Xiaomei Ji
0ad3aff9b2 ICU-6157 update after 1st round code review
X-SVN-Rev: 24200
2008-06-16 22:32:36 +00:00
Xiaomei Ji
8d6be178da ICU-6309 interval format clean up after consolidate skeleton consts
X-SVN-Rev: 24072
2008-05-29 19:23:52 +00:00
Xiaomei Ji
f9a0590098 ICU-6157 date interval format
X-SVN-Rev: 24005
2008-05-28 00:33:44 +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
653f0ded15 ICU-6132 Check dereferencing null pointers, fCalendar and fNumberFormat.
X-SVN-Rev: 23200
2008-01-09 23:39:39 +00:00
Yoshito Umaoka
7e51ed7330 ICU-5990 Merging time zone formatting/parsing changes from yoshito's working branch to the trunk.
X-SVN-Rev: 22978
2007-11-28 20:49:58 +00:00
Eric Mader
bb4a371fdb ICU-5805 Update copyright notices for ICU 3.8
X-SVN-Rev: 22167
2007-07-27 03:12:12 +00:00
Steven R. Loomis
189539dedb ICU-2895 fix for warnings
X-SVN-Rev: 21390
2007-04-10 22:57:25 +00:00
Steven R. Loomis
d48f7af250 ICU-2895 Relative Dates
X-SVN-Rev: 21381
2007-04-09 22:29:57 +00:00
Eric Mader
ed5ad9b463 ICU-4152 Initial checkin of tests. Aslo bug fixes for bugs that the tests found!
X-SVN-Rev: 19016
2006-01-23 23:25:00 +00:00
Eric Mader
a992570c40 ICU-4152 Initial check in of Windows formatting code!
X-SVN-Rev: 18963
2006-01-12 19:53:58 +00:00
George Rhoten
592ed13f9a ICU-4084 Make sure that ures_* is used instead of the slower ResourceBundle.
X-SVN-Rev: 16251
2004-09-03 15:24:16 +00:00
George Rhoten
7c225a89aa ICU-4072 Explicitly use U_EXPORT2 to specify calling convention of static C++ code.
X-SVN-Rev: 16183
2004-08-24 17:38:33 +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
00035cd85c ICU-3399 move operator== class check into Format
X-SVN-Rev: 14507
2004-02-13 01:50:59 +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
d4e8b6d20b ICU-2202 C++ format getLocale API placeholders
X-SVN-Rev: 13729
2003-11-14 21:53:10 +00:00
Steven R. Loomis
92fb1fead2 ICU-2943 calendar update (sync with Java, prepare for other calendars)
X-SVN-Rev: 13494
2003-10-26 10:24:58 +00:00
Steven R. Loomis
ad141400ac ICU-2840 don't crash w/o data
X-SVN-Rev: 12307
2003-06-05 00:00:07 +00:00
Steven R. Loomis
5fc78bf0ce ICU-2840 don't crash without data
X-SVN-Rev: 12292
2003-06-04 22:02:07 +00:00
Steven R. Loomis
817b681f1b ICU-2959 copyright
X-SVN-Rev: 12245
2003-06-03 01:58:48 +00:00
Alan Liu
8a4c069318 ICU-2370 fix parameter docs/names for format() and related fns
X-SVN-Rev: 10366
2002-11-25 18:31:23 +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
Alan Liu
5c91a5339e ICU-2060 add Calendar::isEquivalentTo() method
X-SVN-Rev: 9750
2002-08-21 18:33:38 +00:00
Ram Viswanadha
e4011b086e ICU-1986 remove deprecated API
X-SVN-Rev: 9178
2002-07-16 00:15:23 +00:00