Commit graph

23 commits

Author SHA1 Message Date
Shane F. Carr
2a2995951b ICU-20926 Add tests for identity behavior in DateIntervalFormat
See #2245
2023-04-17 14:57:50 -07:00
Fredrik Roubert
2e0d30cfcf ICU-21833 Replace NULL with nullptr in all C++ code. 2023-02-03 20:20:38 +01:00
Rich Gillam
9d230f923c ICU-21939 Fix bogus "conflicting fields" error in DateIntervalFormat. 2022-07-18 15:16:40 -07:00
Peter Varga
80d42a13fc ICU-21734 Add missing overrides in tests 2021-09-07 13:56:33 -07:00
Frank Tang
d7fd8848b7 ICU-21222 Fix Era in Interval format
See #1373
2021-03-03 17:25:19 -08:00
Peter Edberg
74c66351d8 ICU-20651 add setContext/getContext for [U]DateIntervalFormat 2020-09-11 20:12:44 -07:00
Rich Gillam
edaebfa64e ICU-21155 Add support for all hour and day-period skeleton characters to DateIntervalFormat 2020-09-03 16:14:08 -07:00
Frank Tang
be3ee4cc63 ICU-20967 add millisecond to DateIntervalFormat
See #978
2020-03-05 10:55:19 -08:00
Caio Lima
09d409f5f4 ICU-20442 Adding support for hour-cycle on DateTimePatternGenerator
DateTimePatternGenerator needs to consider the hour-cycle preferred by
Locale. This means that we need to to override the hour-cycle when a
locale contains "hc" keyword. This patch is adding such functionality.
In addition, "DateTimePatternGenerator::adjustFieldTypes" should adjust
hour field to properly follow tr35
spec(https://www.unicode.org/reports/tr35/tr35-dates.html#dfst-hour).
2020-01-09 16:45:56 +01:00
Frank Tang
1ab75afc5f ICU-20706 Fix DateInterval::createInstance w/ test
See #876
2019-10-09 16:13:47 -07:00
Shane Carr
e2ad4f8113 ICU-20342 Adding FormattedDateInterval in C and C++.
- Adds first "span" field category
- Re-implements DateIntervalFormat#fallbackFormat to use FieldPositionHandler
- New temporary wiring in SimpleFormatter
2019-02-11 16:12:03 -08: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
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
Andy Heninger
3f05ba059e ICU-12065 DateIntervalFormat operator ==, remove from/to calendars from consideration.
X-SVN-Rev: 38749
2016-05-18 00:11:20 +00:00
Andy Heninger
3e1bf369df ICU-11669 DateIntervalFormat::format() thread safety fixes.
X-SVN-Rev: 38151
2016-01-06 00:09:25 +00:00
Fredrik Roubert
25f9110090 ICU-11985 Handle 'j' and 'J' in date time pattern skeletons.
R=mark.edward.davis@gmail.com, markus.icu@gmail.com, pedberg@apple.com

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

X-SVN-Rev: 38089
2015-11-18 12:29:17 +00:00
Travis Keep
210b877adc ICU-11583 Port Mark's JAVA fixes to C++
X-SVN-Rev: 37243
2015-03-17 19:09:11 +00:00
Travis Keep
7e89728836 ICU-9914 ICU4C DateIntervalFormat to handle 2 year vs. 4 year formats.
X-SVN-Rev: 33453
2013-03-21 17:25:43 +00:00
Travis Keep
b9243a0522 ICU-9919 Add test to ensure that DateIntervalInfo.setIntervalPattern has no unwanted side effects.
X-SVN-Rev: 33194
2013-02-12 19:47:49 +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
f9a0590098 ICU-6157 date interval format
X-SVN-Rev: 24005
2008-05-28 00:33:44 +00:00