| OLD | NEW |
| 1 /* | 1 /* |
| 2 ****************************************************************************** | 2 ****************************************************************************** |
| 3 * * | 3 * * |
| 4 * Copyright (C) 2003-2014, International Business Machines * | 4 * Copyright (C) 2003-2015, International Business Machines * |
| 5 * Corporation and others. All Rights Reserved. * | 5 * Corporation and others. All Rights Reserved. * |
| 6 * * | 6 * * |
| 7 ****************************************************************************** | 7 ****************************************************************************** |
| 8 * file name: ulocdata.h | 8 * file name: ulocdata.h |
| 9 * encoding: US-ASCII | 9 * encoding: US-ASCII |
| 10 * tab size: 8 (not used) | 10 * tab size: 8 (not used) |
| 11 * indentation:4 | 11 * indentation:4 |
| 12 * | 12 * |
| 13 * created on: 2003Oct21 | 13 * created on: 2003Oct21 |
| 14 * created by: Ram Viswanadha | 14 * created by: Ram Viswanadha |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 * @stable ICU 3.4 | 179 * @stable ICU 3.4 |
| 180 */ | 180 */ |
| 181 U_STABLE int32_t U_EXPORT2 | 181 U_STABLE int32_t U_EXPORT2 |
| 182 ulocdata_getDelimiter(ULocaleData *uld, ULocaleDataDelimiterType type, UChar *re
sult, int32_t resultLength, UErrorCode *status); | 182 ulocdata_getDelimiter(ULocaleData *uld, ULocaleDataDelimiterType type, UChar *re
sult, int32_t resultLength, UErrorCode *status); |
| 183 | 183 |
| 184 /** | 184 /** |
| 185 * Enumeration for representing the measurement systems. | 185 * Enumeration for representing the measurement systems. |
| 186 * @stable ICU 2.8 | 186 * @stable ICU 2.8 |
| 187 */ | 187 */ |
| 188 typedef enum UMeasurementSystem { | 188 typedef enum UMeasurementSystem { |
| 189 UMS_SI, /** Measurement system specified by SI otherwise known as Metric
system. */ | 189 UMS_SI, /**< Measurement system specified by SI otherwise known as Metri
c system. @stable ICU 2.8 */ |
| 190 UMS_US, /** Measurement system followed in the United States of America.
*/ | 190 UMS_US, /**< Measurement system followed in the United States of America
. @stable ICU 2.8 */ |
| 191 UMS_UK, /**< Mix of metric and imperial units used in Great Britain. @st
able ICU 55 */ |
| 191 UMS_LIMIT | 192 UMS_LIMIT |
| 192 } UMeasurementSystem; | 193 } UMeasurementSystem; |
| 193 | 194 |
| 194 /** | 195 /** |
| 195 * Returns the measurement system used in the locale specified by the localeID. | 196 * Returns the measurement system used in the locale specified by the localeID. |
| 196 * Please note that this API will change in ICU 3.6 and will use an ulocdata obj
ect. | 197 * Please note that this API will change in ICU 3.6 and will use an ulocdata obj
ect. |
| 197 * | 198 * |
| 198 * @param localeID The id of the locale for which the measurement system to
be retrieved. | 199 * @param localeID The id of the locale for which the measurement system to
be retrieved. |
| 199 * @param status Must be a valid pointer to an error code value, | 200 * @param status Must be a valid pointer to an error code value, |
| 200 * which must not indicate a failure before the function ca
ll. | 201 * which must not indicate a failure before the function ca
ll. |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 * than separatorCapacity, the returned separator will be truncated. | 269 * than separatorCapacity, the returned separator will be truncated. |
| 269 * | 270 * |
| 270 * @stable ICU 4.2 | 271 * @stable ICU 4.2 |
| 271 */ | 272 */ |
| 272 U_STABLE int32_t U_EXPORT2 | 273 U_STABLE int32_t U_EXPORT2 |
| 273 ulocdata_getLocaleSeparator(ULocaleData *uld, | 274 ulocdata_getLocaleSeparator(ULocaleData *uld, |
| 274 UChar *separator, | 275 UChar *separator, |
| 275 int32_t separatorCapacity, | 276 int32_t separatorCapacity, |
| 276 UErrorCode *status); | 277 UErrorCode *status); |
| 277 #endif | 278 #endif |
| OLD | NEW |