* exemplar characters. The locale determines the sorting order
* for both the index characters and the user item names appearing
* under each Index character.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* #i18n_alpha_idx_destroy() function.
*
/**
* @brief Destroys the alphabetic index object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index to be destroyed
*
* they do not replace the existing index characters. The collation
* order for this index is not changed; it remains that of the locale
* that was originally specified when creating this Index.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index Label will be added to this alphabetic index
* @param[in] language The language of the locale
* of the names in the index's locale. Records with duplicate
* names are permitted; they will be kept in the order that
* they were added.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index Record will be added to this alphabetic index
* @param[in] name The display name for the record.
/**
* @brief Sets the next bucket as current bucket in the index.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets
* @param[out] available A flag set to @c true if the next bucket was available,
* @brief Sets the next record as current record in current bucket of the index.
* @details When i18n_alpha_idx_get_next_bucket() is called, record iteration is reset
* to just before the first record in the new bucket.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets with records
* @param[out] available A flag set to @c true if the next record was available,
* @brief Gets the number of <name, data> records in the current bucket.
* @details If the current bucket iteration position is before the first
* label or after the last, return 0.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets with records
* @param[out] records_count Number of <name, data> records in the current bucket
* @details If the iteration is before the first Bucket
* (i18n_alpha_idx_get_next_bucket() has not been called),
* or after the last, return an empty string.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The obtained @a label should be released by the caller with the free() function.
*
* @param[in] index The alphabetic index, which contains buckets
* - the current iteration position is before the first item in this Bucket,
* or after the last,
* - the given @a index parameter is invalid.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
*
* @brief Gets the default label used for abbreviated buckets between other index characters.
* @details For example, consider the labels when Latin and Greek are used:
* X Y Z ... &\#x0391; &\#x0392; &\#x0393;
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The obtained @a label should be released by the caller with the free() function.
*
* @param[in] index The alphabetic index, which contains buckets with records
* @details An inflow label will be automatically inserted if two otherwise-adjacent label characters
* are from different scripts, e.g. Latin and Cyrillic, and a third script,
* e.g. Greek, sorts between the two. The default inflow character is an ellipsis (...)
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets with records
* @param[in] label The new inflow label
/**
* @brief Gets the special label used for items that sort after the last normal label,
* and that would not otherwise have an appropriate label.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The obtained @a label should be released by the caller with the free() function.
*
* @param[in] index The alphabetic index, which contains buckets with records
/**
* @brief Sets the special label used for items that sort after the last normal label,
* and that would not otherwise have an appropriate label.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets with records
* @param[in] label The new overflow label
/**
* @brief Gets the special label used for items that sort before the first normal label,
* and that would not otherwise have an appropriate label.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The obtained @a label should be released by the caller with the free() function.
*
* @param[in] index The alphabetic index, which contains buckets with records
/**
* @brief Sets the special label used for items that sort before the first normal label,
* and that would not otherwise have an appropriate label.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets with records
* @param[in] label The new underflow label
/**
* @brief Gets the limit on the number of labels permitted in the index.
* @details The number does not include over, under and inflow labels.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets with records
* @param[out] max_label_count The maximum number of labels
* Currently, if the number is exceeded, then every nth item
* is removed to bring the count down. A more sophisticated
* mechanism may be available in the future.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets with records
* @param[in] max_label_count The new maximum number of labels
* @brief Remove all records from the index.
* @details The set of Buckets, which define the headings under which records are classified,
* is not altered.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets with records
*
/**
* @brief Gets the number of labels in this index.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks Note: may trigger lazy index construction.
*
* @param[in] index The alphabetic index, which contains buckets with records
/**
* @brief Gets the total number of records in this index, that is, the number of
* <name, data> pairs added.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets with records
* @param[out] record_count The number of records in this index, that is,
* @details The name need not be in the index.
* A Record will not be added to the index by this function.
* Bucket numbers are zero-based, in Bucket iteration order.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets with records
* @param[in] item_name The name whose bucket position in the index is to be determined
* @brief Gets the zero based index of the current bucket of this index.
* @details Sets the variable pointed by the @a bucket_index to -1 if no iteration
* is in process.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets with records
* @param[out] bucket_index The index of the current Bucket
/**
* @brief Gets the type of the label for the current Bucket
* (selected by the iteration over Buckets).
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets with records
* @param[out] type The alphabetic index label type
* @details If the Record iteration position is before the first or after the last record,
* sets the string pointed by the @a record_name parameter to NULL and returns
* the #I18N_ERROR_INDEX_OUTOFBOUNDS error code.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The obtained @a record_name should be released by the caller with the free() function.
*
* @param[in] index The alphabetic index, which contains buckets with records
/**
* @brief Resets the bucket iteration for this index.
* @details The next call to i18n_alpha_idx_get_next_bucket() will restart the iteration at the first label.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets with records
*
/**
* @brief Resets the record iteration for this index to before the first Record in the current Bucket.
* @details The next call to i18n_alpha_idx_get_next_record() will restart the iteration at the first label.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] index The alphabetic index, which contains buckets with records
*
/**
* @brief Creates a field position object with a non-specified field.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* i18n_field_position_destroy() function.
*
* @brief Creates a field position object for the given field.
* @details The only fields currently supported are the fields accepted by the date formatter,
* see #i18n_udate_format_field_e.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* i18n_field_position_destroy() function.
*
/**
* @brief Destroys the field position object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] field_position The field position object to destroy
*
/**
* @brief Creates a clone of the given @a field_position object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The @a clone object should be released by the caller with the
* i18n_field_position_destroy() function.
*
/**
* @brief Retrieves the field identifier.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] field_position The field_position object
* @param[out] field The field identifier
/**
* @brief Retrieves the index of the first character in the requested field.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] field_position The field position object
* @param[out] begin_index The index of the first character in the requested field
/**
* @brief Retrieves the index of the character following the last character in the requested field.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] field_position The field position object
* @param[out] end_index The index of the character following the last character
/**
* @brief Sets the field.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] field_position The field_position object
* @param[in] field The new value of the field
/**
* @brief Sets the begin index.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] field_position The field_position object
* @param[in] begin_index The new value of the begin index
/**
* @brief Sets the end index.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] field_position The field_position object
* @param[in] end_index The new value of the end index
/**
* @brief Destroys the format object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] format The format object to destroy
*
/**
* @brief Creates a polymorphic clone of the given @a format object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The cloned object should be released by the caller with the
* i18n_format_destroy() function.
*
/**
* @brief Formats an object to produce a string.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The @a append_to parameter should be released by the caller with the
* free() function.
*
/**
* @brief Formats an object to produce a string.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The @a append_to parameter should be released by the caller with the
* free() function.
*
/**
* @brief Parses a string to produce an object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The obtained @a result formattable object should be released by the caller with the
* i18n_formattable_destroy() function.
*
/**
* @brief Parses a string to produce an object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The obtained @a result formattable object should be released by the caller with the
* i18n_formattable_destroy() function.
*
* @deprecated Deprecated since 5.0. Use i18n_format_get_locale_id() instead.
* @brief Gets the locale for the given format object.
* @details You can choose between valid and actual locale.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks Both @a language and @a country should be released by the caller with the free() function.
*
* @param[in] format The format object
/**
* @brief Creates a new default #i18n_formattable_h.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* #i18n_formattable_destroy() function.
*
/**
* @brief Creates a new #i18n_formattable_h handle with an #i18n_udate instance.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* #i18n_formattable_destroy() function.
*
/**
* @brief Creates a new #i18n_formattable_h handle with a double value.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* #i18n_formattable_destroy() function.
*
/**
* @brief Creates a new #i18n_formattable_h handle with a long value.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* #i18n_formattable_destroy() function.
*
/**
* @brief Creates a new #i18n_formattable_h handle with an int64_t value.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* #i18n_formattable_destroy() function.
*
/**
* @brief Creates a new #i18n_formattable_h handle with a char string pointer.
* @details Assumes that the char string is null terminated.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* #i18n_formattable_destroy() function.
*
/**
* @brief Creates a new #i18n_formattable_h handle with an array of
* #i18n_formattable_h handles.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* #i18n_formattable_destroy() function.
*
/**
* @brief Releases the given #i18n_formattable_h handle.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] formattable A handle to the formattable object to be released
*
/**
* @brief Clones the given formattable handle with the related object to the
* @a clone handle.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @details Clones can be used concurrently in multiple threads.
* @remarks The cloned object should be released by the caller with the
* #i18n_formattable_destroy() function.
/**
* @brief Gets the array value and count of the given formattable object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks If this object is not of type #I18N_FORMATTABLE_TYPE_ARRAY then the
* result is undefined. The obtained array should be released by the
* caller with the free() function.
/**
* @brief Gets the date value of the given formattable object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks If this object is not of type #I18N_FORMATTABLE_TYPE_DATE then the
* result is undefined.
*
/**
* @brief Gets the double value of the given formattable object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks If this object is not of type #I18N_FORMATTABLE_TYPE_DOUBLE then the
* result is undefined.
*
/**
* @brief Gets the int64 value of the given formattable object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks If this object is not of type #I18N_FORMATTABLE_TYPE_INT64 then the
* result is undefined.
*
* minimum long value, as appropriate, is set to @a value
* and the #I18N_ERROR_INVALID_FORMAT error code is returned by the
* function.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] formattable A handle to the formattable object
* @param[out] value A pointer to a int32_t variable which will be filled
/**
* @brief Gets the string value of the given formattable object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks If the type is not a string, the function returns the
* #I18N_ERROR_INVALID_FORMAT error code and the value is set to @c
* NULL. The @a value should be released by the caller with the free() function.
/**
* @brief Gets the data type of the given formattable object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] formattable A handle to the formattable object
* @param[out] type A pointer to an #i18n_formattable_type_e variable which
* @brief Sets the variable pointed by the @a is_numeric pointer to @c true if
* the data type of the given formattable object is #I18N_FORMATTABLE_TYPE_DOUBLE,
* #I18N_FORMATTABLE_TYPE_LONG or #I18N_FORMATTABLE_TYPE_INT64.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] formattable A handle to the formattable object
* @param[out] is_numeric A pointer to a boolean variable which will be filled by
* @brief Sets the variable pointed by the @a not_equal pointer to @c true if
* the given @a formattable object is not equal to the given @a other
* formattable object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] formattable A handle to the formattable object
* @param[in] other A handle to the other formattable object
* @brief Sets the variable pointed by the @a equal pointer to @c true if the
* given @a formattable object is equal to the given @a other
* formattable object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] formattable A handle to the formattable object
* @param[in] other A handle to the other formattable object
* @brief Sets the object pointed by the @a element pointer to the element at
* the @a index position in the array stored by the given formattable
* object (if its type is #I18N_FORMATTABLE_TYPE_ARRAY).
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks If this object is not of type #I18N_FORMATTABLE_TYPE_ARRAY then the
* result is undefined.
*
/**
* @brief Sets the array value and count of the given formattable object and
* changes the type to #I18N_FORMATTABLE_TYPE_ARRAY.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] formattable A handle to the formattable object
* @param[in] array An array of handles to the formattable objects
/**
* @brief Sets the date value of the given formattable object and changes the
* type to the #I18N_FORMATTABLE_TYPE_DATE.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] formattable A handle to the formattable object
* @param[in] date The new i18n_udate value to be set
/**
* @brief Sets the double value of the given formattable object and changes
* the type to the #I18N_FORMATTABLE_TYPE_DOUBLE.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] formattable A handle to the formattable object
* @param[in] value The new double value to be set
/**
* @brief Sets the int64 value of the given formattable object and changes the
* type to the #I18N_FORMATTABLE_TYPE_INT64.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] formattable A handle to the formattable object
* @param[in] value The new int64_t value to be set
/**
* @brief Sets the long value of the given formattable object and changes the
* type to the #I18N_FORMATTABLE_TYPE_LONG.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] formattable A handle to the formattable object
* @param[in] value The new int32_t value to be set
/**
* @brief Sets the string value of the given formattable object and changes
* the type to the #I18N_FORMATTABLE_TYPE_STRING.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] formattable A handle to the formattable object
* @param[in] string_to_copy The new string value to be set
/**
* @deprecated Deprecated since 5.0. Use i18n_measure_format_create_from_locale_id() instead.
* @brief Creates the measure format object using given locale.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* i18n_measure_format_destroy() function.
*
/**
* @brief Destroys the measure format object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] measure_format The measure format object to destroy
*
/**
* @brief Creates a polymorphic clone of the given @a measure_format object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The @a clone object should be released by the caller with the
* i18n_measure_format_destroy() function.
*
/**
* @brief Formats an object to produce a string.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The obtained @a append_to string is actually a concatenation of the given input string and
* the result of the function (appended to the string). Actually, the @a append_to
* buffer is being reallocated inside the function which means that the buffer is not
/**
* @brief Parses a string to produce an object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The obtained @a result object should be released by the caller
* with the i18n_formattable_destroy() function.
*
/**
* @deprecated Deprecated since 5.0. Use i18n_measure_format_create_currency_format_from_locale_id() instead.
* @brief Gets a formatter for currency amount objects in the given locale.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* i18n_measure_format_destroy() function.
*
/**
* @brief Gets a formatter for currency amount objects in the default locale.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* i18n_measure_format_destroy() function.
*
/**
* @brief Creates the default measure unit object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* #i18n_measure_unit_destroy() function.
*
/**
* @brief Creates a polymorphic clone of the given @a clone object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* #i18n_measure_unit_destroy() function.
*
/**
* @brief Destroys the measure unit object
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] measure_unit The measure unit object to destroy
*
/**
* @brief Destroys the given array of the measure unit objects
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] array The array of measure unit objects to destroy
* @param[in] array_size The capacity of the @a dest_array
/**
* @brief Gets the measure unit object type.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The obtained type should be released by the caller with the free() function.
*
* @param[in] measure_unit The measure unit object
/**
* @brief Gets the measure unit object sub type.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The obtained subtype should be released by the caller with the free() function.
*
* @param[in] measure_unit The measure unit object
* then the returned array is truncated to the first @a max_count units
* and the returned error code is #I18N_ERROR_BUFFER_OVERFLOW.
*
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The obtained array of measure unit objects should be released by the caller
* with the #i18n_measure_unit_array_destroy() function.
*
* then the returned array is truncated to the first @a max_count units
* and the returned error code is #I18N_ERROR_BUFFER_OVERFLOW.
*
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The obtained array of measure unit objects should be released by the caller
* with the #i18n_measure_unit_array_destroy() function.
*
/**
* @brief Invokes the given callback function for every available measure unit type.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @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
/**
* @brief Gets unit of acceleration: g-force.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of acceleration: meter-per-second-squared.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of angle: arc-minute.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of angle: arc-second.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of angle: degree.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of angle: radian.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of area: acre.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of area: hectare.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit area: square-centimeter.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit area: square-foot.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit area: square-inch.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit area: square-kilometer.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit area: square-meter.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit area: square-mile.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit area: square-yard.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of consumption: liter-per-kilometer.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of consumption: mile-per-gallon.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of digital: bit.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of digital: byte.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of digital: gigabit.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of digital: gigabyte.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of digital: kilobit.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of digital: kilobyte.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of digital: megabit.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of digital: megabyte.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of digital: terabit.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of digital: terabyte.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of duration: day.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of duration: hour.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of duration: microsecond.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of duration: millisecond.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of duration: minute.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of duration: month.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of duration: nanosecond.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of duration: second.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of duration: week.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of duration: year.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of electric: ampere.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of electric: milliampere.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of electric: ohm.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of electric: volt.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of energy: calorie.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of energy: foodcalorie.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of energy: joule.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of energy: kilocalorie.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of energy: kilojoule.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of energy: kilowatt-hour.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of frequency: gigahertz.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of frequency: hertz.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of frequency: kilohertz.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of frequency: megahertz.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: astronomical-unit.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: centimeter.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: decimeter.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: fathom.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: foot.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: furlong.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: inch.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: kilometer.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: light-year.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: meter.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: micrometer.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: mile.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: millimeter.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: nanometer.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: nautical-mile.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: parsec.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: picometer.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of length: yard.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of illuminance: lux.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of mass: carat.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of mass: gram.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of mass: kilogram.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of mass: metric-ton.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of mass: microgram.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of mass: milligram.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of mass: ounce.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of mass: ounce-troy.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of mass: pound.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of mass: stone.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of mass: ton.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of power: gigawatt.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of power: horsepower.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of power: kilowatt.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of power: megawatt.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of power: milliwatt.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of power: watt.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of pressure: hectopascal.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of pressure: inch-hg.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of pressure: millibar.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of pressure: millimeter-of-mercury.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of pressure: pound-per-square-inch.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of proportion: karat.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of speed: kilometer-per-hour.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of speed: meter-per-second.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of speed: mile-per-hour.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of temperature: celsius.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of temperature: fahrenheit.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of temperature: kelvin.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: acre-foot.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: bushel.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: centiliter.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: cubic-centimeter.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: cubic-foot.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: cubic-inch.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: cubic-kilometer.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: cubic-meter.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: cubic-mile.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: cubic-yard.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: cup.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: deciliter.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: fluid-ounce.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: gallon.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: hectoliter.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: liter.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: megaliter.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: milliliter.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: pint.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: quart.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: tablespoon.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Gets unit of volume: teaspoon.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The returned @a measure_unit should be freed by the caller
* with i18n_measure_unit_destroy().
*
/**
* @brief Creates a parse position object.
* @details The index is set to position 0.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* i18n_parse_position_destroy() function.
*
/**
* @brief Creates a parse position object with the given initial index.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The created object should be released by the caller with the
* i18n_parse_position_destroy() function.
*
/**
* @brief Destroys the parse position object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] parse_position The parse position object to destroy
*
/**
* @brief Creates a clone of the given @a parse_position object.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
* @remarks The @a clone object should be released by the caller with the
* i18n_parse_position_destroy() function.
*
* @details On input to a parse function, this is the index of the character
* at which parsing will begin; on output, it is the index of the character
* following the last character parsed.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] parse_position The parse position object
* @param[out] index The current index
/**
* @brief Sets the current parse position.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] parse_position The parse position object
* @param[in] index The new index
* @details Formatters should set this before returning an error code
* from their parse_object() function. The default value is -1
* if this is not set.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] parse_position The parse position object
* @param[in] error_index The error index
/**
* @brief Retrieves the index at which an error occurred, or -1 if the error index
* has not been set.
- * @since_tizen @if MOBILE 3.0 @elseif WEARABLE 2.3.2 @endif
+ * @since_tizen 2.3.2
*
* @param[in] parse_position The parse position object
* @param[out] error_index The index at which an error occurred
/**
* @brief Returns the "unknown" time zone.
* @details #i18n_timezone_create() returns a mutable clone of this time zone if the input ID is not recognized.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] timezone the "unknown" time zone.
*
* @brief The GMT (=UTC) time zone has a raw offset of zero and does not use daylight savings time.
* @details This is a commonly used time zone.\n
* Note: For backward compatibility reason, the ID used by the time zone returned by this method is "GMT", although the I18N's canonical ID for the GMT time zone is "Etc/GMT".
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] timezone the GMT/UTC time zone.
*
/**
* @brief Creates an i18n_timezone_h for the given timezone_id.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] timezone the GMT/UTC time zone.
* @param[in] timezone_id the ID for an i18n_timezone_h, such as "America/Los_Angeles", or a custom ID such as "GMT-8:00".
/**
* @brief Destroys an i18n_timezone_h.
* @details Once destroyed, an i18n_timezone_h may no longer be used.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone The i18n_timezone_h to destroy.
*
/**
* @brief Returns an enumeration over system time zone IDs with the given filter conditions.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone_type The system time zone type.
* @param[in] region The ISO 3166 two-letter country code or UN M.49 three-digit area code. When NULL, no filtering done by region.
/**
* @brief Returns an enumeration over all recognized time zone IDs.
* (i.e., all strings that #i18n_timezone_create() accepts)
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] cb The callback function to get an enumeration object, owned by the caller.
* @param[in] user_data The user data to be passed to the callback function.
* which corresponds to Mountain Standard Time in the winter and Mountain Daylight Time in the summer,
* and "America/Phoenix", which corresponds to Mountain Standard Time year-round, even in the summer.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] raw_offset an offset from GMT in milliseconds, ignoring the effect of daylight savings time, if any
* @param[in] cb The callback function to get an enumeration object, owned by the caller.
/**
* @brief Returns an enumeration over time zone IDs associated with the given country.
* @details Some zones are affiliated with no country (e.g., "UTC"); these may also be retrieved, as a group.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] country The ISO 3166 two-letter country code, or NULL to retrieve zones not affiliated with any country.
* @param[in] cb The callback function to get an enumeration object, owned by the caller.
* @brief Returns the number of IDs in the equivalency group that includes the given ID.
* @details An equivalency group contains zones that have the same GMT offset and rules.\n
* The returned count includes the given ID; it is always >= 1. The given ID must be a system time zone. If it is not, returns zero.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone_id a system time zone ID
* @param[out] count the number of zones in the equivalency group containing 'timezone_id', or zero if 'timezone_id' is not a valid system ID
* For some value of 'index', the returned value will be equal to the given id.
* If the given id is not a valid system time zone,
* or if 'index' is out of range, then returns an empty string.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone_id a system time zone ID
* @param[in] index a value from 0 to n-1, where n is the out parameter value from i18n_timezone_count_equivalent_ids(timezone_id, &n)
*
* To query the system for the current timezone, use i18n_timezone_detect_host_timezone().
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] timezone A default i18n_timezone_h. Clients are responsible for deleting the time zone object returned.
*
* This function is not thread safe. It is an error for multiple threads to concurrently attempt to set
* the default time zone, or for any thread to attempt to reference the default zone while another thread is setting it.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @remarks Do not use unless you know what you are doing.
*
* @param[in] timezone The given timezone.
* @brief Returns the timezone data version currently used by I18N.
* @remarks The specific error code can be obtained using the get_last_result()
* method. Error codes are described in #i18n_error_code_e description.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @return the version string, such as "2007f"
* @exception #I18N_ERROR_NONE Successful
* @details The region code is either ISO 3166 2-letter country code or UN M.49 3-digit area code.
* When the time zone is not associated with a specific location, for example - "Etc/UTC",
* "EST5EDT", then this method returns "001" (UN M.49 area code for World).
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone_id The system time zone ID.
* @param[out] region Output buffer for receiving the region code.
* @brief Returns the time zone raw and GMT offset for the given moment in time.
* @details Upon return, local-millis = GMT-millis + rawOffset + dstOffset. All computations are performed
* in the proleptic Gregorian calendar.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone The i18n_timezone_h to get an offset.
* @param[in] date moment in time for which to return offsets, in units of milliseconds from January 1, 1970 0:00 GMT, either GMT time or local wall time, depending on `local'.
/**
* @brief Sets the i18n_timezone_h's raw GMT offset
* (i.e., the number of milliseconds to add to GMT to get local time, before taking daylight savings time into account).
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone The i18n_timezone_h to set a raw offset.
* @param[in] offset_milliseconds The new raw GMT offset for this time zone.
/**
* @brief Gets the i18n_timezone_h's raw GMT offset (i.e., the number of milliseconds
* to add to GMT to get local time, before taking daylight savings time into account).
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone The i18n_timezone_h to get a raw offset.
* @param[out] offset_milliseconds The i18n_timezone_h's raw GMT offset.
/**
* @brief Fills in "timezone_id" with the i18n_timezone_h's ID.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone The i18n_timezone_h to get a timezone ID.
* @param[out] timezone_id Receives this i18n_timezone_h's ID.
* </code>\n
* the timezone's GMT offset and daylight-savings rules don't change to those for Los Angeles.
* They're still those for New York. Only the ID has changed.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone The i18n_timezone_h to set a timezone ID.
* @param[in] timezone_id The new time zone ID.
* @brief Returns a name of this time zone suitable for presentation to the user in the default locale.
* @details This method returns the long name, not including daylight savings.
* If the display name is not available for the locale, then this method returns a string in the localized GMT offset format such as GMT[+-]HH:mm.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone The i18n_timezone_h to get a display name.
* @param[out] display_name The human-readable name of this time zone in the default locale.
* @brief Returns a name of this time zone suitable for presentation to the user in the default locale.
* @details This method returns the long name, not including daylight savings.
* If the display name is not available for the locale, then this method returns a string in the localized GMT offset format such as GMT[+-]HH:mm.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone The i18n_timezone_h to get a display name.
* @param[in] language The language in which to supply the display name. This parameter can be NULL; if so, the locale is initialized to match the current default locale.
* @brief Returns a name of this time zone suitable for presentation to the user in the default locale.
* @details If the display name is not available for the locale,
* then this method returns a string in the localized GMT offset format such as GMT[+-]HH:mm.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone The i18n_timezone_h to get a display name.
* @param[in] daylight If true, display_name is filled with the daylight savings name.
* @brief Returns a name of this time zone suitable for presentation to the user in the default locale.
* @details If the display name is not available for the locale,
* then this method returns a string in the localized GMT offset format such as GMT[+-]HH:mm.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone The i18n_timezone_h to get a display name.
* @param[in] daylight If true, display_name is filled with the daylight savings name.
/**
* @brief Queries if this time zone uses daylight savings time.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone The i18n_timezone_h to know whether uses daylight savings time or not.
* @param[out] daylight_time True if this time zone uses daylight savings time, False, otherwise.
/**
* @brief Returns true if this zone has the same rule and offset as another zone.
* @details That is, if this zone differs only in ID, if at all.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone The i18n_timezone_h to know whether has the same rule or not.
* @param[in] other The i18n_timezone_h to be compared with.
/**
* @brief Clones i18n_timezone_h polymorphically.
* @details Clients are responsible for deleting the i18n_timezone_h cloned.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone The i18n_timezone_h to clone.
* @param[out] clone A new copy of this i18n_timezone_h.
* Otherwise, 0 (zero) is returned.\n
* If an underlying TimeZone implementation subclass supports historical Daylight Saving Time changes,
* this method returns the known latest daylight saving value.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone The i18n_timezone_h to get DST savings.
* @param[out] dst_savings The amount of saving time in milliseconds.
/**
* @brief Enumeration for error codes to replace exception handlings.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_ERROR_NONE = TIZEN_ERROR_NONE, /**< No error, no warning */
I18N_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid function parameter */
I18N_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< Permission denied */
- I18N_ERROR_MESSAGE_PARSE = TIZEN_ERROR_UTILITY_ICU | 0x0D, /**< Unable to parse a message (message format). @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_PARSE = TIZEN_ERROR_UTILITY_ICU | 0x0E, /**< Equivalent to Java ParseException. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_TRUNCATED_CHAR_FOUND = TIZEN_ERROR_UTILITY_ICU | 0x0F, /**< Character conversion: Incomplete input sequence. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_ILLEGAL_CHAR_FOUND = TIZEN_ERROR_UTILITY_ICU | 0x10, /**< Character conversion: Illegal input sequence/combination of input units. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_INVALID_TABLE_FORMAT = TIZEN_ERROR_UTILITY_ICU | 0x11, /**< Conversion table file found, but corrupted. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_INVALID_TABLE_FILE = TIZEN_ERROR_UTILITY_ICU | 0x12, /**< Conversion table file not found. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_ILLECAL_ESCAPE_SEQUENCE = TIZEN_ERROR_UTILITY_ICU | 0x13, /**< ISO-2022 illegal escape sequence. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_UNSUPPORTED_ESCAPE_SEQUENCE = TIZEN_ERROR_UTILITY_ICU | 0x14, /**< ISO-2022 unsupported escape sequence. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_NO_SPACE_AVAILABLE = TIZEN_ERROR_UTILITY_ICU | 0x15, /**< No space available for in-buffer expansion for Arabic shaping. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_CE_NOT_FOUND = TIZEN_ERROR_UTILITY_ICU | 0x16, /**< Currently used only while setting variable top, but can be used generally. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_PRIMARY_TOO_LONG = TIZEN_ERROR_UTILITY_ICU | 0x17, /**< User tried to set variable top to a primary that is longer than two bytes. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_STATE_TOO_OLD = TIZEN_ERROR_UTILITY_ICU | 0x18, /**< ICU cannot construct a service from this state, as it is no longer supported. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_ENUM_OUT_OF_SYNC = TIZEN_ERROR_UTILITY_ICU | 0x19, /**< UEnumeration out of sync with underlying collection. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_INVARIANT_CONVERSION = TIZEN_ERROR_UTILITY_ICU | 0x1A, /**< Unable to convert a UChar* string to char* with the invariant converter. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_INVALID_STATE = TIZEN_ERROR_UTILITY_ICU | 0x1B, /**< Requested operation can not be completed with ICU in its current state. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_MALFORMED_SET = TIZEN_ERROR_UTILITY_ICU | 0x1C, /**< A UnicodeSet pattern is invalid. @if MOBILE (Since 2.3.1) @endif*/
- I18N_WARNING_STRING_NOT_TERMINATED = TIZEN_ERROR_UTILITY_ICU | 0x1D, /**< String not terminated with NULL. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_STD3_ASCII_RULES = TIZEN_ERROR_UTILITY_ICU | 0x1E, /**< Argument does not satisfy STD3 rules. @if MOBILE (Since 2.3.1) @endif*/
- I18N_ERROR_UNASSIGNED = TIZEN_ERROR_UTILITY_ICU | 0x1F, /**< Unassigned code points are found. @if MOBILE (Since 2.3.1) @endif*/
- I18N_WARNING_SORT_KEY_TOO_SHORT = TIZEN_ERROR_UTILITY_ICU | 0x20, /**< Number of levels requested in getBound is higher than the number of levels in the sort key. @if MOBILE (Since 2.3.1) @endif*/
+ I18N_ERROR_MESSAGE_PARSE = TIZEN_ERROR_UTILITY_ICU | 0x0D, /**< Unable to parse a message (message format). (Since 2.3.1)*/
+ I18N_ERROR_PARSE = TIZEN_ERROR_UTILITY_ICU | 0x0E, /**< Equivalent to Java ParseException. (Since 2.3.1)*/
+ I18N_ERROR_TRUNCATED_CHAR_FOUND = TIZEN_ERROR_UTILITY_ICU | 0x0F, /**< Character conversion: Incomplete input sequence. (Since 2.3.1)*/
+ I18N_ERROR_ILLEGAL_CHAR_FOUND = TIZEN_ERROR_UTILITY_ICU | 0x10, /**< Character conversion: Illegal input sequence/combination of input units. (Since 2.3.1)*/
+ I18N_ERROR_INVALID_TABLE_FORMAT = TIZEN_ERROR_UTILITY_ICU | 0x11, /**< Conversion table file found, but corrupted. (Since 2.3.1)*/
+ I18N_ERROR_INVALID_TABLE_FILE = TIZEN_ERROR_UTILITY_ICU | 0x12, /**< Conversion table file not found. (Since 2.3.1)*/
+ I18N_ERROR_ILLECAL_ESCAPE_SEQUENCE = TIZEN_ERROR_UTILITY_ICU | 0x13, /**< ISO-2022 illegal escape sequence. (Since 2.3.1)*/
+ I18N_ERROR_UNSUPPORTED_ESCAPE_SEQUENCE = TIZEN_ERROR_UTILITY_ICU | 0x14, /**< ISO-2022 unsupported escape sequence. (Since 2.3.1)*/
+ I18N_ERROR_NO_SPACE_AVAILABLE = TIZEN_ERROR_UTILITY_ICU | 0x15, /**< No space available for in-buffer expansion for Arabic shaping. (Since 2.3.1)*/
+ I18N_ERROR_CE_NOT_FOUND = TIZEN_ERROR_UTILITY_ICU | 0x16, /**< Currently used only while setting variable top, but can be used generally. (Since 2.3.1)*/
+ I18N_ERROR_PRIMARY_TOO_LONG = TIZEN_ERROR_UTILITY_ICU | 0x17, /**< User tried to set variable top to a primary that is longer than two bytes. (Since 2.3.1)*/
+ I18N_ERROR_STATE_TOO_OLD = TIZEN_ERROR_UTILITY_ICU | 0x18, /**< ICU cannot construct a service from this state, as it is no longer supported. (Since 2.3.1)*/
+ I18N_ERROR_ENUM_OUT_OF_SYNC = TIZEN_ERROR_UTILITY_ICU | 0x19, /**< UEnumeration out of sync with underlying collection. (Since 2.3.1)*/
+ I18N_ERROR_INVARIANT_CONVERSION = TIZEN_ERROR_UTILITY_ICU | 0x1A, /**< Unable to convert a UChar* string to char* with the invariant converter. (Since 2.3.1)*/
+ I18N_ERROR_INVALID_STATE = TIZEN_ERROR_UTILITY_ICU | 0x1B, /**< Requested operation can not be completed with ICU in its current state. (Since 2.3.1)*/
+ I18N_ERROR_MALFORMED_SET = TIZEN_ERROR_UTILITY_ICU | 0x1C, /**< A UnicodeSet pattern is invalid. (Since 2.3.1)*/
+ I18N_WARNING_STRING_NOT_TERMINATED = TIZEN_ERROR_UTILITY_ICU | 0x1D, /**< String not terminated with NULL. (Since 2.3.1)*/
+ I18N_ERROR_STD3_ASCII_RULES = TIZEN_ERROR_UTILITY_ICU | 0x1E, /**< Argument does not satisfy STD3 rules. (Since 2.3.1)*/
+ I18N_ERROR_UNASSIGNED = TIZEN_ERROR_UTILITY_ICU | 0x1F, /**< Unassigned code points are found. (Since 2.3.1)*/
+ I18N_WARNING_SORT_KEY_TOO_SHORT = TIZEN_ERROR_UTILITY_ICU | 0x20, /**< Number of levels requested in getBound is higher than the number of levels in the sort key. (Since 2.3.1)*/
I18N_WARNING_USING_FALLBACK = TIZEN_ERROR_UTILITY_ICU | 0x21, /**< A resource bundle lookup returned a fallback result (not an error) (Since 6.0)*/
I18N_WARNING_USING_DEFAULT = TIZEN_ERROR_UTILITY_ICU | 0x22, /**< A resource bundle lookup returned a result from the root locale (not an error) (Since 6.0)*/
- I18N_ERROR_UNKNOWN = TIZEN_ERROR_UNKNOWN, /**< Unknown error. @if MOBILE (Since 2.3.1) @endif*/
+ I18N_ERROR_UNKNOWN = TIZEN_ERROR_UNKNOWN, /**< Unknown error. (Since 2.3.1)*/
/** Errors connected with transliteration text from one format to another */
I18N_ERROR_BAD_VARIABLE_DEFINITION = TIZEN_ERROR_UTILITY_ICU | 0x1000, /**< Missing '$' or duplicate variable name. (Since 5.0)*/
* @{
*/
-#define I18N_U_MASK(x) ((uint32_t)1 << (x)) /**< Get a single-bit bit set (a flag) from a bit number 0..31. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-
-#define I18N_U_GC_CN_MASK I18N_U_MASK(I18N_UCHAR_U_GENERAL_OTHER_TYPES) /**< U_GC_XX_MASK constants are bit flags corresponding to Unicode general category values. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_LU_MASK I18N_U_MASK(I18N_UCHAR_U_UPPERCASE_LETTER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_LL_MASK I18N_U_MASK(I18N_UCHAR_U_LOWERCASE_LETTER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_LT_MASK I18N_U_MASK(I18N_UCHAR_U_TITLECASE_LETTER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_LM_MASK I18N_U_MASK(I18N_UCHAR_U_MODIFIER_LETTER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_LO_MASK I18N_U_MASK(I18N_UCHAR_U_OTHER_LETTER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_MN_MASK I18N_U_MASK(I18N_UCHAR_U_NON_SPACING_MARK) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_ME_MASK I18N_U_MASK(I18N_UCHAR_U_ENCLOSING_MARK) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_MC_MASK I18N_U_MASK(I18N_UCHAR_U_COMBINING_SPACING_MARK) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_ND_MASK I18N_U_MASK(I18N_UCHAR_U_DECIMAL_DIGIT_NUMBER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_NL_MASK I18N_U_MASK(I18N_UCHAR_U_LETTER_NUMBER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_NO_MASK I18N_U_MASK(I18N_UCHAR_U_OTHER_NUMBER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_ZS_MASK I18N_U_MASK(I18N_UCHAR_U_SPACE_SEPARATOR) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_ZL_MASK I18N_U_MASK(I18N_UCHAR_U_LINE_SEPARATOR) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_ZP_MASK I18N_U_MASK(I18N_UCHAR_U_PARAGRAPH_SEPARATOR) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_CC_MASK I18N_U_MASK(I18N_UCHAR_U_CONTROL_CHAR) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_CF_MASK I18N_U_MASK(I18N_UCHAR_U_FORMAT_CHAR) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_CO_MASK I18N_U_MASK(I18N_UCHAR_U_PRIVATE_USE_CHAR) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_CS_MASK I18N_U_MASK(I18N_UCHAR_U_SURROGATE) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_PD_MASK I18N_U_MASK(I18N_UCHAR_U_DASH_PUNCTUATION) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_PS_MASK I18N_U_MASK(I18N_UCHAR_U_START_PUNCTUATION) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_PE_MASK I18N_U_MASK(I18N_UCHAR_U_END_PUNCTUATION) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_PC_MASK I18N_U_MASK(I18N_UCHAR_U_CONNECTOR_PUNCTUATION) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_PO_MASK I18N_U_MASK(I18N_UCHAR_U_OTHER_PUNCTUATION) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_SM_MASK I18N_U_MASK(I18N_UCHAR_U_MATH_SYMBOL) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_SC_MASK I18N_U_MASK(I18N_UCHAR_U_CURRENCY_SYMBOL) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_SK_MASK I18N_U_MASK(I18N_UCHAR_U_MODIFIER_SYMBOL) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_SO_MASK I18N_U_MASK(I18N_UCHAR_U_OTHER_SYMBOL) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_PI_MASK I18N_U_MASK(I18N_UCHAR_U_INITIAL_PUNCTUATION) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_PF_MASK I18N_U_MASK(I18N_UCHAR_U_FINAL_PUNCTUATION) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_L_MASK (I18N_U_GC_LU_MASK|I18N_U_GC_LL_MASK|I18N_U_GC_LT_MASK|I18N_U_GC_LM_MASK|I18N_U_GC_LO_MASK) /**<Mask constant for multiple #i18n_uchar_category_e bits (L Letters). @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_LC_MASK (I18N_U_GC_LU_MASK|I18N_U_GC_LL_MASK|I18N_U_GC_LT_MASK) /**< Mask constant for multiple #i18n_uchar_category_e bits (LC Cased Letters). @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_M_MASK (I18N_U_GC_MN_MASK|I18N_U_GC_ME_MASK|I18N_U_GC_MC_MASK) /**< Mask constant for multiple #i18n_uchar_category_e bits (M Marks). @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_N_MASK (I18N_U_GC_ND_MASK|I18N_U_GC_NL_MASK|I18N_U_GC_NO_MASK) /**< Mask constant for multiple #i18n_uchar_category_e bits (N Numbers). @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_Z_MASK (I18N_U_GC_ZS_MASK|I18N_U_GC_ZL_MASK|I18N_U_GC_ZP_MASK) /**< Mask constant for multiple #i18n_uchar_category_e bits (Z Separators). @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_C_MASK (I18N_U_GC_CN_MASK|I18N_U_GC_CC_MASK|I18N_U_GC_CF_MASK|I18N_U_GC_CO_MASK|I18N_U_GC_CS_MASK) /**<Mask constant for multiple #i18n_uchar_category_e bits (C Others). @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_P_MASK (I18N_U_GC_PD_MASK|I18N_U_GC_PS_MASK|I18N_U_GC_PE_MASK|I18N_U_GC_PC_MASK|I18N_U_GC_PO_MASK|I18N_U_GC_PI_MASK|I18N_U_GC_PF_MASK) /**<Mask constant for multiple #i18n_uchar_category_e bits (P Punctuation). @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_U_GC_S_MASK (I18N_U_GC_SM_MASK|I18N_U_GC_SC_MASK|I18N_U_GC_SK_MASK|I18N_U_GC_SO_MASK) /**<Mask constant for multiple #i18n_uchar_category_e bits (S Symbols). @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif */
-
-#define I18N_U_NO_NUMERIC_VALUE ((double)-123456789.) /**< Special value that is returned by i18n_uchar_get_numeric_value() when no numeric value is defined for a code point. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif */
-
-#define I18N_U_GET_GC_MASK(c) I18N_U_MASK(u_charType(c)) /**< Get a single-bit bit set for the general category of a character. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif */
+#define I18N_U_MASK(x) ((uint32_t)1 << (x)) /**< Get a single-bit bit set (a flag) from a bit number 0..31. @since_tizen 2.3*/
+
+#define I18N_U_GC_CN_MASK I18N_U_MASK(I18N_UCHAR_U_GENERAL_OTHER_TYPES) /**< U_GC_XX_MASK constants are bit flags corresponding to Unicode general category values. @since_tizen 2.3*/
+#define I18N_U_GC_LU_MASK I18N_U_MASK(I18N_UCHAR_U_UPPERCASE_LETTER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_LL_MASK I18N_U_MASK(I18N_UCHAR_U_LOWERCASE_LETTER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_LT_MASK I18N_U_MASK(I18N_UCHAR_U_TITLECASE_LETTER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_LM_MASK I18N_U_MASK(I18N_UCHAR_U_MODIFIER_LETTER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_LO_MASK I18N_U_MASK(I18N_UCHAR_U_OTHER_LETTER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_MN_MASK I18N_U_MASK(I18N_UCHAR_U_NON_SPACING_MARK) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_ME_MASK I18N_U_MASK(I18N_UCHAR_U_ENCLOSING_MARK) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_MC_MASK I18N_U_MASK(I18N_UCHAR_U_COMBINING_SPACING_MARK) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_ND_MASK I18N_U_MASK(I18N_UCHAR_U_DECIMAL_DIGIT_NUMBER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_NL_MASK I18N_U_MASK(I18N_UCHAR_U_LETTER_NUMBER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_NO_MASK I18N_U_MASK(I18N_UCHAR_U_OTHER_NUMBER) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_ZS_MASK I18N_U_MASK(I18N_UCHAR_U_SPACE_SEPARATOR) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_ZL_MASK I18N_U_MASK(I18N_UCHAR_U_LINE_SEPARATOR) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_ZP_MASK I18N_U_MASK(I18N_UCHAR_U_PARAGRAPH_SEPARATOR) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_CC_MASK I18N_U_MASK(I18N_UCHAR_U_CONTROL_CHAR) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_CF_MASK I18N_U_MASK(I18N_UCHAR_U_FORMAT_CHAR) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_CO_MASK I18N_U_MASK(I18N_UCHAR_U_PRIVATE_USE_CHAR) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_CS_MASK I18N_U_MASK(I18N_UCHAR_U_SURROGATE) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_PD_MASK I18N_U_MASK(I18N_UCHAR_U_DASH_PUNCTUATION) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_PS_MASK I18N_U_MASK(I18N_UCHAR_U_START_PUNCTUATION) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_PE_MASK I18N_U_MASK(I18N_UCHAR_U_END_PUNCTUATION) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_PC_MASK I18N_U_MASK(I18N_UCHAR_U_CONNECTOR_PUNCTUATION) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_PO_MASK I18N_U_MASK(I18N_UCHAR_U_OTHER_PUNCTUATION) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_SM_MASK I18N_U_MASK(I18N_UCHAR_U_MATH_SYMBOL) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_SC_MASK I18N_U_MASK(I18N_UCHAR_U_CURRENCY_SYMBOL) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_SK_MASK I18N_U_MASK(I18N_UCHAR_U_MODIFIER_SYMBOL) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_SO_MASK I18N_U_MASK(I18N_UCHAR_U_OTHER_SYMBOL) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_PI_MASK I18N_U_MASK(I18N_UCHAR_U_INITIAL_PUNCTUATION) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_PF_MASK I18N_U_MASK(I18N_UCHAR_U_FINAL_PUNCTUATION) /**< Mask constant for a #i18n_uchar_category_e. @since_tizen 2.3*/
+#define I18N_U_GC_L_MASK (I18N_U_GC_LU_MASK|I18N_U_GC_LL_MASK|I18N_U_GC_LT_MASK|I18N_U_GC_LM_MASK|I18N_U_GC_LO_MASK) /**<Mask constant for multiple #i18n_uchar_category_e bits (L Letters). @since_tizen 2.3*/
+#define I18N_U_GC_LC_MASK (I18N_U_GC_LU_MASK|I18N_U_GC_LL_MASK|I18N_U_GC_LT_MASK) /**< Mask constant for multiple #i18n_uchar_category_e bits (LC Cased Letters). @since_tizen 2.3*/
+#define I18N_U_GC_M_MASK (I18N_U_GC_MN_MASK|I18N_U_GC_ME_MASK|I18N_U_GC_MC_MASK) /**< Mask constant for multiple #i18n_uchar_category_e bits (M Marks). @since_tizen 2.3*/
+#define I18N_U_GC_N_MASK (I18N_U_GC_ND_MASK|I18N_U_GC_NL_MASK|I18N_U_GC_NO_MASK) /**< Mask constant for multiple #i18n_uchar_category_e bits (N Numbers). @since_tizen 2.3*/
+#define I18N_U_GC_Z_MASK (I18N_U_GC_ZS_MASK|I18N_U_GC_ZL_MASK|I18N_U_GC_ZP_MASK) /**< Mask constant for multiple #i18n_uchar_category_e bits (Z Separators). @since_tizen 2.3*/
+#define I18N_U_GC_C_MASK (I18N_U_GC_CN_MASK|I18N_U_GC_CC_MASK|I18N_U_GC_CF_MASK|I18N_U_GC_CO_MASK|I18N_U_GC_CS_MASK) /**<Mask constant for multiple #i18n_uchar_category_e bits (C Others). @since_tizen 2.3*/
+#define I18N_U_GC_P_MASK (I18N_U_GC_PD_MASK|I18N_U_GC_PS_MASK|I18N_U_GC_PE_MASK|I18N_U_GC_PC_MASK|I18N_U_GC_PO_MASK|I18N_U_GC_PI_MASK|I18N_U_GC_PF_MASK) /**<Mask constant for multiple #i18n_uchar_category_e bits (P Punctuation). @since_tizen 2.3*/
+#define I18N_U_GC_S_MASK (I18N_U_GC_SM_MASK|I18N_U_GC_SC_MASK|I18N_U_GC_SK_MASK|I18N_U_GC_SO_MASK) /**<Mask constant for multiple #i18n_uchar_category_e bits (S Symbols). @since_tizen 2.3 */
+
+#define I18N_U_NO_NUMERIC_VALUE ((double)-123456789.) /**< Special value that is returned by i18n_uchar_get_numeric_value() when no numeric value is defined for a code point. @since_tizen 2.3 */
+
+#define I18N_U_GET_GC_MASK(c) I18N_U_MASK(u_charType(c)) /**< Get a single-bit bit set for the general category of a character. @since_tizen 2.3 */
/**
* @brief Option value for case folding: use default mappings defined in CaseFolding.txt.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
*/
#define I18N_U_FOLD_CASE_DEFAULT 0
* Use the modified set of mappings provided in CaseFolding.txt to handle dotted I and dotless i appropriately for Turkic languages (tr, az).\n
* Before Unicode 3.2, CaseFolding.txt contains mappings marked with 'I' that are to be included for default mappings and excluded for the Turkic-specific mappings.\n
* Unicode 3.2 CaseFolding.txt instead contains mappings marked with 'T' that are to be excluded for default mappings and included for the Turkic-specific mappings.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
#define I18N_U_FOLD_CASE_EXCLUDE_SPECIAL_I 1
/**
* @brief DONE is returned by i18n_usearch_previous() and i18n_usearch_next() after all valid matches have been returned,
* and by, i18n_usearch_first() and i18n_usearch_last() if there are no matches at all.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
#define I18N_USEARCH_DONE -1
/**
* @brief i18n_uchar.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
#if U_ICU_VERSION_MAJOR_NUM >= 59
#if defined(U_COMBINED_IMPLEMENTATION) || defined(U_COMMON_IMPLEMENTATION) || \
/**
* @brief i18n_uchar32.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef int32_t i18n_uchar32;
/**
* @brief i18n_ubool.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef int8_t i18n_ubool;
* For details about the properties see http://www.unicode.org/ucd/ .
* For names of Unicode properties see the UCD file PropertyAliases.txt.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCHAR_ALPHABETIC = 0,
/**
* @brief Constants for Unicode blocks, see the Unicode Data file Blocks.txt.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
*/
typedef enum {
/**
* @brief Enumeration for the language directional property of a character set.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCHAR_U_LEFT_TO_RIGHT, /**< L */
/**
* @brief Enumeration for Decomposition Type constants.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCHAR_U_DT_NONE, /**< [none] */
/**
* @brief Enumeration for East Asian Width constants.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCHAR_U_EA_NEUTRAL, /**< [N] */
/**
* @brief Enumeration for Unicode general category types.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCHAR_U_UNASSIGNED, /**< Non-category for unassigned and non-character code points */
/**
* @brief Enumeration for Joining Group constants.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCHAR_U_JG_NO_JOINING_GROUP, /**< No Joining Group */
/**
* @brief Enumeration for Joining Type constants.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCHAR_U_JT_NON_JOINING, /**< [U] */
/**
* @brief Enumeration for Line Break constants.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCHAR_U_LB_UNKNOWN, /**< [XX] */
/**
* @brief Enumeration for Numeric Type constants.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCHAR_U_NT_NONE, /**< [None] */
/**
* @brief Enumeration for Hangul Syllable Type constants.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCHAR_U_HST_NOT_APPLICABLE, /**< [NA] */
/**
* @brief Enumeration for Sentence Break constants.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCHAR_U_SB_OTHER, /**< [XX] */
/**
* @brief Enumeration for Word Break constants.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCHAR_U_WB_OTHER, /**< [XX] */
/**
* @brief Enumeration for Grapheme Cluster Break constants.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCHAR_U_GCB_OTHER, /**< [XX] */
/**
* @brief Structure representing a collator object instance.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef void *i18n_ucollator_h;
/**
* @brief Enumeration for attributes that collation service understands.
* All the attributes can take #I18N_UCOLLATOR_DEFAULT value, as well as the values specific to each one.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCOLLATOR_FRENCH_COLLATION, /**< Attribute for direction of secondary weights - used in Canadian French. Acceptable values are #I18N_UCOLLATOR_ON, which results in secondary weights being considered backwards, and #I18N_UCOLLATOR_OFF which treats secondary weights in the order they appear */
* @brief Enumeration containing attribute values for controlling collation behavior.
* Here are all the allowable values. Not every attribute can take every value.
* The only universal value is #I18N_UCOLLATOR_DEFAULT, which resets the attribute value to the predefined value for that locale.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCOLLATOR_DEFAULT = -1, /**< Accepted by most attributes */
* Uppercase and lowercase versions of the same character represent a tertiary difference. Set comparison level to #I18N_UCOLLATOR_TERTIARY to include all comparison differences. Use this to set the strength of an #i18n_ucollator_h. Example of tertiary difference, "abc" <<< "ABC".
* Two characters are considered "identical" when they have the same unicode spellings. #I18N_UCOLLATOR_IDENTICAL. For example, "ä" == "ä".
* #i18n_ucollator_strength_e is also used to determine the strength of sort keys generated from #i18n_ucollator_h. These values can now be found in the #i18n_ucollator_attribute_value_e enum.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef i18n_ucollator_attribute_value_e i18n_ucollator_strength_e;
* #I18N_UCOLLATOR_LESS is returned if the source string is compared to be less than the target string in the {@link i18n_ucollator_str_collator() } method.
* #I18N_UCOLLATOR_EQUAL is returned if the source string is compared to be equal to the target string in the {@link i18n_ucollator_str_collator() } method.
* #I18N_UCOLLATOR_GREATER is returned if the source string is compared to be greater than the target string in the {@link #i18n_ucollator_str_collator() } method.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCOLLATOR_EQUAL = 0, /**< string a == string b */
/**
* @brief i18n_unormalizer_h.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
*/
/**
* @brief Enumeration of constants for normalization modes.
* For details about standard Unicode normalization forms and about the algorithms which are also used with custom mapping tables see http://www.unicode.org/reports/tr15/
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UNORMALIZATION_COMPOSE, /**< Decomposition followed by composition. Same as standard NFC when using an "nfc" instance. Same as standard NFKC when using an "nfkc" instance.
/**
* @brief i18n_usearch_h.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef void *i18n_usearch_h;
/**
* @brief i18n_ucalendar_h.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef void *i18n_ucalendar_h;
/**
* @brief Enumeration for possible fields in an #i18n_ucalendar_h.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCALENDAR_ERA, /**< Field number indicating the era, e.g., AD or BC in the Gregorian (Julian) calendar */
/**
* @brief Enumeration for possible months in an #i18n_ucalendar_h.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCALENDAR_TRADITIONAL, /**< Despite the name, #I18N_UCALENDAR_TRADITIONAL designates the locale's default calendar, which may be the Gregorian calendar or some other calendar */
/**
* @brief Enumeration for possible months in an #i18n_ucalendar_h.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCALENDAR_JANUARY, /**< January */
/**
* @brief Enumeration for possible formats of an #i18n_ucalendar_h's display name.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCALENDAR_STANDARD, /**< Standard display name */
/**
* @brief Enumeration for types of #i18n_ucalendar_h attributes.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCALENDAR_LENIENT, /**< Lenient parsing */
/**
* @brief System time zone type constants.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UCALENDAR_ZONE_TYPE_ANY, /**< Any system zones. */
/**
* @brief Date and Time data type.
* @details This is a primitive data type that holds the date and time as the number of milliseconds since 1970-jan-01, 00:00 UTC. UTC leap seconds are ignored.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef double i18n_udate;
/**
* @brief A date formatter.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef void *i18n_udate_format_h;
/**
* @brief A struct representing a range of text containing a specific field.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef struct {
int32_t field; /**< The field. */
/**
* @brief Handle to struct representing a range of text containing a specific field.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef i18n_ufield_position_s *i18n_ufield_position_h;
/**
* @brief Enumeration for the possible date/time format styles.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UDATE_FULL, /**< Full style */
/**
* @brief Handle for a date/time pattern generator object.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef void *i18n_udatepg_h;
/**
* @brief A number formatter.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef void *i18n_unumber_format_h;
/**
* @brief Definition of context length.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
#define I18N_U_PARSE_CONTEXT_LEN 16
/**
* @brief Struct used to returned detailed information about parsing errors.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef struct {
int32_t line; /**< The line on which the error occurred. */
/**
* @brief Enumeration for the possible number format styles.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UNUMBER_PATTERN_DECIMAL = 0, /**< Decimal format defined by a pattern string */
/**
* @brief Enumeration of constants for specifying a number format symbol.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_UNUMBER_DECIMAL_SEPARATOR_SYMBOL = 0, /**< The decimal separator */
* @{
*/
-#define I18N_ULOCALE_CHINESE "zh" /**< Useful constant for zh. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_ENGLISH "en" /**< Useful constant for en. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_FRENCH "fr" /**< Useful constant for fr. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_GERMAN "de" /**< Useful constant for de. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_ITALIAN "it" /**< Useful constant for it. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_JAPANESE "ja" /**< Useful constant for ja. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_KOREAN "ko" /**< Useful constant for ko. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_SIMPLIFIED_CHINESE "zh_CN" /**< Useful constant for zh_CN. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_TRADITIONAL_CHINESE "zh_TW" /**< Useful constant for zh_TW. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_CANADA "en_CA" /**< Useful constant for en_CA. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_CANADA_FRENCH "fr_CA" /**< Useful constant for fr_CA. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_CHINA "zh_CN" /**< Useful constant for zh_CN. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_PRC "zh_CN" /**< Useful constant for zh_CN. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_FRANCE "fr_FR" /**< Useful constant for fr_FR. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_GERMANY "de_DE" /**< Useful constant for de_DE. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_ITALY "it_IT" /**< Useful constant for it_IT. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_JAPAN "ja_JP" /**< Useful constant for ja_JP. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_KOREA "ko_KR" /**< Useful constant for ko_KR. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_TAIWAN "zh_TW" /**< Useful constant for zh_TW. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_UK "en_GB" /**< Useful constant for en_GB. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
-#define I18N_ULOCALE_US "en_US" /**< Useful constant for en_US. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif*/
+#define I18N_ULOCALE_CHINESE "zh" /**< Useful constant for zh. @since_tizen 2.3*/
+#define I18N_ULOCALE_ENGLISH "en" /**< Useful constant for en. @since_tizen 2.3*/
+#define I18N_ULOCALE_FRENCH "fr" /**< Useful constant for fr. @since_tizen 2.3*/
+#define I18N_ULOCALE_GERMAN "de" /**< Useful constant for de. @since_tizen 2.3*/
+#define I18N_ULOCALE_ITALIAN "it" /**< Useful constant for it. @since_tizen 2.3*/
+#define I18N_ULOCALE_JAPANESE "ja" /**< Useful constant for ja. @since_tizen 2.3*/
+#define I18N_ULOCALE_KOREAN "ko" /**< Useful constant for ko. @since_tizen 2.3*/
+#define I18N_ULOCALE_SIMPLIFIED_CHINESE "zh_CN" /**< Useful constant for zh_CN. @since_tizen 2.3*/
+#define I18N_ULOCALE_TRADITIONAL_CHINESE "zh_TW" /**< Useful constant for zh_TW. @since_tizen 2.3*/
+#define I18N_ULOCALE_CANADA "en_CA" /**< Useful constant for en_CA. @since_tizen 2.3*/
+#define I18N_ULOCALE_CANADA_FRENCH "fr_CA" /**< Useful constant for fr_CA. @since_tizen 2.3*/
+#define I18N_ULOCALE_CHINA "zh_CN" /**< Useful constant for zh_CN. @since_tizen 2.3*/
+#define I18N_ULOCALE_PRC "zh_CN" /**< Useful constant for zh_CN. @since_tizen 2.3*/
+#define I18N_ULOCALE_FRANCE "fr_FR" /**< Useful constant for fr_FR. @since_tizen 2.3*/
+#define I18N_ULOCALE_GERMANY "de_DE" /**< Useful constant for de_DE. @since_tizen 2.3*/
+#define I18N_ULOCALE_ITALY "it_IT" /**< Useful constant for it_IT. @since_tizen 2.3*/
+#define I18N_ULOCALE_JAPAN "ja_JP" /**< Useful constant for ja_JP. @since_tizen 2.3*/
+#define I18N_ULOCALE_KOREA "ko_KR" /**< Useful constant for ko_KR. @since_tizen 2.3*/
+#define I18N_ULOCALE_TAIWAN "zh_TW" /**< Useful constant for zh_TW. @since_tizen 2.3*/
+#define I18N_ULOCALE_UK "en_GB" /**< Useful constant for en_GB. @since_tizen 2.3*/
+#define I18N_ULOCALE_US "en_US" /**< Useful constant for en_US. @since_tizen 2.3*/
/**
* @brief Useful constant for the maximum size of the language part of a locale ID.
/**
* @brief Callback function for i18n_ustring_unescape_at() that returns a character of the source text given an offset and a context pointer.\n
* The context pointer will be whatever is passed into i18n_ustring_unescape_at().
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] offset pointer to the offset that will be passed to i18n_ustring_unescape_at().
* @param[in] context an opaque pointer passed directly into i18n_ustring_unescape_at()
/**
* @brief Option value for case folding: use default mappings defined in CaseFolding.txt.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
#define I18N_USTRING_U_FOLD_CASE_DEFAULT 0
/**
* @brief Option bit i18n_ustring_case_compare_with_length(), i18n_ustring_case_compare(), etc: Compare strings in code point order instead of code unit order.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
#define I18N_USTRING_U_COMPARE_CODE_POINT_ORDER 0x8000
* Use the modified set of mappings provided in CaseFolding.txt to handle dotted I and dotless i appropriately for Turkic languages (tr, az).\n
* Before Unicode 3.2, CaseFolding.txt contains mappings marked with 'I' that are to be included for default mappings and excluded for the Turkic-specific mappings.\n
* Unicode 3.2 CaseFolding.txt instead contains mappings marked with 'T' that are to be excluded for default mappings and included for the Turkic-specific mappings.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
#define I18N_USTRING_U_FOLD_CASE_EXCLUDE_SPECIAL_I 1
/**
* @brief handle for object that represents a time zone offset, and also figures out daylight savings..
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef void *i18n_timezone_h;
/**
* @brief Callback function for i18n_timezone_foreach_timezone_id(), i18n_timezone_foreach_timezone_id_with_offset(), and i18n_timezone_foreach_timezone_id_by_country()
* that returns an enumeration over all recognized time zone IDs.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] timezone_id time zone ID
* @param[in] user_data the user data passed to the callback function
/**
* @brief Enumeration for use with i18n_timezone_get_display_name(), i18n_timezone_get_display_name_with_locale(), and i18n_timezone_get_display_name_with_type().
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef enum {
I18N_TIMEZONE_DISPLAY_TYPE_SHORT = 1, /**< Selector for short display name */
/**
* @brief i18n_ubreak_iterator_s.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*/
typedef void *i18n_ubreak_iterator_s;
/**
* @brief Sets the default time zone.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] zone_id null-terminated time zone ID
*
/**
* @brief Gets the current date and time.
* @details The value returned is represented as milliseconds from the epoch.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] date The current date and time
*
* @details Note: When an unknown TimeZone ID is specified, the #i18n_ucalendar_h returned
* by the function is initialized with GMT ("Etc/GMT") without any
* errors/warnings.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @remarks Must release @a calendar using i18n_ucalendar_destroy().
*
* @param[in] zone_id The desired TimeZone ID \n
/**
* @brief Destroys an #i18n_ucalendar_h.
* @details Once destroyed, an #i18n_ucalendar_h may no longer be used.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] calendar The #i18n_ucalendar_h to destroy
* @retval #I18N_ERROR_NONE Successful
/**
* @brief Creates a copy of a #i18n_ucalendar_h.
* This function performs a deep copy.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] cal The #i18n_ucalendar_h to copy
* @param[out] identical_to_cal A pointer to a #i18n_ucalendar_h identical to @a cal.
/**
* @brief Gets the display name for a calendar's TimeZone.
* @details A display name is suitable for presentation to a user.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] calendar The #i18n_ucalendar_h to query
* @param[in] type The desired display name format \n
/**
* @brief Determines if an #i18n_ucalendar_h is currently in daylight savings time.
* @details Daylight savings time is not used in all parts of the world.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] calendar The #i18n_ucalendar_h to query
* @param[out] is_in If @c true @a calendar is currently in daylight savings time,
/**
* @brief Sets the value of a field in a #i18n_ucalendar_h.
* @details All fields are represented as 32-bit integers.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] cal The #i18n_ucalendar_h to modify
* @param[in] field The field to set \n
* @brief Sets a numeric attribute associated with an #i18n_ucalendar_h.
* @details Numeric attributes include the first day of the week, or the minimal number
* of days in the first week of the month.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] calendar The #i18n_ucalendar_h to modify
* @param[in] attr The desired attribute \n
* @details Numeric attributes include the first day of the week, or the minimal numbers of days
* in the first week of the month.
*
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] calendar The i18n_ucalendar to query
* @param[in] attr The desired attribute \n
/**
* @brief Gets a calendar's current time in milliseconds.
* @details The time is represented as milliseconds from the epoch.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] calendar The #i18n_ucalendar_h to query
* @param[out] date The calendar's current time in milliseconds
/**
* @brief Sets a calendar's current time in milliseconds.
* @details The time is represented as milliseconds from the epoch.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] calendar The #i18n_ucalendar_h to set
* @param[in] milliseconds The desired date and time
/**
* @brief Sets a calendar's current date.
* @details The date is represented as a series of 32-bit integers.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] calendar The #i18n_ucalendar_h to set
* @param[in] year The desired year
* @brief Returns @c true if two #i18n_ucalendar_h calendars are equivalent.
* @details Equivalent #i18n_ucalendar_h calendars will behave identically, but they may be set to
* different times.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] calendar1 The first of the calendars to compare
* @param[in] calendar2 The second of the calendars to compare
/**
* @brief Adds a specified signed amount to a particular field in a #i18n_ucalendar_h.
* @details This can modify more significant fields in the calendar.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] calendar The #i18n_ucalendar_h to which to add
* @param[in] field The field to which to add the signed value\n One of #I18N_UCALENDAR_ERA, #I18N_UCALENDAR_YEAR, #I18N_UCALENDAR_MONTH,
/**
* @brief Gets the current value of a field from an #i18n_ucalendar_h.
* @details All fields are represented as 32-bit integers.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] calendar The #i18n_ucalendar_h to query
* @param[in] field The desired field\n One of I18N_UCALENDAR_ERA, I18N_UCALENDAR_YEAR, I18N_UCALENDAR_MONTH,
i18n_uchar_get_int_property_value(c, I18N_UCHAR_IDEOGRAPHIC, &property_value);
is_ideographic = (bool)property_value;
* @endcode
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] c The code point to test.
* @param[in] which The #i18n_uchar_uproperty_e selector constant, identifies which property
/**
* @brief Gets the Unicode allocation block that contains the character.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] c The code point to test
* @param[out] block_val The block value for the code point
*
* The #i18n_ucollator_h is used in all the calls to the Collation service.\n
* After finished, collator must be disposed off by calling {@link #i18n_ucollator_destroy()}.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @remarks Must release @a collator using i18n_ucollator_destroy().
*
* @param[in] locale The locale containing the required collation rules\n
* @brief Destroys a #i18n_ucollator_h.
* @details Once destroyed, the #i18n_ucollator_h should not be used. Every created collator
* should be destroyed.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] collator The #i18n_ucollator_h to close
*
/**
* @brief Compares two strings.
* @details The strings will be compared using the options already specified.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] collator The #i18n_ucollator_h containing the comparison rules
* @param[in] src The source string
/**
* @brief Compares two strings for equality.
* @details This function is equivalent to {@link #i18n_ucollator_str_collator()}.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] collator The #i18n_ucollator_h containing the comparison rules
* @param[in] src The source string
/**
* @brief Sets the collation strength used in a collator.
* @details The strength influences how strings are compared.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] collator The i18n_ucollator_h to set.
* @param[in] strength The desired collation strength.\n
/**
* @brief Sets an attribute's value.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] collator The i18n_ucollator_h containing attributes to be changed
* @param[in] attr The attribute type
/**
* @brief Creates a new #i18n_udate_format_h for formatting and parsing dates and times.
* @details A #i18n_udate_format_h may be used to format dates in calls to {@link i18n_udate_create()}.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @remarks Must release @a format using i18n_udate_destroy().\n
* If @a pattern parameter is used, pass in #I18N_UDATE_PATTERN for @a time_style and @a date_style. \n
* #I18N_UDATE_PATTERN can only be used in this case, and has to be set for both @a time_style and @a date_style.
/**
* @brief Destroys an #i18n_udate_format_h.
* @details Once destroyed, an #i18n_udate_format_h may no longer be used.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] format The formatter to destroy.
*
/**
* @brief Formats a date using an #i18n_udate_format_h.
* @details The date will be formatted using the conventions specified in {@link i18n_udate_create()}
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] format The formatter to use.
* @param[in] date_to_format The date to format.
/**
* @brief Opens a generator according to a given locale.
* @remarks Must release @a dtpg using i18n_udatepg_destroy().
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] locale If @c NULL - default locale will be used.
* @param[out] dtpg A pointer to #i18n_udatepg_h. Must not be @c NULL.
/**
* @brief Destroys a generator.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] dtpg A pointer to #i18n_udatepg_h. Must not be @c NULL.
*
* rather than creating one for each function call.
* Consecutive calls to this function do not affect each other,
* but this function cannot be used concurrently on a single generator object.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] dtpg A pointer to #i18n_udatepg_h. Must not be @c NULL.
* @param[in] skeleton The skeleton is a pattern containing only the variable fields.\n
* @details The returned string is a snapshot in time, and will remain valid
* and unchanged even when i18n_ulocale_set_default() is called.
* The returned storage is owned by I18N, and must not be altered or deleted by the caller.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] locale The I18N default locale
*
* Changes to I18N's default locale do not propagate back to the system environment.
*
* Changes to I18N's default locale to not affect any services that may already be open based on the previous default locale value.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] locale_id The new I18N default locale.\n
* A value of @c NULL will try to get the system's default locale.
/**
* @brief Gets the language code for the specified locale.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] locale_id The locale to get the ISO language code with.\n
* @c NULL may be used to specify the default.
/**
* @brief Gets the country code for the specified locale.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] locale_id The locale to get the country code with
* @param[out] country The country code for @a locale_id
/**
* @brief Gets the full name suitable for display for the specified locale.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] locale_id The locale to get the displayable name with.\n
* @c NULL may be used to specify the default.
* The locale name is terminated by a null pointer.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] n The specific locale name index of the available locale list
*
* @brief Gets the size of the all available locale list.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @return The size of the locale list
* @exception #I18N_ERROR_NONE Success
/**
* @brief Gets a i18n_unormalizer_h which uses the specified data file and composes or decomposes text according to the specified mode.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] package_name @c NULL for ICU built-in data, otherwise application data package name.
* @param[in] name "nfc" or "nfkc" or "nfkc_cf" or the name of the custom data file.
/**
* @brief Writes the normalized form of the source string to the destination string(replacing its contents).
* @details The source and destination strings must be different buffers.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] normalizer An #i18n_unormalizer_h handle.
* @param[in] src The source string.
* @brief Creates and returns a new unumber_format_h for formatting and parsing numbers.
* @details A unumber_format_style_e may be used to format numbers by calling i18n_unumber_create().
* The caller must call i18n_unumber_destroy() when done to release resources used by this object.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
* @remarks Must release @a num_format using i18n_unumber_destroy().
*
* @param[in] style The type of number format to create: one of
/**
* @brief Destroys an #i18n_unumber_format_h.
* @details Once destroyed, an #i18n_unumber_format may no longer be used.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] fmt The formatter to destroy
*
* @brief Gets a symbol associated with an #i18n_unumber_format_h.
* @details An #i18n_unumber_format_h uses symbols to represent the special locale-dependent characters in a number,
* for example the percent sign. This API is not supported for rule-based formatters.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] fmt The formatter to query.
* @param[in] symbol The unumber_format_symbol_e constant for the symbol to get
/**
* @brief Destroys and cleans up the i18n_usearch_h.
* @details If a collator is created in i18n_usearch_create_new(), it will be destroyed here.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] search_iter The i18n_usearch_h to clean up
*
* will be returned in status. The result will be NULL-terminated whenever
* possible. If the buffer fits the matched text exactly, a NULL-termination
* is not possible.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] search_iter The search iterator handle
* @param[out] result i18n_uchar The buffer to store the matched string
* @details Deleting the returned i18n_ucollator_h before calling
* i18n_usearch_destroy() would cause the string search to fail.
* i18n_usearch_destroy() will delete the collator if this search owns it.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] search_iter The search iterator handle
* @param[out] collator The collator
* is the match position if one is found.
* If a match is not found, #I18N_USEARCH_DONE will be returned and
* the iterator will be adjusted to the index #I18N_USEARCH_DONE.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] search_iter The search iterator handle
* @param[out] index_first The character index of the first match,
* @brief Determines the length of an array of #i18n_uchar.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The array of #i18n_uchar characters, @c NULL (U+0000) terminated.
*
* Counting code points involves reading all code units.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The input string.
* @param[in] length The number of #i18n_uchar code units to be checked, or @c -1 to count
* A Unicode code point may occupy either one or two #i18n_uchar code units.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The input string.
* @param[in] length The length of the string, or @c -1 if it is NULL-terminated.
* The initial copied character from @a src overwrites the NULL terminator in @a dest.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest The destination string.
* @param[in] src The source string.
* The initial copied character from @a src overwrites the NULL terminator in @a dest.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest The destination string.
* @param[in] src The source string.
* Otherwise, the substring edge units would be matched against halves of surrogate pairs.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The string to search (NULL-terminated).
* @param[in] sub_string The substring to find (NULL-terminated).
* Otherwise, the substring edge units would be matched against halves of surrogate pairs.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The string to search (NULL-terminated).
* @param[in] length The length of @a s (number of #i18n_uchar characters), or @c -1 if it is NULL-terminated.
* @details A surrogate code point is found only if its match in the text is not part of a surrogate pair. A NULL character is found at the string terminator.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The string to search (NULL-terminated).
* @param[in] c The BMP code point to find.
* @details A surrogate code point is found only if its match in the text is not part of a surrogate pair. A NULL character is found at the string terminator.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The string to search (NULL-terminated).
* @param[in] c The code point to find.
* Otherwise, the substring edge units would be matched against halves of surrogate pairs.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The string to search (NULL-terminated).
* @param[in] sub_string The substring to find (NULL-terminated).
* Otherwise, the substring edge units would be matched against halves of surrogate pairs.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The string to search.
* @param[in] length The length of s (number of #i18n_uchar), or @c -1 if it is NULL-terminated.
* @details A surrogate code point is found only if its match in the text is not part of a surrogate pair. A NULL character is found at the string terminator.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The string to search (NULL-terminated).
* @param[in] c The BMP code point to find.
* @details A surrogate code point is found only if its match in the text is not part of a surrogate pair. A NULL character is found at the string terminator.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The string to search (NULL-terminated).
* @param[in] c The code point to find.
* @details Works just like C's strpbrk but with Unicode.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] string The string in which to search, NULL-terminated.
* @param[in] match_set A NULL-terminated string defining a set of code points for which to search in the text string.
* @details Works just like C's strcspn but with Unicode.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] string The string in which to search, NULL-terminated.
* @param[in] match_set A NULL-terminated string defining a set of code points for which to search in the text string.
* @details Works just like C's strspn but with Unicode.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] string The string in which to search, NULL-terminated.
* @param[in] match_set A NULL-terminated string defining a set of code points for which to search in the text string.
* @details Works just like C's strspn but with Unicode.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] src String containing token(s). This string will be modified. After the first call to #i18n_ustring_tokenizer_r(), this argument must be NULL to get to the next token.
* @param[in] delim Set of delimiter characters (Unicode code points).
* @brief Compares two Unicode strings for bitwise equality (code unit order).
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s1 A string to compare.
* @param[in] s2 A string to compare.
* @details See #i18n_ustring_compare() for details.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s1 A string to compare.
* @param[in] s2 A string to compare.
* NULL-terminated strings are possible with length arguments of -1.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s1 First source string.
* @param[in] length1 Length of first source string, or @c -1 if NULL-terminated.
* In code unit order, high BMP code points sort after supplementary code points because they are stored as pairs of surrogates which are at U+d800..U+dfff.\n
* This functions works with strings of different explicitly specified lengths unlike the ANSI C-like #i18n_ustring_compare() and i18n_ustring_mem_compare() etc.
* NULL-terminated strings are possible with length arguments of -1.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s1 First source string.
* @param[in] length1 Length of first source string, or @c -1 if NULL-terminated.
* @details Compares at most n characters.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s1 A string to compare (can be NULL/invalid if n<=0).
* @param[in] s2 A string to compare (can be NULL/invalid if n<=0).
* @details This is different in UTF-16 from #i18n_ustring_compare_n() if supplementary characters are present. For details, see #i18n_ustring_compare_binary_order().
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s1 A string to compare.
* @param[in] s2 A string to compare.
* @brief Compare two strings case-insensitively using full case folding.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s1 A string to compare.
* @param[in] s2 A string to compare.
* @brief Compare two strings case-insensitively using full case folding.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s1 A string to compare.
* @param[in] s2 A string to compare.
* @brief Compare two strings case-insensitively using full case folding.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s1 A string to compare.
* @param[in] s2 A string to compare.
* @brief Copies a ustring. Adds a NULL terminator.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest The destination string
* @param[in] src The source string
* if the length of @a src is less than @a n.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest The destination string
* @param[in] src The source string
* @details Adds a NULL terminator. Performs a host byte to #i18n_uchar conversion.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest The destination string
* @param[in] src The source string
* Performs a host byte to #i18n_uchar conversion.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest The destination string
* @param[in] src The source string
* @details Adds a NULL terminator. Performs an #i18n_uchar to host byte conversion.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest The destination string
* @param[in] src The source string
* Performs an #i18n_uchar to host byte conversion.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest The destination string
* @param[in] src The source string
* @brief Synonym for memcpy(), but with #i18n_uchar characters only.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest The destination string
* @param[in] src The source string (can be NULL/invalid if count<=0)
* @brief Synonym for memmove(), but with #i18n_uchar characters only.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest The destination string
* @param[in] src The source string (can be NULL/invalid if count<=0)
* @brief Initialize count characters of dest to c.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest The destination string
* @param[in] c The character to initialize the string.
* @brief Compare the first count #i18n_uchar characters of each buffer.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] buf1 The first string to compare.
* @param[in] buf2 The second string to compare.
* @details This is different in UTF-16 from #i18n_ustring_mem_compare() if supplementary characters are present. For details, see #i18n_ustring_compare_binary_order().
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s1 A string to compare.
* @param[in] s2 A string to compare.
* @details A surrogate code point is found only if its match in the text is not part of a surrogate pair. A NULL character is found at the string terminator.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The string to search (contains count #i18n_uchar characters).
* @param[in] c The BMP code point to find.
* @details A surrogate code point is found only if its match in the text is not part of a surrogate pair. A NULL character is found at the string terminator.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The string to search (contains count #i18n_uchar characters).
* @param[in] c The code point to find.
* @details A surrogate code point is found only if its match in the text is not part of a surrogate pair. A NULL character is found at the string terminator.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The string to search (contains count #i18n_uchar characters).
* @param[in] c The BMP code point to find.
* @details A surrogate code point is found only if its match in the text is not part of a surrogate pair. A NULL character is found at the string terminator.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] s The string to search (contains count #i18n_uchar characters).
* @param[in] c The code point to find.
* If an escape sequence is ill-formed, this method returns an empty string. An example of an ill-formed sequence is "\\u" followed by fewer than 4 hex digits.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] src a zero-terminated string of invariant characters
* @param[in] dest pointer to buffer to receive converted and unescaped text and, if there is room, a zero terminator. May be NULL for preflighting, in which case no #i18n_uchar characters will be written,
* See documentation of #i18n_ustring_unescape() for a list of recognized sequences.
* @remarks The specific error code can be obtained using the get_last_result() method.
* Error codes are described in Exceptions section.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[in] char_at callback function that returns a #i18n_uchar of the source text given an offset and a context pointer.
* @param[in] offset pointer to the offset that will be passed to char_at. The offset value will be updated upon return to point after the last parsed character of the escape sequence.
* @details Casing is locale-dependent and context-sensitive.
* The result may be longer or shorter than the original.
* The source string and the destination buffer are allowed to overlap.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest A buffer for the result string\n The result will be zero-terminated if
* the buffer is large enough.
* @details Casing is locale-dependent and context-sensitive. The result may be longer or shorter than the original. The source string and the destination buffer are allowed to overlap.
* The result may be longer or shorter than the original.
* The source string and the destination buffer are allowed to overlap.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest A buffer for the result string. The result will be zero-terminated if the buffer is large enough.
* @param[in] dest_capacity The size of the buffer (number of #i18n_uchar characters)\n
* but there is an option for whether to include or exclude mappings for dotted I and dotless i.\n
* The result may be longer or shorter than the original.
* The source string and the destination buffer are allowed to overlap.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest A buffer for the result string\n
* The result will be zero-terminated if the buffer is large enough.
* @brief Convert a UTF-16 string to a wchar_t string.
* @details If it is known at compile time that wchar_t strings are in UTF-16 or UTF-32, then this function simply calls the fast, dedicated function for that.
* Otherwise, two conversions UTF-16 -> default charset -> wchar_t* are performed.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest A buffer for the result string. The result will be zero-terminated if the buffer is large enough.
* @param[in] dest_capacity The size of the buffer (number of wchar_t's).\n
* @brief Convert a wchar_t string to UTF-16.
* @details If it is known at compile time that wchar_t strings are in UTF-16 or UTF-32, then this function simply calls the fast, dedicated function for that.
* Otherwise, two conversions wchar_t* -> default charset -> UTF-16 are performed.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest A buffer for the result string. The result will be zero-terminated if the buffer is large enough.
* @param[in] dest_capacity The size of the buffer (number of #i18n_uchar characters).\n
/**
* @brief Converts a UTF-16 string to UTF-8.
* @details If the input string is not well-formed, then the #I18N_ERROR_INVALID_CHAR_FOUND error code is set.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest A buffer for the result string.\n
* The result will be zero-terminated if the buffer is large enough.
/**
* @brief Converts a UTF-8 string to UTF-16.
* @details If the input string is not well-formed, then the #I18N_ERROR_INVALID_CHAR_FOUND error code is set.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest A buffer for the result string.\n
* The result will be zero-terminated if the buffer is large enough.
/**
* @brief Convert a UTF-16 string to UTF-8.
* Same as #i18n_ustring_to_UTF8() except for the additional sub_char which is output for illegal input sequences, instead of stopping with the #I18N_ERROR_INVALID_CHAR_FOUND error code.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest A buffer for the result string.\n
* The result will be zero-terminated if the buffer is large enough.
/**
* @brief Convert a UTF-8 string to UTF-16.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest A buffer for the result string.\n
* The result will be zero-terminated if the buffer is large enough.
* - Non-shortest forms are not detected and will result in "spoofing" output.\n
* For further performance improvement, if src_len is given (>=0), then it must be dest_capacity>=src_len.\n
* There is no inverse i18n_ustring_to_UTF8_lenient() function because there is practically no performance gain from not checking that a UTF-16 string is well-formed.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest A buffer for the result string.\n
* The result will be zero-terminated if the buffer is large enough.
/**
* @brief Convert a UTF-16 string to UTF-32.
* @details If the input string is not well-formed, then the #I18N_ERROR_INVALID_CHAR_FOUND error code is set.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest A buffer for the result string.\n
* The result will be zero-terminated if the buffer is large enough.
/**
* @brief Convert a UTF-32 string to UTF-16.
* @details If the input string is not well-formed, then the #I18N_ERROR_INVALID_CHAR_FOUND error code is set.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest A buffer for the result string.\n
* The result will be zero-terminated if the buffer is large enough.
/**
* @brief Convert a UTF-16 string to UTF-32.
* @details Same as #i18n_ustring_to_UTF32() except for the additional sub_char which is output for illegal input sequences, instead of stopping with the #I18N_ERROR_INVALID_CHAR_FOUND error code.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest A buffer for the result string.\n
* The result will be zero-terminated if the buffer is large enough.
/**
* @brief Convert a UTF-32 string to UTF-16.
* Same as #i18n_ustring_from_UTF32() except for the additional sub_char which is output for illegal input sequences, instead of stopping with the #I18N_ERROR_INVALID_CHAR_FOUND error code.
- * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
+ * @since_tizen 2.3
*
* @param[out] dest A buffer for the result string.\n
* The result will be zero-terminated if the buffer is large enough.