aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/icu/include/unicode/udisplaycontext.h
diff options
context:
space:
mode:
authorneksard <neksard@yandex-team.ru>2022-02-10 16:45:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:23 +0300
commit8f7cf138264e0caa318144bf8a2c950e0b0a8593 (patch)
tree83bf5c8c8047c42d8475e6095df90ccdc3d1b57f /contrib/libs/icu/include/unicode/udisplaycontext.h
parentd3a398281c6fd1d3672036cb2d63f842d2cb28c5 (diff)
downloadydb-8f7cf138264e0caa318144bf8a2c950e0b0a8593.tar.gz
Restoring authorship annotation for <neksard@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/icu/include/unicode/udisplaycontext.h')
-rw-r--r--contrib/libs/icu/include/unicode/udisplaycontext.h336
1 files changed, 168 insertions, 168 deletions
diff --git a/contrib/libs/icu/include/unicode/udisplaycontext.h b/contrib/libs/icu/include/unicode/udisplaycontext.h
index 398481c681..b3e0bb0668 100644
--- a/contrib/libs/icu/include/unicode/udisplaycontext.h
+++ b/contrib/libs/icu/include/unicode/udisplaycontext.h
@@ -1,172 +1,172 @@
// © 2016 and later: Unicode, Inc. and others.
-// License & terms of use: http://www.unicode.org/copyright.html
-/*
-*****************************************************************************************
-* Copyright (C) 2014-2016, International Business Machines
-* Corporation and others. All Rights Reserved.
-*****************************************************************************************
-*/
-
-#ifndef UDISPLAYCONTEXT_H
-#define UDISPLAYCONTEXT_H
-
-#include "unicode/utypes.h"
-
-#if !UCONFIG_NO_FORMATTING
-
-/**
- * \file
- * \brief C API: Display context types (enum values)
- */
-
-/**
- * Display context types, for getting values of a particular setting.
- * Note, the specific numeric values are internal and may change.
- * @stable ICU 51
- */
-enum UDisplayContextType {
- /**
- * Type to retrieve the dialect handling setting, e.g.
- * UDISPCTX_STANDARD_NAMES or UDISPCTX_DIALECT_NAMES.
- * @stable ICU 51
- */
- UDISPCTX_TYPE_DIALECT_HANDLING = 0,
- /**
- * Type to retrieve the capitalization context setting, e.g.
- * UDISPCTX_CAPITALIZATION_NONE, UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE,
- * UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE, etc.
- * @stable ICU 51
- */
- UDISPCTX_TYPE_CAPITALIZATION = 1,
- /**
- * Type to retrieve the display length setting, e.g.
- * UDISPCTX_LENGTH_FULL, UDISPCTX_LENGTH_SHORT.
- * @stable ICU 54
- */
- UDISPCTX_TYPE_DISPLAY_LENGTH = 2,
- /**
- * Type to retrieve the substitute handling setting, e.g.
- * UDISPCTX_SUBSTITUTE, UDISPCTX_NO_SUBSTITUTE.
+// License & terms of use: http://www.unicode.org/copyright.html
+/*
+*****************************************************************************************
+* Copyright (C) 2014-2016, International Business Machines
+* Corporation and others. All Rights Reserved.
+*****************************************************************************************
+*/
+
+#ifndef UDISPLAYCONTEXT_H
+#define UDISPLAYCONTEXT_H
+
+#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_FORMATTING
+
+/**
+ * \file
+ * \brief C API: Display context types (enum values)
+ */
+
+/**
+ * Display context types, for getting values of a particular setting.
+ * Note, the specific numeric values are internal and may change.
+ * @stable ICU 51
+ */
+enum UDisplayContextType {
+ /**
+ * Type to retrieve the dialect handling setting, e.g.
+ * UDISPCTX_STANDARD_NAMES or UDISPCTX_DIALECT_NAMES.
+ * @stable ICU 51
+ */
+ UDISPCTX_TYPE_DIALECT_HANDLING = 0,
+ /**
+ * Type to retrieve the capitalization context setting, e.g.
+ * UDISPCTX_CAPITALIZATION_NONE, UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE,
+ * UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE, etc.
+ * @stable ICU 51
+ */
+ UDISPCTX_TYPE_CAPITALIZATION = 1,
+ /**
+ * Type to retrieve the display length setting, e.g.
+ * UDISPCTX_LENGTH_FULL, UDISPCTX_LENGTH_SHORT.
+ * @stable ICU 54
+ */
+ UDISPCTX_TYPE_DISPLAY_LENGTH = 2,
+ /**
+ * Type to retrieve the substitute handling setting, e.g.
+ * UDISPCTX_SUBSTITUTE, UDISPCTX_NO_SUBSTITUTE.
* @stable ICU 58
- */
- UDISPCTX_TYPE_SUBSTITUTE_HANDLING = 3
-};
-/**
-* @stable ICU 51
-*/
-typedef enum UDisplayContextType UDisplayContextType;
-
-/**
- * Display context settings.
- * Note, the specific numeric values are internal and may change.
- * @stable ICU 51
- */
-enum UDisplayContext {
- /**
- * ================================
- * DIALECT_HANDLING can be set to one of UDISPCTX_STANDARD_NAMES or
- * UDISPCTX_DIALECT_NAMES. Use UDisplayContextType UDISPCTX_TYPE_DIALECT_HANDLING
- * to get the value.
- */
- /**
- * A possible setting for DIALECT_HANDLING:
- * use standard names when generating a locale name,
- * e.g. en_GB displays as 'English (United Kingdom)'.
- * @stable ICU 51
- */
- UDISPCTX_STANDARD_NAMES = (UDISPCTX_TYPE_DIALECT_HANDLING<<8) + 0,
- /**
- * A possible setting for DIALECT_HANDLING:
- * use dialect names, when generating a locale name,
- * e.g. en_GB displays as 'British English'.
- * @stable ICU 51
- */
- UDISPCTX_DIALECT_NAMES = (UDISPCTX_TYPE_DIALECT_HANDLING<<8) + 1,
- /**
- * ================================
- * CAPITALIZATION can be set to one of UDISPCTX_CAPITALIZATION_NONE,
- * UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE,
- * UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE,
- * UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU, or
- * UDISPCTX_CAPITALIZATION_FOR_STANDALONE.
- * Use UDisplayContextType UDISPCTX_TYPE_CAPITALIZATION to get the value.
- */
- /**
- * The capitalization context to be used is unknown (this is the default value).
- * @stable ICU 51
- */
- UDISPCTX_CAPITALIZATION_NONE = (UDISPCTX_TYPE_CAPITALIZATION<<8) + 0,
- /**
- * The capitalization context if a date, date symbol or display name is to be
- * formatted with capitalization appropriate for the middle of a sentence.
- * @stable ICU 51
- */
- UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE = (UDISPCTX_TYPE_CAPITALIZATION<<8) + 1,
- /**
- * The capitalization context if a date, date symbol or display name is to be
- * formatted with capitalization appropriate for the beginning of a sentence.
- * @stable ICU 51
- */
- UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE = (UDISPCTX_TYPE_CAPITALIZATION<<8) + 2,
- /**
- * The capitalization context if a date, date symbol or display name is to be
- * formatted with capitalization appropriate for a user-interface list or menu item.
- * @stable ICU 51
- */
- UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU = (UDISPCTX_TYPE_CAPITALIZATION<<8) + 3,
- /**
- * The capitalization context if a date, date symbol or display name is to be
- * formatted with capitalization appropriate for stand-alone usage such as an
- * isolated name on a calendar page.
- * @stable ICU 51
- */
- UDISPCTX_CAPITALIZATION_FOR_STANDALONE = (UDISPCTX_TYPE_CAPITALIZATION<<8) + 4,
- /**
- * ================================
- * DISPLAY_LENGTH can be set to one of UDISPCTX_LENGTH_FULL or
- * UDISPCTX_LENGTH_SHORT. Use UDisplayContextType UDISPCTX_TYPE_DISPLAY_LENGTH
- * to get the value.
- */
- /**
- * A possible setting for DISPLAY_LENGTH:
- * use full names when generating a locale name,
- * e.g. "United States" for US.
- * @stable ICU 54
- */
- UDISPCTX_LENGTH_FULL = (UDISPCTX_TYPE_DISPLAY_LENGTH<<8) + 0,
- /**
- * A possible setting for DISPLAY_LENGTH:
- * use short names when generating a locale name,
- * e.g. "U.S." for US.
- * @stable ICU 54
- */
- UDISPCTX_LENGTH_SHORT = (UDISPCTX_TYPE_DISPLAY_LENGTH<<8) + 1,
- /**
- * ================================
- * SUBSTITUTE_HANDLING can be set to one of UDISPCTX_SUBSTITUTE or
- * UDISPCTX_NO_SUBSTITUTE. Use UDisplayContextType UDISPCTX_TYPE_SUBSTITUTE_HANDLING
- * to get the value.
- */
- /**
- * A possible setting for SUBSTITUTE_HANDLING:
- * Returns a fallback value (e.g., the input code) when no data is available.
- * This is the default value.
+ */
+ UDISPCTX_TYPE_SUBSTITUTE_HANDLING = 3
+};
+/**
+* @stable ICU 51
+*/
+typedef enum UDisplayContextType UDisplayContextType;
+
+/**
+ * Display context settings.
+ * Note, the specific numeric values are internal and may change.
+ * @stable ICU 51
+ */
+enum UDisplayContext {
+ /**
+ * ================================
+ * DIALECT_HANDLING can be set to one of UDISPCTX_STANDARD_NAMES or
+ * UDISPCTX_DIALECT_NAMES. Use UDisplayContextType UDISPCTX_TYPE_DIALECT_HANDLING
+ * to get the value.
+ */
+ /**
+ * A possible setting for DIALECT_HANDLING:
+ * use standard names when generating a locale name,
+ * e.g. en_GB displays as 'English (United Kingdom)'.
+ * @stable ICU 51
+ */
+ UDISPCTX_STANDARD_NAMES = (UDISPCTX_TYPE_DIALECT_HANDLING<<8) + 0,
+ /**
+ * A possible setting for DIALECT_HANDLING:
+ * use dialect names, when generating a locale name,
+ * e.g. en_GB displays as 'British English'.
+ * @stable ICU 51
+ */
+ UDISPCTX_DIALECT_NAMES = (UDISPCTX_TYPE_DIALECT_HANDLING<<8) + 1,
+ /**
+ * ================================
+ * CAPITALIZATION can be set to one of UDISPCTX_CAPITALIZATION_NONE,
+ * UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE,
+ * UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE,
+ * UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU, or
+ * UDISPCTX_CAPITALIZATION_FOR_STANDALONE.
+ * Use UDisplayContextType UDISPCTX_TYPE_CAPITALIZATION to get the value.
+ */
+ /**
+ * The capitalization context to be used is unknown (this is the default value).
+ * @stable ICU 51
+ */
+ UDISPCTX_CAPITALIZATION_NONE = (UDISPCTX_TYPE_CAPITALIZATION<<8) + 0,
+ /**
+ * The capitalization context if a date, date symbol or display name is to be
+ * formatted with capitalization appropriate for the middle of a sentence.
+ * @stable ICU 51
+ */
+ UDISPCTX_CAPITALIZATION_FOR_MIDDLE_OF_SENTENCE = (UDISPCTX_TYPE_CAPITALIZATION<<8) + 1,
+ /**
+ * The capitalization context if a date, date symbol or display name is to be
+ * formatted with capitalization appropriate for the beginning of a sentence.
+ * @stable ICU 51
+ */
+ UDISPCTX_CAPITALIZATION_FOR_BEGINNING_OF_SENTENCE = (UDISPCTX_TYPE_CAPITALIZATION<<8) + 2,
+ /**
+ * The capitalization context if a date, date symbol or display name is to be
+ * formatted with capitalization appropriate for a user-interface list or menu item.
+ * @stable ICU 51
+ */
+ UDISPCTX_CAPITALIZATION_FOR_UI_LIST_OR_MENU = (UDISPCTX_TYPE_CAPITALIZATION<<8) + 3,
+ /**
+ * The capitalization context if a date, date symbol or display name is to be
+ * formatted with capitalization appropriate for stand-alone usage such as an
+ * isolated name on a calendar page.
+ * @stable ICU 51
+ */
+ UDISPCTX_CAPITALIZATION_FOR_STANDALONE = (UDISPCTX_TYPE_CAPITALIZATION<<8) + 4,
+ /**
+ * ================================
+ * DISPLAY_LENGTH can be set to one of UDISPCTX_LENGTH_FULL or
+ * UDISPCTX_LENGTH_SHORT. Use UDisplayContextType UDISPCTX_TYPE_DISPLAY_LENGTH
+ * to get the value.
+ */
+ /**
+ * A possible setting for DISPLAY_LENGTH:
+ * use full names when generating a locale name,
+ * e.g. "United States" for US.
+ * @stable ICU 54
+ */
+ UDISPCTX_LENGTH_FULL = (UDISPCTX_TYPE_DISPLAY_LENGTH<<8) + 0,
+ /**
+ * A possible setting for DISPLAY_LENGTH:
+ * use short names when generating a locale name,
+ * e.g. "U.S." for US.
+ * @stable ICU 54
+ */
+ UDISPCTX_LENGTH_SHORT = (UDISPCTX_TYPE_DISPLAY_LENGTH<<8) + 1,
+ /**
+ * ================================
+ * SUBSTITUTE_HANDLING can be set to one of UDISPCTX_SUBSTITUTE or
+ * UDISPCTX_NO_SUBSTITUTE. Use UDisplayContextType UDISPCTX_TYPE_SUBSTITUTE_HANDLING
+ * to get the value.
+ */
+ /**
+ * A possible setting for SUBSTITUTE_HANDLING:
+ * Returns a fallback value (e.g., the input code) when no data is available.
+ * This is the default value.
* @stable ICU 58
- */
- UDISPCTX_SUBSTITUTE = (UDISPCTX_TYPE_SUBSTITUTE_HANDLING<<8) + 0,
- /**
- * A possible setting for SUBSTITUTE_HANDLING:
- * Returns a null value when no data is available.
+ */
+ UDISPCTX_SUBSTITUTE = (UDISPCTX_TYPE_SUBSTITUTE_HANDLING<<8) + 0,
+ /**
+ * A possible setting for SUBSTITUTE_HANDLING:
+ * Returns a null value when no data is available.
* @stable ICU 58
- */
- UDISPCTX_NO_SUBSTITUTE = (UDISPCTX_TYPE_SUBSTITUTE_HANDLING<<8) + 1
-
-};
-/**
-* @stable ICU 51
-*/
-typedef enum UDisplayContext UDisplayContext;
-
-#endif /* #if !UCONFIG_NO_FORMATTING */
-
-#endif
+ */
+ UDISPCTX_NO_SUBSTITUTE = (UDISPCTX_TYPE_SUBSTITUTE_HANDLING<<8) + 1
+
+};
+/**
+* @stable ICU 51
+*/
+typedef enum UDisplayContext UDisplayContext;
+
+#endif /* #if !UCONFIG_NO_FORMATTING */
+
+#endif