Commit Graph

59 Commits

Author SHA1 Message Date
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
George Rhoten
7777030a4f ICU-1828 Remove tabs
X-SVN-Rev: 8331
2002-04-02 02:55:31 +00:00
Alan Liu
34a2aecffc ICU-162 add DateFormat parse() and format() methods taking a Calendar
X-SVN-Rev: 7857
2002-03-02 00:29:54 +00:00
George Rhoten
0836738cc1 ICU-1630 Move UMTX from utypes.h to umutex.h,
and remove unneeded references to mutex.h (so we can find multithreading issues more easily)

X-SVN-Rev: 7478
2002-01-23 17:17:06 +00:00
Helena Chapman
d816eefc57 ICU-1264 added namspace support where possible.
X-SVN-Rev: 6124
2001-10-08 23:26:58 +00:00
George Rhoten
03fdacc9a5 ICU-770 Don't create a cache. Locale::getAvailableLocales does the same thing as DateFormat::getAvailableLocales
X-SVN-Rev: 5675
2001-09-01 01:09:38 +00:00
George Rhoten
addeee49e9 ICU-900 Fixed some compiler warnings
X-SVN-Rev: 4784
2001-05-24 21:11:44 +00:00
Vladimir Weinstein
8e6698de87 ICU-903 updated copyright notices
X-SVN-Rev: 4237
2001-03-21 20:31:13 +00:00
Alan Liu
285fe5ffa0 ICU-691 date format always calls setParseIntegerOnly(TRUE) on adopted number format objects
X-SVN-Rev: 3947
2001-03-07 22:01:48 +00:00
Steven R. Loomis
a2ddfe0ef7 ICU-714 NONE fix for win32
X-SVN-Rev: 2904
2000-11-13 23:32:54 +00:00
Steven R. Loomis
917fc49029 ICU-714 Incorrect handling of 'NONE' date styles
X-SVN-Rev: 2902
2000-11-13 19:02:32 +00:00