Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Side by Side Diff: source/i18n/unicode/udateintervalformat.h

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/i18n/unicode/udat.h ('k') | source/i18n/unicode/udatpg.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ******************************************************************************** ********* 2 ******************************************************************************** *********
3 * Copyright (C) 2010-2012, International Business Machines 3 * Copyright (C) 2010-2012,2015 International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ******************************************************************************** ********* 5 ******************************************************************************** *********
6 */ 6 */
7 7
8 #ifndef UDATEINTERVALFORMAT_H 8 #ifndef UDATEINTERVALFORMAT_H
9 #define UDATEINTERVALFORMAT_H 9 #define UDATEINTERVALFORMAT_H
10 10
11 #include "unicode/utypes.h" 11 #include "unicode/utypes.h"
12 12
13 #if !UCONFIG_NO_FORMATTING 13 #if !UCONFIG_NO_FORMATTING
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 * @param result 153 * @param result
154 * A pointer to a buffer to receive the formatted range. 154 * A pointer to a buffer to receive the formatted range.
155 * @param resultCapacity 155 * @param resultCapacity
156 * The maximum size of result. 156 * The maximum size of result.
157 * @param position 157 * @param position
158 * A pointer to a UFieldPosition. On input, position->field is read. 158 * A pointer to a UFieldPosition. On input, position->field is read.
159 * On output, position->beginIndex and position->endIndex indicate 159 * On output, position->beginIndex and position->endIndex indicate
160 * the beginning and ending indices of field number position->field, 160 * the beginning and ending indices of field number position->field,
161 * if such a field exists. This parameter may be NULL, in which case 161 * if such a field exists. This parameter may be NULL, in which case
162 * no field position data is returned. 162 * no field position data is returned.
163 * There may be multiple instances of a given field type in an
164 * interval format; in this case the position indices refer to the
165 * first instance.
163 * @param status 166 * @param status
164 * A pointer to a UErrorCode to receive any errors. 167 * A pointer to a UErrorCode to receive any errors.
165 * @return 168 * @return
166 * The total buffer size needed; if greater than resultLength, the 169 * The total buffer size needed; if greater than resultLength, the
167 * output was truncated. 170 * output was truncated.
168 * @stable ICU 4.8 171 * @stable ICU 4.8
169 */ 172 */
170 U_STABLE int32_t U_EXPORT2 173 U_STABLE int32_t U_EXPORT2
171 udtitvfmt_format(const UDateIntervalFormat* formatter, 174 udtitvfmt_format(const UDateIntervalFormat* formatter,
172 UDate fromDate, 175 UDate fromDate,
173 UDate toDate, 176 UDate toDate,
174 UChar* result, 177 UChar* result,
175 int32_t resultCapacity, 178 int32_t resultCapacity,
176 UFieldPosition* position, 179 UFieldPosition* position,
177 UErrorCode* status); 180 UErrorCode* status);
178 181
179 #endif /* #if !UCONFIG_NO_FORMATTING */ 182 #endif /* #if !UCONFIG_NO_FORMATTING */
180 183
181 #endif 184 #endif
OLDNEW
« no previous file with comments | « source/i18n/unicode/udat.h ('k') | source/i18n/unicode/udatpg.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698