Name: capi-base-utils
Summary: Base Utils
-Version: 1.2.4
+Version: 1.2.5
Release: 1
Group: Base
License: Apache-2.0 and ICU
utils_i18n_timezone.cpp
utils_i18n_alpha_idx.cpp
utils_i18n_formattable.cpp
+ utils_i18n_measure_unit.cpp
)
ADD_LIBRARY(${target_name} SHARED ${BASEUTILS_SRCS}
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${INC_DIR}/utils_i18n_ubrk.h DESTINATION ${INCLUDE_INSTALL_DIR}/base)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${INC_DIR}/utils_i18n_alpha_idx.h DESTINATION ${INCLUDE_INSTALL_DIR}/base)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${INC_DIR}/utils_i18n_formattable.h DESTINATION ${INCLUDE_INSTALL_DIR}/base)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${INC_DIR}/utils_i18n_measure_unit.h DESTINATION ${INCLUDE_INSTALL_DIR}/base)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${INC_DIR}/utils_i18n.h DESTINATION ${INCLUDE_INSTALL_DIR}/base)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${pc_name}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
\ No newline at end of file
#include <utils_i18n_ubrk.h>
#include <utils_i18n_alpha_idx.h>
#include <utils_i18n_formattable.h>
+#include <utils_i18n_measure_unit.h>
/**
* @file utils_i18n.h
/**
* @ingroup CAPI_BASE_UTILS_MODULE
* @defgroup CAPI_BASE_UTILS_I18N_MODULE i18n
- * @brief The i18n module contains uchar, ucollator, unormalization, usearch, ustring, ucalendar, udate, udatepg, ulocale, unumber, alpha_idx and formattable.
+ * @brief The i18n module contains uchar, ucollator, unormalization, usearch, ustring, ucalendar, udate, udatepg, ulocale, unumber, alpha_idx, formattable and measure unit.
* This module provides flexible generation of number or date format patterns and helps you format and parse dates/number for any locale.
* The i18n module provides various features based on data from ICU. The following table shows the version of ICU used in each Tizen platform.
* <table>
* <td>@ref CAPI_BASE_UTILS_I18N_FORMATTABLE_MODULE</td>
* <td>Formattable interconverts between the primitive numeric types (double, long, etc.) as well as the #i18n_udate and char string.</td>
* </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>The MeasureUnit module contains units such as length, mass, volume, currency, etc...</td>
+ * </tr>
* </table>
*
* @section CAPI_BASE_UTILS_I18N_MODULE_MAPPING_TABLE Mapping Table
* <td>#i18n_formattable_set_string</td>
* <td>Formattable::setString</td>
* </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create</td>
+ * <td>MeasureUnit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_clone</td>
+ * <td>clone</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_destroy</td>
+ * <td>~MeasureUnit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_get_type</td>
+ * <td>getType</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_get_subtype</td>
+ * <td>getSubtype</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_get_available</td>
+ * <td>getAvailable</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_get_available_with_type</td>
+ * <td>getAvailable</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_get_available_types</td>
+ * <td>getAvailableTypes</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_g_force</td>
+ * <td>createGForce</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_meter_per_second_squared</td>
+ * <td>createMeterPerSecondSquared</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_arc_minute</td>
+ * <td>createArcMinute</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_arc_second</td>
+ * <td>createArcSecond</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_degree</td>
+ * <td>createDegree</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_radian</td>
+ * <td>createRadian</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_revolution_angle</td>
+ * <td>createRevolutionAngle</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_acre</td>
+ * <td>createAcre</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_hectare</td>
+ * <td>createHectare</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_square_centimeter</td>
+ * <td>createSquareCentimeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_square_foot</td>
+ * <td>createSquareFoot</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_square_inch</td>
+ * <td>createSquareInch</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_square_kilometer</td>
+ * <td>createSquareKilometer</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_square_meter</td>
+ * <td>createSquareMeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_square_mile</td>
+ * <td>createSquareMile</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_square_yard</td>
+ * <td>createSquareYard</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_karat</td>
+ * <td>createKarat</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_milligram_per_deciliter</td>
+ * <td>createMilligramPerDeciliter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_millimole_per_liter</td>
+ * <td>createMillimolePerLiter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_part_per_million</td>
+ * <td>createPartPerMillion</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_liter_per_100_kilometers</td>
+ * <td>createLiterPer100Kilometers</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_liter_per_kilometer</td>
+ * <td>createLiterPerKilometer</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_mile_per_gallon</td>
+ * <td>createMilePerGallon</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_mile_per_gallon_imperial</td>
+ * <td>createMilePerGallonImperial</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_bit</td>
+ * <td>createBit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_byte</td>
+ * <td>createByte</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_gigabit</td>
+ * <td>createGigabit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_gigabyte</td>
+ * <td>createGigabyte</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilobit</td>
+ * <td>createKilobit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilobyte</td>
+ * <td>createKilobyte</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_megabit</td>
+ * <td>createMegabit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_megabyte</td>
+ * <td>createMegabyte</td>
+ * </tr>
+ * <tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_terabit</td>
+ * <td>createTerabit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_terabyte</td>
+ * <td>createTerabyte</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_century</td>
+ * <td>createCentury</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_day</td>
+ * <td>createDay</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_hour</td>
+ * <td>createHour</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_microsecond</td>
+ * <td>createMicrosecond</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_millisecond</td>
+ * <td>createMillisecond</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_minute</td>
+ * <td>createMinute</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_month</td>
+ * <td>createMonth</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_nanosecond</td>
+ * <td>createNanosecond</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_second</td>
+ * <td>createSecond</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_week</td>
+ * <td>createWeek</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_year</td>
+ * <td>createYear</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_ampere</td>
+ * <td>createAmpere</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_milliampere</td>
+ * <td>createMilliampere</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_ohm</td>
+ * <td>createOhm</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_volt</td>
+ * <td>createVolt</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_calorie</td>
+ * <td>createCalorie</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_foodcalorie</td>
+ * <td>createFoodcalorie</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_joule</td>
+ * <td>createJoule</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilocalorie</td>
+ * <td>createKilocalorie</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilojoule</td>
+ * <td>createKilojoule</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilowatt_hour</td>
+ * <td>createKilowattHour</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_gigahertz</td>
+ * <td>createGigahertz</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_hertz</td>
+ * <td>createHertz</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilohertz</td>
+ * <td>createKilohertz</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_megahertz</td>
+ * <td>createMegahertz</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_astronomical_unit</td>
+ * <td>createAstronomicalUnit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_centimeter</td>
+ * <td>createCentimeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_decimeter</td>
+ * <td>createDecimeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_fathom</td>
+ * <td>createFathom</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_foot</td>
+ * <td>createFoot</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_furlong</td>
+ * <td>createFurlong</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_inch</td>
+ * <td>createInch</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilometer</td>
+ * <td>createKilometer</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_light_year</td>
+ * <td>createLightYear</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_meter</td>
+ * <td>createMeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_micrometer</td>
+ * <td>createMicrometer</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_mile</td>
+ * <td>createMile</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_mile_scandinavian</td>
+ * <td>createMileScandinavian</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_millimeter</td>
+ * <td>createMillimeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_nanometer</td>
+ * <td>createNanometer</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_nautical_mile</td>
+ * <td>createNauticalMile</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_parsec</td>
+ * <td>createParsec</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_picometer</td>
+ * <td>createPicometer</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_yard</td>
+ * <td>createYard</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_lux</td>
+ * <td>createLux</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_carat</td>
+ * <td>createCarat</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_gram</td>
+ * <td>createGram</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilogram</td>
+ * <td>createKilogram</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_metric_ton</td>
+ * <td>createMetricTon</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_microgram</td>
+ * <td>createMicrogram</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_milligram</td>
+ * <td>createMilligram</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_ounce</td>
+ * <td>createOunce</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_ounce_troy</td>
+ * <td>createOunceTroy</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_pound</td>
+ * <td>createPound</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_stone</td>
+ * <td>createStone</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_ton</td>
+ * <td>createTon</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_gigawatt</td>
+ * <td>createGigawatt</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_horsepower</td>
+ * <td>createHorsepower</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilowatt</td>
+ * <td>createKilowatt</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_megawatt</td>
+ * <td>createMegawatt</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_milliwatt</td>
+ * <td>createMilliwatt</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_watt</td>
+ * <td>createWatt</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_hectopascal</td>
+ * <td>createHectopascal</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_inch_hg</td>
+ * <td>createInchHg</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_millibar</td>
+ * <td>createMillibar</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_millimeter_of_mercury</td>
+ * <td>createMillimeterOfMercury</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_pound_per_square_inch</td>
+ * <td>createPoundPerSquareInch</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilometer_per_hour</td>
+ * <td>createKilometerPerHour</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_knot</td>
+ * <td>createKnot</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_meter_per_second</td>
+ * <td>createMeterPerSecond</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_mile_per_hour</td>
+ * <td>createMilePerHour</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_celsius</td>
+ * <td>createCelsius</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_fahrenheit</td>
+ * <td>createFahrenheit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_generic_temperature</td>
+ * <td>createGenericTemperature</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kelvin</td>
+ * <td>createKelvin</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_acre_foot</td>
+ * <td>createAcreFoot</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_bushel</td>
+ * <td>createBushel</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_centiliter</td>
+ * <td>createCentiliter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cubic_centimeter</td>
+ * <td>createCubicCentimeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cubic_foot</td>
+ * <td>createCubicFoot</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cubic_inch</td>
+ * <td>createCubicInch</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cubic_kilometer</td>
+ * <td>createCubicKilometer</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cubic_meter</td>
+ * <td>createCubicMeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cubic_mile</td>
+ * <td>createCubicMile</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cubic_yard</td>
+ * <td>createCubicYard</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cup</td>
+ * <td>createCup</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cup_metric</td>
+ * <td>createCupMetric</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_deciliter</td>
+ * <td>createDeciliter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_fluid_ounce</td>
+ * <td>createFluidOunce</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_gallon</td>
+ * <td>createGallon</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_gallon_imperial</td>
+ * <td>createGallonImperial</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_hectoliter</td>
+ * <td>createHectoliter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_liter</td>
+ * <td>createLiter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_megaliter</td>
+ * <td>createMegaliter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_milliliter</td>
+ * <td>createMilliliter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_pint</td>
+ * <td>createPint</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_pint_metric</td>
+ * <td>createPintMetric</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_quart</td>
+ * <td>createQuart</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_tablespoon</td>
+ * <td>createTablespoon</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_teaspoon</td>
+ * <td>createTeaspoon</td>
+ * </tr>
* </table>
*/
--- /dev/null
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __UTILS_I18N_MEASURE_UNIT_H__
+#define __UTILS_I18N_MEASURE_UNIT_H__
+
+#include <utils_i18n_types.h>
+
+/**
+ * @file utils_i18n_measure_unit.h
+ * @version 0.1
+ * @brief utils_i18n_measure_unit
+ */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * @ingroup CAPI_BASE_UTILS_I18N_MODULE
+ * @defgroup CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE MeasureUnit
+ * @brief The MeasureUnit unit such as length, mass, volume, currency, etc. coupled with a numeric amount to produce a Measure.
+ * @section CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE_HEADER Required Header
+ * \#include <utils_i18n.h>
+ *
+ * @section CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE_OVERVIEW Overview
+ * @details
+ */
+
+/**
+ * @addtogroup CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE
+ * @{
+ */
+
+/**
+ * @brief Creates the default measure unit object.
+ * @remarks The created object should be released by the caller with the
+ * #i18n_measure_unit_destroy() function.
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Creates a polymorphic clone of the given @a clone object.
+ * @remarks The created object should be released by the caller with the
+ * #i18n_measure_unit_destroy() function.
+ * @since_tizen 3.0
+ *
+ * @param[in] measure_unit The measure unit object to be cloned.
+ * @param[out] clone The clone of the given @a measure_unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_clone(i18n_measure_unit_h measure_unit, i18n_measure_unit_h *clone);
+
+/**
+ * @brief Destroys the measure unit object
+ * @since_tizen 3.0
+ *
+ * @param[in] measure_unit The measure unit object to destroy
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ */
+int i18n_measure_unit_destroy(i18n_measure_unit_h measure_unit);
+
+/**
+ * @brief Destroys the given array of the measure unit objects
+ * @since_tizen 3.0
+ *
+ * @param[in] array The array of measure unit objects to destroy
+ * @param[in] array_size The capacity of the @a dest_array
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ */
+int i18n_measure_unit_array_destroy(i18n_measure_unit_h *array, int32_t array_size);
+
+/**
+ * @brief Gets the measure unit object type.
+ * @remarks The obtained type should not be freed as it is handled by the given measure
+ * unit object.
+ * @since_tizen 3.0
+ *
+ * @param[in] measure_unit The measure unit object
+ * @param[out] type The measure unit object type
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_get_type(i18n_measure_unit_h measure_unit, const char **type);
+
+/**
+ * @brief Gets the measure unit object sub type.
+ * @remarks The obtained subtype should not be freed as it is handled by the given measure
+ * unit object.
+ * @since_tizen 3.0
+ *
+ * @param[in] measure_unit The measure unit object
+ * @param[out] subtype The measure unit object subtype
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_get_subtype(i18n_measure_unit_h measure_unit, const char **subtype);
+
+/**
+ * @brief Gets all of the available units.
+ * @details If there are too many units to fit into @a dest_capacity the returned error code
+ * is #I18N_ERROR_BUFFER_OVERFLOW.
+ * @remarks The obtained array of measure unit objects should be released by the caller
+ * with the #i18n_measure_unit_array_destroy() function.
+ * @since_tizen 3.0
+ *
+ * @param[in] dest_capacity The capacity of the given @a dest_array
+ * @param[out] dest_array The destination buffer
+ * @param[out] available The number of available units
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ * @retval #I18N_ERROR_BUFFER_OVERFLOW Buffer overflow
+ */
+int i18n_measure_unit_get_available(int32_t dest_capacity, i18n_measure_unit_h **dest_array, int32_t *available);
+
+/**
+ * @brief Gets all of the available units for a specific type.
+ * @details If there are too many units to fit into dest_capacity then the error code
+ * is set to #I18N_ERROR_BUFFER_OVERFLOW.
+ * @remarks The obtained array of measure unit objects should be released by the caller
+ * with the #i18n_measure_unit_array_destroy() function.
+ * @since_tizen 3.0
+ *
+ * @param[in] dest_capacity The capacity of the given @a dest_array
+ * @param[in] type The type of the obtained units
+ * @param[out] dest_array The destination buffer
+ * @param[out] available The number of available units
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ * @retval #I18N_ERROR_BUFFER_OVERFLOW Buffer overflow
+ */
+int i18n_measure_unit_get_available_with_type(int32_t dest_capacity, const char *type, i18n_measure_unit_h **dest_array, int32_t *available);
+
+/**
+ * @brief Invokes the given callback function for every available measure unit type.
+ * @since_tizen 3.0
+ *
+ * @param[in] cb The callback function invoked for every available measure unit type
+ * @param[in] user_data The user data passed to the callback function
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ */
+int i18n_measure_unit_foreach_available_type(i18n_measure_unit_types_cb cb, void *user_data);
+
+/**
+ * @brief Gets unit of acceleration: g-force.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_g_force(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of acceleration: meter-per-second-squared.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_meter_per_second_squared(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of angle: arc-minute.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_arc_minute(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of angle: arc-second.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_arc_second(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of angle: degree.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_degree(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of angle: radian.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_radian(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of angle: acre.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_acre(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of angle: hectare.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_hectare(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit area: square-centimeter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_square_centimeter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit area: square-foot.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_square_foot(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit area: square-inch.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_square_inch(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit area: square-kilometer.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_square_kilometer(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit area: square-meter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_square_meter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit area: square-mile.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_square_mile(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit area: square-yard.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_square_yard(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of consumption: liter-per-kilometer.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_liter_per_kilometer(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of consumption: mile-per-gallon.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_mile_per_gallon(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: bit.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_bit(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: byte.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_byte(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: gigabit.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_gigabit(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: gigabyte.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_gigabyte(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: kilobit.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilobit(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: kilobyte.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilobyte(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: megabit.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_megabit(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: megabyte.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_megabyte(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: terabit.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_terabit(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: terabyte.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_terabyte(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: day.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_day(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: hour.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_hour(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: microsecond.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_microsecond(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: millisecond.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_millisecond(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: minute.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_minute(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: month.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_month(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: nanosecond.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_nanosecond(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: second.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_second(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: week.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_week(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: year.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_year(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of electric: ampere.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_ampere(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of electric: milliampere.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_milliampere(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of electric: ohm.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_ohm(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of electric: volt.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_volt(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of energy: calorie.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_calorie(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of energy: foodcalorie.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_foodcalorie(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of energy: joule.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_joule(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of energy: kilocalorie.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilocalorie(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of energy: kilojoule.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilojoule(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of energy: kilowatt-hour.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilowatt_hour(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of frequency: gigahertz.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_gigahertz(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of frequency: hertz.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_hertz(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of frequency: kilohertz.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilohertz(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of frequency: megahertz.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_megahertz(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: astronomical-unit.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_astronomical_unit(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: centimeter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_centimeter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: decimeter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_decimeter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: fathom.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_fathom(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: foot.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_foot(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: furlong.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_furlong(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: inch.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_inch(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: kilometer.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilometer(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: light-year.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_light_year(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: meter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_meter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: micrometer.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_micrometer(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: mile.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_mile(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: millimeter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_millimeter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: nanometer.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_nanometer(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: nautical-mile.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_nautical_mile(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: parsec.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_parsec(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: picometer.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_picometer(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: yard.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_yard(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: lux.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_lux(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: carat.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_carat(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: gram.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_gram(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: kilogram.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilogram(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: metric-ton.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_metric_ton(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: microgram.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_microgram(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: milligram.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_milligram(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: ounce.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_ounce(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: ounce-troy.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_ounce_troy(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: pound.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_pound(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: stone.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_stone(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: ton.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_ton(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of power: gigawatt.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_gigawatt(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of power: horsepower.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_horsepower(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of power: kilowatt.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilowatt(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of power: megawatt.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_megawatt(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of power: milliwatt.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_milliwatt(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of power: watt.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_watt(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of pressure: hectopascal.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_hectopascal(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of pressure: inch-hg.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_inch_hg(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of pressure: millibar.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_millibar(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of pressure: millimeter-of-mercury.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_millimeter_of_mercury(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of pressure: pound-per-square-inch.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_pound_per_square_inch(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of proportion: karat.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_karat(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of speed: kilometer-per-hour.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilometer_per_hour(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of speed: meter-per-second.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_meter_per_second(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of speed: mile-per-hour.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_mile_per_hour(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of temperature: celsius.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_celsius(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of temperature: fahrenheit.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_fahrenheit(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of temperature: kelvin.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kelvin(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: acre-foot.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_acre_foot(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: bushel.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_bushel(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: centiliter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_centiliter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cubic-centimeter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cubic_centimeter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cubic-foot.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cubic_foot(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cubic-inch.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cubic_inch(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cubic-kilometer.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cubic_kilometer(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cubic-meter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cubic_meter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cubic-mile.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cubic_mile(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cubic-yard.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cubic_yard(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cup.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cup(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: deciliter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_deciliter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: fluid-ounce.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_fluid_ounce(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: gallon.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_gallon(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: hectoliter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_hectoliter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: liter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_liter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: megaliter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_megaliter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: milliliter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_milliliter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: pint.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_pint(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: quart.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_quart(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: tablespoon.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_tablespoon(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: teaspoon.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_teaspoon(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @}
+ */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __UTILS_I18N_MEASURE_UNIT_H__*/
#include <utils_i18n_ubrk.h>
#include <utils_i18n_alpha_idx.h>
#include <utils_i18n_formattable.h>
+#include <utils_i18n_measure_unit.h>
/**
* @file utils_i18n.h
* <td>@ref CAPI_BASE_UTILS_I18N_FORMATTABLE_MODULE</td>
* <td>Formattable interconverts between the primitive numeric types (double, long, etc.) as well as the #i18n_udate and char string.</td>
* </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>The MeasureUnit module contains unit such as length, mass, volume, currency, etc..</td>
+ * </tr>
* </table>
*
* @section CAPI_BASE_UTILS_I18N_MODULE_MAPPING_TABLE Mapping Table
* <td>#i18n_formattable_set_string</td>
* <td>Formattable::setString</td>
* </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create</td>
+ * <td>MeasureUnit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_clone</td>
+ * <td>clone</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_destroy</td>
+ * <td>~MeasureUnit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_get_type</td>
+ * <td>getType</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_get_subtype</td>
+ * <td>getSubtype</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_get_available</td>
+ * <td>getAvailable</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_get_available_with_type</td>
+ * <td>getAvailable</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_get_available_types</td>
+ * <td>getAvailableTypes</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_g_force</td>
+ * <td>createGForce</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_meter_per_second_squared</td>
+ * <td>createMeterPerSecondSquared</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_arc_minute</td>
+ * <td>createArcMinute</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_arc_second</td>
+ * <td>createArcSecond</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_degree</td>
+ * <td>createDegree</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_radian</td>
+ * <td>createRadian</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_revolution_angle</td>
+ * <td>createRevolutionAngle</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_acre</td>
+ * <td>createAcre</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_hectare</td>
+ * <td>createHectare</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_square_centimeter</td>
+ * <td>createSquareCentimeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_square_foot</td>
+ * <td>createSquareFoot</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_square_inch</td>
+ * <td>createSquareInch</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_square_kilometer</td>
+ * <td>createSquareKilometer</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_square_meter</td>
+ * <td>createSquareMeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_square_mile</td>
+ * <td>createSquareMile</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_square_yard</td>
+ * <td>createSquareYard</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_karat</td>
+ * <td>createKarat</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_milligram_per_deciliter</td>
+ * <td>createMilligramPerDeciliter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_millimole_per_liter</td>
+ * <td>createMillimolePerLiter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_part_per_million</td>
+ * <td>createPartPerMillion</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_liter_per_100_kilometers</td>
+ * <td>createLiterPer100Kilometers</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_liter_per_kilometer</td>
+ * <td>createLiterPerKilometer</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_mile_per_gallon</td>
+ * <td>createMilePerGallon</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_mile_per_gallon_imperial</td>
+ * <td>createMilePerGallonImperial</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_bit</td>
+ * <td>createBit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_byte</td>
+ * <td>createByte</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_gigabit</td>
+ * <td>createGigabit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_gigabyte</td>
+ * <td>createGigabyte</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilobit</td>
+ * <td>createKilobit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilobyte</td>
+ * <td>createKilobyte</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_megabit</td>
+ * <td>createMegabit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_megabyte</td>
+ * <td>createMegabyte</td>
+ * </tr>
+ * <tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_terabit</td>
+ * <td>createTerabit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_terabyte</td>
+ * <td>createTerabyte</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_century</td>
+ * <td>createCentury</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_day</td>
+ * <td>createDay</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_hour</td>
+ * <td>createHour</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_microsecond</td>
+ * <td>createMicrosecond</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_millisecond</td>
+ * <td>createMillisecond</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_minute</td>
+ * <td>createMinute</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_month</td>
+ * <td>createMonth</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_nanosecond</td>
+ * <td>createNanosecond</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_second</td>
+ * <td>createSecond</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_week</td>
+ * <td>createWeek</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_year</td>
+ * <td>createYear</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_ampere</td>
+ * <td>createAmpere</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_milliampere</td>
+ * <td>createMilliampere</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_ohm</td>
+ * <td>createOhm</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_volt</td>
+ * <td>createVolt</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_calorie</td>
+ * <td>createCalorie</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_foodcalorie</td>
+ * <td>createFoodcalorie</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_joule</td>
+ * <td>createJoule</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilocalorie</td>
+ * <td>createKilocalorie</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilojoule</td>
+ * <td>createKilojoule</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilowatt_hour</td>
+ * <td>createKilowattHour</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_gigahertz</td>
+ * <td>createGigahertz</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_hertz</td>
+ * <td>createHertz</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilohertz</td>
+ * <td>createKilohertz</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_megahertz</td>
+ * <td>createMegahertz</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_astronomical_unit</td>
+ * <td>createAstronomicalUnit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_centimeter</td>
+ * <td>createCentimeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_decimeter</td>
+ * <td>createDecimeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_fathom</td>
+ * <td>createFathom</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_foot</td>
+ * <td>createFoot</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_furlong</td>
+ * <td>createFurlong</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_inch</td>
+ * <td>createInch</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilometer</td>
+ * <td>createKilometer</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_light_year</td>
+ * <td>createLightYear</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_meter</td>
+ * <td>createMeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_micrometer</td>
+ * <td>createMicrometer</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_mile</td>
+ * <td>createMile</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_mile_scandinavian</td>
+ * <td>createMileScandinavian</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_millimeter</td>
+ * <td>createMillimeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_nanometer</td>
+ * <td>createNanometer</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_nautical_mile</td>
+ * <td>createNauticalMile</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_parsec</td>
+ * <td>createParsec</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_picometer</td>
+ * <td>createPicometer</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_yard</td>
+ * <td>createYard</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_lux</td>
+ * <td>createLux</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_carat</td>
+ * <td>createCarat</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_gram</td>
+ * <td>createGram</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilogram</td>
+ * <td>createKilogram</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_metric_ton</td>
+ * <td>createMetricTon</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_microgram</td>
+ * <td>createMicrogram</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_milligram</td>
+ * <td>createMilligram</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_ounce</td>
+ * <td>createOunce</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_ounce_troy</td>
+ * <td>createOunceTroy</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_pound</td>
+ * <td>createPound</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_stone</td>
+ * <td>createStone</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_ton</td>
+ * <td>createTon</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_gigawatt</td>
+ * <td>createGigawatt</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_horsepower</td>
+ * <td>createHorsepower</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilowatt</td>
+ * <td>createKilowatt</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_megawatt</td>
+ * <td>createMegawatt</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_milliwatt</td>
+ * <td>createMilliwatt</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_watt</td>
+ * <td>createWatt</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_hectopascal</td>
+ * <td>createHectopascal</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_inch_hg</td>
+ * <td>createInchHg</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_millibar</td>
+ * <td>createMillibar</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_millimeter_of_mercury</td>
+ * <td>createMillimeterOfMercury</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_pound_per_square_inch</td>
+ * <td>createPoundPerSquareInch</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kilometer_per_hour</td>
+ * <td>createKilometerPerHour</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_knot</td>
+ * <td>createKnot</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_meter_per_second</td>
+ * <td>createMeterPerSecond</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_mile_per_hour</td>
+ * <td>createMilePerHour</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_celsius</td>
+ * <td>createCelsius</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_fahrenheit</td>
+ * <td>createFahrenheit</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_generic_temperature</td>
+ * <td>createGenericTemperature</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_kelvin</td>
+ * <td>createKelvin</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_acre_foot</td>
+ * <td>createAcreFoot</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_bushel</td>
+ * <td>createBushel</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_centiliter</td>
+ * <td>createCentiliter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cubic_centimeter</td>
+ * <td>createCubicCentimeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cubic_foot</td>
+ * <td>createCubicFoot</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cubic_inch</td>
+ * <td>createCubicInch</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cubic_kilometer</td>
+ * <td>createCubicKilometer</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cubic_meter</td>
+ * <td>createCubicMeter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cubic_mile</td>
+ * <td>createCubicMile</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cubic_yard</td>
+ * <td>createCubicYard</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cup</td>
+ * <td>createCup</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_cup_metric</td>
+ * <td>createCupMetric</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_deciliter</td>
+ * <td>createDeciliter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_fluid_ounce</td>
+ * <td>createFluidOunce</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_gallon</td>
+ * <td>createGallon</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_gallon_imperial</td>
+ * <td>createGallonImperial</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_hectoliter</td>
+ * <td>createHectoliter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_liter</td>
+ * <td>createLiter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_megaliter</td>
+ * <td>createMegaliter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_milliliter</td>
+ * <td>createMilliliter</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_pint</td>
+ * <td>createPint</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_pint_metric</td>
+ * <td>createPintMetric</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_quart</td>
+ * <td>createQuart</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_tablespoon</td>
+ * <td>createTablespoon</td>
+ * </tr>
+ * <tr>
+ * <td>@ref CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE</td>
+ * <td>#i18n_measure_unit_create_teaspoon</td>
+ * <td>createTeaspoon</td>
+ * </tr>
* </table>
*/
--- /dev/null
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __UTILS_I18N_MEASURE_UNIT_H__
+#define __UTILS_I18N_MEASURE_UNIT_H__
+
+#include <utils_i18n_types.h>
+
+/**
+ * @file utils_i18n_measure_unit.h
+ * @version 0.1
+ * @brief utils_i18n_measure_unit
+ */
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * @ingroup CAPI_BASE_UTILS_I18N_MODULE
+ * @defgroup CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE MeasureUnit
+ * @brief The MeasureUnit unit such as length, mass, volume, currency, etc. coupled with a numeric amount to produce a Measure.
+ * @section CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE_HEADER Required Header
+ * \#include <utils_i18n.h>
+ *
+ * @section CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE_OVERVIEW Overview
+ * @details
+ */
+
+/**
+ * @addtogroup CAPI_BASE_UTILS_I18N_MEASURE_UNIT_MODULE
+ * @{
+ */
+
+/**
+ * @brief Creates the default measure unit object.
+ * @remarks The created object should be released by the caller with the
+ * #i18n_measure_unit_destroy() function.
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Creates a polymorphic clone of the given @a clone object.
+ * @remarks The created object should be released by the caller with the
+ * #i18n_measure_unit_destroy() function.
+ * @since_tizen 3.0
+ *
+ * @param[in] measure_unit The measure unit object to be cloned.
+ * @param[out] clone The clone of the given @a measure_unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_clone(i18n_measure_unit_h measure_unit, i18n_measure_unit_h *clone);
+
+/**
+ * @brief Destroys the measure unit object
+ * @since_tizen 3.0
+ *
+ * @param[in] measure_unit The measure unit object to destroy
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ */
+int i18n_measure_unit_destroy(i18n_measure_unit_h measure_unit);
+
+/**
+ * @brief Destroys the given array of the measure unit objects
+ * @since_tizen 3.0
+ *
+ * @param[in] array The array of measure unit objects to destroy
+ * @param[in] array_size The capacity of the @a dest_array
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ */
+int i18n_measure_unit_array_destroy(i18n_measure_unit_h *array, int32_t array_size);
+
+/**
+ * @brief Gets the measure unit object type.
+ * @remarks The obtained type should not be freed as it is handled by the given measure
+ * unit object.
+ * @since_tizen 3.0
+ *
+ * @param[in] measure_unit The measure unit object
+ * @param[out] type The measure unit object type
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_get_type(i18n_measure_unit_h measure_unit, const char **type);
+
+/**
+ * @brief Gets the measure unit object sub type.
+ * @remarks The obtained subtype should not be freed as it is handled by the given measure
+ * unit object.
+ * @since_tizen 3.0
+ *
+ * @param[in] measure_unit The measure unit object
+ * @param[out] subtype The measure unit object subtype
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_get_subtype(i18n_measure_unit_h measure_unit, const char **subtype);
+
+/**
+ * @brief Gets all of the available units.
+ * @details If there are too many units to fit into @a dest_capacity the returned error code
+ * is #I18N_ERROR_BUFFER_OVERFLOW.
+ * @remarks The obtained array of measure unit objects should be released by the caller
+ * with the #i18n_measure_unit_array_destroy() function.
+ * @since_tizen 3.0
+ *
+ * @param[in] dest_capacity The capacity of the given @a dest_array
+ * @param[out] dest_array The destination buffer
+ * @param[out] available The number of available units
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ * @retval #I18N_ERROR_BUFFER_OVERFLOW Buffer overflow
+ */
+int i18n_measure_unit_get_available(int32_t dest_capacity, i18n_measure_unit_h **dest_array, int32_t *available);
+
+/**
+ * @brief Gets all of the available units for a specific type.
+ * @details If there are too many units to fit into dest_capacity then the error code
+ * is set to #I18N_ERROR_BUFFER_OVERFLOW.
+ * @remarks The obtained array of measure unit objects should be released by the caller
+ * with the #i18n_measure_unit_array_destroy() function.
+ * @since_tizen 3.0
+ *
+ * @param[in] dest_capacity The capacity of the given @a dest_array
+ * @param[in] type The type of the obtained units
+ * @param[out] dest_array The destination buffer
+ * @param[out] available The number of available units
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ * @retval #I18N_ERROR_BUFFER_OVERFLOW Buffer overflow
+ */
+int i18n_measure_unit_get_available_with_type(int32_t dest_capacity, const char *type, i18n_measure_unit_h **dest_array, int32_t *available);
+
+/**
+ * @brief Invokes the given callback function for every available measure unit type.
+ * @since_tizen 3.0
+ *
+ * @param[in] cb The callback function invoked for every available measure unit type
+ * @param[in] user_data The user data passed to the callback function
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ */
+int i18n_measure_unit_foreach_available_type(i18n_measure_unit_types_cb cb, void *user_data);
+
+/**
+ * @brief Gets unit of acceleration: g-force.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_g_force(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of acceleration: meter-per-second-squared.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_meter_per_second_squared(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of angle: arc-minute.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_arc_minute(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of angle: arc-second.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_arc_second(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of angle: degree.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_degree(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of angle: radian.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_radian(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of angle: acre.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_acre(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of angle: hectare.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_hectare(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit area: square-centimeter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_square_centimeter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit area: square-foot.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_square_foot(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit area: square-inch.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_square_inch(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit area: square-kilometer.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_square_kilometer(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit area: square-meter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_square_meter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit area: square-mile.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_square_mile(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit area: square-yard.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_square_yard(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of consumption: liter-per-kilometer.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_liter_per_kilometer(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of consumption: mile-per-gallon.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_mile_per_gallon(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: bit.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_bit(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: byte.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_byte(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: gigabit.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_gigabit(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: gigabyte.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_gigabyte(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: kilobit.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilobit(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: kilobyte.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilobyte(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: megabit.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_megabit(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: megabyte.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_megabyte(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: terabit.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_terabit(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of digital: terabyte.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_terabyte(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: day.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_day(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: hour.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_hour(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: microsecond.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_microsecond(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: millisecond.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_millisecond(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: minute.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_minute(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: month.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_month(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: nanosecond.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_nanosecond(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: second.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_second(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: week.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_week(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of duration: year.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_year(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of electric: ampere.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_ampere(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of electric: milliampere.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_milliampere(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of electric: ohm.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_ohm(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of electric: volt.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_volt(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of energy: calorie.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_calorie(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of energy: foodcalorie.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_foodcalorie(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of energy: joule.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_joule(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of energy: kilocalorie.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilocalorie(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of energy: kilojoule.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilojoule(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of energy: kilowatt-hour.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilowatt_hour(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of frequency: gigahertz.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_gigahertz(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of frequency: hertz.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_hertz(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of frequency: kilohertz.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilohertz(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of frequency: megahertz.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_megahertz(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: astronomical-unit.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_astronomical_unit(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: centimeter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_centimeter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: decimeter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_decimeter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: fathom.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_fathom(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: foot.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_foot(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: furlong.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_furlong(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: inch.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_inch(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: kilometer.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilometer(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: light-year.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_light_year(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: meter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_meter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: micrometer.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_micrometer(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: mile.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_mile(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: millimeter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_millimeter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: nanometer.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_nanometer(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: nautical-mile.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_nautical_mile(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: parsec.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_parsec(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: picometer.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_picometer(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: yard.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_yard(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of length: lux.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_lux(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: carat.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_carat(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: gram.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_gram(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: kilogram.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilogram(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: metric-ton.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_metric_ton(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: microgram.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_microgram(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: milligram.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_milligram(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: ounce.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_ounce(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: ounce-troy.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_ounce_troy(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: pound.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_pound(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: stone.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_stone(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of mass: ton.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_ton(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of power: gigawatt.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_gigawatt(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of power: horsepower.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_horsepower(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of power: kilowatt.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilowatt(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of power: megawatt.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_megawatt(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of power: milliwatt.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_milliwatt(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of power: watt.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_watt(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of pressure: hectopascal.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_hectopascal(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of pressure: inch-hg.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_inch_hg(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of pressure: millibar.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_millibar(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of pressure: millimeter-of-mercury.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_millimeter_of_mercury(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of pressure: pound-per-square-inch.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_pound_per_square_inch(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of proportion: karat.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_karat(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of speed: kilometer-per-hour.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kilometer_per_hour(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of speed: meter-per-second.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_meter_per_second(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of speed: mile-per-hour.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_mile_per_hour(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of temperature: celsius.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_celsius(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of temperature: fahrenheit.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_fahrenheit(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of temperature: kelvin.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_kelvin(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: acre-foot.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_acre_foot(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: bushel.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_bushel(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: centiliter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_centiliter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cubic-centimeter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cubic_centimeter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cubic-foot.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cubic_foot(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cubic-inch.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cubic_inch(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cubic-kilometer.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cubic_kilometer(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cubic-meter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cubic_meter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cubic-mile.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cubic_mile(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cubic-yard.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cubic_yard(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: cup.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_cup(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: deciliter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_deciliter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: fluid-ounce.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_fluid_ounce(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: gallon.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_gallon(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: hectoliter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_hectoliter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: liter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_liter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: megaliter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_megaliter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: milliliter.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_milliliter(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: pint.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_pint(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: quart.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_quart(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: tablespoon.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_tablespoon(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @brief Gets unit of volume: teaspoon.
+ * @remarks The returned @a measure_unit should be freed by the caller
+ * with i18n_measure_unit_destroy().
+ * @since_tizen 3.0
+ *
+ * @param[out] measure_unit The created measure unit object
+ *
+ * @return @c 0 on success, otherwise a negative error value
+ * @retval #I18N_ERROR_NONE Successful
+ * @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
+ * @retval #I18N_ERROR_OUT_OF_MEMORY Out of memory
+ */
+int i18n_measure_unit_create_teaspoon(i18n_measure_unit_h *measure_unit);
+
+/**
+ * @}
+ */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __UTILS_I18N_MEASURE_UNIT_H__*/
--- /dev/null
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <utils_i18n_measure_unit.h>
+#include <utils_i18n_private.h>
+
+#include <unicode/measunit.h>
+#include <unicode/strenum.h>
+
+int i18n_measure_unit_create(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+
+ *measure_unit = new MeasureUnit();
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return I18N_ERROR_NONE;
+}
+
+int i18n_measure_unit_clone(i18n_measure_unit_h measure_unit, i18n_measure_unit_h *clone)
+{
+ retv_if(measure_unit == NULL || clone == NULL, I18N_ERROR_INVALID_PARAMETER);
+
+ *clone = ((MeasureUnit *) measure_unit)->clone();
+ retv_if(*clone == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return I18N_ERROR_NONE;
+}
+
+int i18n_measure_unit_destroy(i18n_measure_unit_h measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+
+ delete ((MeasureUnit *) measure_unit);
+
+ return I18N_ERROR_NONE;
+}
+
+int i18n_measure_unit_array_destroy(i18n_measure_unit_h *array, int32_t array_size)
+{
+ retv_if(array == NULL, I18N_ERROR_INVALID_PARAMETER);
+
+ for (int i = 0; i < array_size; ++i) {
+ i18n_measure_unit_destroy(array[i]);
+ }
+
+ delete[] array;
+
+ return I18N_ERROR_NONE;
+}
+
+int i18n_measure_unit_get_type(i18n_measure_unit_h measure_unit, const char **type)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ retv_if(type == NULL, I18N_ERROR_INVALID_PARAMETER);
+ *type = ((MeasureUnit *) measure_unit)->getType();
+ retv_if(*type == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return I18N_ERROR_NONE;
+}
+
+int i18n_measure_unit_get_subtype(i18n_measure_unit_h measure_unit, const char **subtype)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ retv_if(subtype == NULL, I18N_ERROR_INVALID_PARAMETER);
+ *subtype = ((MeasureUnit *) measure_unit)->getSubtype();
+ retv_if(*subtype == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return I18N_ERROR_NONE;
+}
+
+int i18n_measure_unit_get_available(int32_t dest_capacity, i18n_measure_unit_h **dest_array, int32_t *available)
+{
+ retv_if(available == NULL, I18N_ERROR_INVALID_PARAMETER);
+ retv_if(dest_array == NULL, I18N_ERROR_INVALID_PARAMETER);
+ retv_if(dest_capacity < 0, I18N_ERROR_INVALID_PARAMETER);
+
+ MeasureUnit *mu_array = new MeasureUnit[dest_capacity];
+ UErrorCode status = U_ZERO_ERROR;
+
+ *available = MeasureUnit::getAvailable(mu_array, dest_capacity, status);
+
+ *dest_array = new i18n_measure_unit_h[dest_capacity];
+ for (int i = 0; i < dest_capacity; ++i) {
+ (*dest_array)[i] = (const i18n_measure_unit_h) mu_array[i].clone();
+ }
+
+ delete[] mu_array;
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_get_available_with_type(int32_t dest_capacity, const char *type, i18n_measure_unit_h **dest_array, int32_t *available)
+{
+ retv_if(available == NULL, I18N_ERROR_INVALID_PARAMETER);
+ retv_if(type == NULL, I18N_ERROR_INVALID_PARAMETER);
+ retv_if(dest_array == NULL, I18N_ERROR_INVALID_PARAMETER);
+ retv_if(dest_capacity < 0, I18N_ERROR_INVALID_PARAMETER);
+
+ MeasureUnit *mu_array = new MeasureUnit[dest_capacity];
+ UErrorCode status = U_ZERO_ERROR;
+
+ *available = MeasureUnit::getAvailable(type, mu_array, dest_capacity, status);
+
+ *dest_array = new i18n_measure_unit_h[dest_capacity];
+ for (int i = 0; i < dest_capacity; ++i) {
+ (*dest_array)[i] = (const i18n_measure_unit_h) mu_array[i].clone();
+ }
+
+ delete[] mu_array;
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_foreach_available_type(i18n_measure_unit_types_cb cb, void *user_data)
+{
+ retv_if(cb == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ StringEnumeration *available = MeasureUnit::getAvailableTypes(status);
+
+ UErrorCode err = U_ZERO_ERROR;
+ int32_t count = available->count(err);
+ for (int i = 0; i < count; i++) {
+ int32_t resultLength = 0;
+ if (cb(available->next(&resultLength, err), user_data) == false ) {
+ break;
+ }
+ }
+
+ delete available;
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_g_force(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createGForce(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_meter_per_second_squared(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMeterPerSecondSquared(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_arc_minute(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createArcMinute(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_arc_second(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createArcSecond(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_degree(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createDegree(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_radian(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createRadian(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_acre(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createAcre(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_hectare(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createHectare(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_square_centimeter(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createSquareCentimeter(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_square_foot(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createSquareFoot(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_square_inch(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createSquareInch(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_square_kilometer(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createSquareKilometer(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_square_meter(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createSquareMeter(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_square_mile(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createSquareMile(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_square_yard(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createSquareYard(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_liter_per_kilometer(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createLiterPerKilometer(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_mile_per_gallon(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMilePerGallon(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_bit(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createBit(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_byte(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createByte(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_gigabit(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createGigabit(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_gigabyte(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createGigabyte(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_kilobit(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createKilobit(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_kilobyte(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createKilobyte(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_megabit(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMegabit(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_megabyte(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMegabyte(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_terabit(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createTerabit(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_terabyte(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createTerabyte(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_day(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createDay(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_hour(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createHour(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_microsecond(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMicrosecond(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_millisecond(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMillisecond(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_minute(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMinute(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_month(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMonth(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_nanosecond(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createNanosecond(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_second(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createSecond(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_week(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createWeek(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_year(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createYear(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_ampere(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createAmpere(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_milliampere(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMilliampere(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_ohm(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createOhm(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_volt(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createVolt(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_calorie(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createCalorie(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_foodcalorie(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createFoodcalorie(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_joule(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createJoule(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_kilocalorie(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createKilocalorie(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_kilojoule(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createKilojoule(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_kilowatt_hour(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createKilowattHour(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_gigahertz(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createGigahertz(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_hertz(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createHertz(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_kilohertz(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createKilohertz(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_megahertz(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMegahertz(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_astronomical_unit(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createAstronomicalUnit(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_centimeter(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createCentimeter(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_decimeter(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createDecimeter(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_fathom(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createFathom(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_foot(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createFoot(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_furlong(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createFurlong(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_inch(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createInch(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_kilometer(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createKilometer(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_light_year(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createLightYear(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_meter(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMeter(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_micrometer(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMicrometer(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_mile(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMile(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_millimeter(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMillimeter(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_nanometer(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createNanometer(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_nautical_mile(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createNauticalMile(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_parsec(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createParsec(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_picometer(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createPicometer(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_yard(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createYard(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_lux(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createLux(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_carat(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createCarat(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_gram(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createGram(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_kilogram(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createKilogram(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_metric_ton(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMetricTon(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_microgram(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMicrogram(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_milligram(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMilligram(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_ounce(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createOunce(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_ounce_troy(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createOunceTroy(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_pound(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createPound(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_stone(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createStone(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_ton(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createTon(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_gigawatt(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createGigawatt(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_horsepower(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createHorsepower(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_kilowatt(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createKilowatt(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_megawatt(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMegawatt(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_milliwatt(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMilliwatt(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_watt(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createWatt(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_hectopascal(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createHectopascal(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_inch_hg(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createInchHg(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_millibar(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMillibar(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_millimeter_of_mercury(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMillimeterOfMercury(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_pound_per_square_inch(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createPoundPerSquareInch(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_karat(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createKarat(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_kilometer_per_hour(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createKilometerPerHour(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_meter_per_second(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMeterPerSecond(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_mile_per_hour(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMilePerHour(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_celsius(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createCelsius(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_fahrenheit(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createFahrenheit(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_kelvin(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createKelvin(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_acre_foot(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createAcreFoot(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_bushel(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createBushel(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_centiliter(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createCentiliter(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_cubic_centimeter(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createCubicCentimeter(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_cubic_foot(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createCubicFoot(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_cubic_inch(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createCubicInch(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_cubic_kilometer(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createCubicKilometer(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_cubic_meter(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createCubicMeter(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_cubic_mile(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createCubicMile(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_cubic_yard(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createCubicYard(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_cup(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createCup(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_deciliter(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createDeciliter(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_fluid_ounce(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createFluidOunce(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_gallon(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createGallon(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_hectoliter(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createHectoliter(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_liter(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createLiter(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_megaliter(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMegaliter(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_milliliter(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createMilliliter(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_pint(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createPint(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_quart(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createQuart(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_tablespoon(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createTablespoon(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+
+int i18n_measure_unit_create_teaspoon(i18n_measure_unit_h *measure_unit)
+{
+ retv_if(measure_unit == NULL, I18N_ERROR_INVALID_PARAMETER);
+ UErrorCode status = U_ZERO_ERROR;
+
+ *measure_unit = MeasureUnit::createTeaspoon(status);
+ retv_if(*measure_unit == NULL, I18N_ERROR_OUT_OF_MEMORY);
+
+ return _i18n_error_mapping(status);
+}
+