#define __UTILS_I18N_TIMEZONE_H__
#include <utils_i18n_types.h>
+#include <tizen.h>
+
+#ifndef TIZEN_DEPRECATED_API
+#define TIZEN_DEPRECATED_API __attribute__((__visibility__("default"), deprecated))
+#endif
/**
* @file utils_i18n_timezone.h
*
* @retval #I18N_ERROR_NONE Successful
*/
-int i18n_timezone_in_daylight_time(i18n_timezone_h timezone, i18n_udate date, i18n_ubool *daylight_time);
+int i18n_timezone_in_daylight_time(i18n_timezone_h timezone, i18n_udate date, i18n_ubool *daylight_time) TIZEN_DEPRECATED_API;
/**
* @brief Returns true if this zone has the same rule and offset as another zone.
#define __UTILS_I18N_USEARCH_H__
#include <utils_i18n_types.h>
+#include <tizen.h>
+
+#ifndef TIZEN_DEPRECATED_API
+#define TIZEN_DEPRECATED_API __attribute__((__visibility__("default"), deprecated))
+#endif
/**
* @file utils_i18n_usearch.h
* @retval #I18N_ERROR_NONE Successful
* @retval #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
*/
-int i18n_usearch_create(const i18n_uchar *pattern, int32_t pattern_len, const i18n_uchar *text, int32_t text_len, const char *locale, i18n_ubreak_iterator_s *break_iter, i18n_usearch_h *search_iter);
+int i18n_usearch_create(const i18n_uchar *pattern, int32_t pattern_len, const i18n_uchar *text, int32_t text_len, const char *locale, i18n_ubreak_iterator_s *break_iter, i18n_usearch_h *search_iter) TIZEN_DEPRECATED_API;
/**
* @brief Creates an #i18n_usearch_h using the argument locale language rule set.
#define __UTILS_I18N_USTRING_H__
#include <utils_i18n_types.h>
+#include <tizen.h>
+
+#ifndef TIZEN_DEPRECATED_API
+#define TIZEN_DEPRECATED_API __attribute__((__visibility__("default"), deprecated))
+#endif
/**
* @file utils_i18n_ustring.h
* @exception #I18N_ERROR_INVALID_PARAMETER Invalid function parameter
*/
int32_t i18n_ustring_to_title(i18n_uchar *dest, int32_t dest_capacity, const i18n_uchar *src, int32_t src_len, i18n_ubreak_iterator_s *title_iter,
- const char *locale, i18n_error_code_e *error_code);
+ const char *locale, i18n_error_code_e *error_code) TIZEN_DEPRECATED_API;
/**
* @brief Titlecases a string.
int i18n_timezone_in_daylight_time(i18n_timezone_h timezone, i18n_udate date,
i18n_ubool *daylight_time)
{
+ ERR("DEPRECATION WARNING: i18n_timezone_in_daylight_time() is deprecated and will be removed from next release.");
retv_if(timezone == NULL || daylight_time == NULL, I18N_ERROR_INVALID_PARAMETER);
UErrorCode status = U_ZERO_ERROR;
int32_t text_len, const char *locale, i18n_ubreak_iterator_s *break_iter,
i18n_usearch_h *search_iter)
{
+ ERR("DEPRECATION WARNING:i18n_usearch_create() is deprecated and will be removed from next release.");
retv_if(search_iter == NULL, I18N_ERROR_INVALID_PARAMETER);
i18n_error_code_e err = I18N_ERROR_NONE;
*search_iter =
int32_t src_len, i18n_ubreak_iterator_s *title_iter,
const char *locale, i18n_error_code_e *i18n_error)
{
+ ERR("DEPRECATION WARNING: i18n_ustring_to_title() is deprecated and will be removed from next release.");
if (src == NULL) {
*i18n_error = I18N_ERROR_INVALID_PARAMETER;
return 0;