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

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

Issue 1621943002: ICU 56 step 4: Apply post-56 fixes for measure/date format (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@56goog
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/measfmt.h ('k') | source/test/depstest/dependencies.txt » ('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) 2004-2015, International Business Machines 3 * Copyright (c) 2004-2015, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ********************************************************************** 5 **********************************************************************
6 * Author: Alan Liu 6 * Author: Alan Liu
7 * Created: April 26, 2004 7 * Created: April 26, 2004
8 * Since: ICU 3.0 8 * Since: ICU 3.0
9 ********************************************************************** 9 **********************************************************************
10 */ 10 */
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 /** 179 /**
180 * ICU use only. 180 * ICU use only.
181 * Returns maximum value from getIndex plus 1. 181 * Returns maximum value from getIndex plus 1.
182 * @internal 182 * @internal
183 */ 183 */
184 static int32_t getIndexCount(); 184 static int32_t getIndexCount();
185 185
186 /** 186 /**
187 * ICU use only. 187 * ICU use only.
188 * @return the unit.getIndex() of the unit which has this unit.getType() and unit.getSubtype(),
189 * or a negative value if there is no such unit
190 * @internal
191 */
192 static int32_t internalGetIndexForTypeAndSubtype(const char *type, const cha r *subtype);
193
194 /**
195 * ICU use only.
188 * @internal 196 * @internal
189 */ 197 */
190 static MeasureUnit *resolveUnitPerUnit( 198 static MeasureUnit *resolveUnitPerUnit(
191 const MeasureUnit &unit, const MeasureUnit &perUnit); 199 const MeasureUnit &unit, const MeasureUnit &perUnit);
192 #endif /* U_HIDE_INTERNAL_API */ 200 #endif /* U_HIDE_INTERNAL_API */
193 201
194 // All code between the "Start generated createXXX methods" comment and 202 // All code between the "Start generated createXXX methods" comment and
195 // the "End generated createXXX methods" comment is auto generated code 203 // the "End generated createXXX methods" comment is auto generated code
196 // and must not be edited manually. For instructions on how to correctly 204 // and must not be edited manually. For instructions on how to correctly
197 // update this code, refer to: 205 // update this code, refer to:
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
1277 } 1285 }
1278 void setTo(int32_t typeId, int32_t subTypeId); 1286 void setTo(int32_t typeId, int32_t subTypeId);
1279 int32_t getOffset() const; 1287 int32_t getOffset() const;
1280 static MeasureUnit *create(int typeId, int subTypeId, UErrorCode &status); 1288 static MeasureUnit *create(int typeId, int subTypeId, UErrorCode &status);
1281 }; 1289 };
1282 1290
1283 U_NAMESPACE_END 1291 U_NAMESPACE_END
1284 1292
1285 #endif // !UNCONFIG_NO_FORMATTING 1293 #endif // !UNCONFIG_NO_FORMATTING
1286 #endif // __MEASUREUNIT_H__ 1294 #endif // __MEASUREUNIT_H__
OLDNEW
« no previous file with comments | « source/i18n/unicode/measfmt.h ('k') | source/test/depstest/dependencies.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698