aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/icu/i18n/tzgnames.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/i18n/tzgnames.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/i18n/tzgnames.h')
-rw-r--r--contrib/libs/icu/i18n/tzgnames.h130
1 files changed, 65 insertions, 65 deletions
diff --git a/contrib/libs/icu/i18n/tzgnames.h b/contrib/libs/icu/i18n/tzgnames.h
index 71d9d84dc0..ea6e3549f3 100644
--- a/contrib/libs/icu/i18n/tzgnames.h
+++ b/contrib/libs/icu/i18n/tzgnames.h
@@ -1,67 +1,67 @@
// © 2016 and later: Unicode, Inc. and others.
-// License & terms of use: http://www.unicode.org/copyright.html
-/*
-*******************************************************************************
-* Copyright (C) 2011-2012, International Business Machines Corporation and *
-* others. All Rights Reserved. *
-*******************************************************************************
-*/
-#ifndef __TZGNAMES_H
-#define __TZGNAMES_H
-
-/**
- * \file
- * \brief C API: Time zone generic names classe
- */
-
-#include "unicode/utypes.h"
-
-#if !UCONFIG_NO_FORMATTING
-
-#include "unicode/locid.h"
-#include "unicode/unistr.h"
-#include "unicode/tzfmt.h"
-#include "unicode/tznames.h"
-
-U_CDECL_BEGIN
-
-typedef enum UTimeZoneGenericNameType {
- UTZGNM_UNKNOWN = 0x00,
- UTZGNM_LOCATION = 0x01,
- UTZGNM_LONG = 0x02,
- UTZGNM_SHORT = 0x04
-} UTimeZoneGenericNameType;
-
-U_CDECL_END
-
-U_NAMESPACE_BEGIN
-
-class TimeZone;
-struct TZGNCoreRef;
-
-class U_I18N_API TimeZoneGenericNames : public UMemory {
-public:
- virtual ~TimeZoneGenericNames();
-
- static TimeZoneGenericNames* createInstance(const Locale& locale, UErrorCode& status);
-
- virtual UBool operator==(const TimeZoneGenericNames& other) const;
+// License & terms of use: http://www.unicode.org/copyright.html
+/*
+*******************************************************************************
+* Copyright (C) 2011-2012, International Business Machines Corporation and *
+* others. All Rights Reserved. *
+*******************************************************************************
+*/
+#ifndef __TZGNAMES_H
+#define __TZGNAMES_H
+
+/**
+ * \file
+ * \brief C API: Time zone generic names classe
+ */
+
+#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_FORMATTING
+
+#include "unicode/locid.h"
+#include "unicode/unistr.h"
+#include "unicode/tzfmt.h"
+#include "unicode/tznames.h"
+
+U_CDECL_BEGIN
+
+typedef enum UTimeZoneGenericNameType {
+ UTZGNM_UNKNOWN = 0x00,
+ UTZGNM_LOCATION = 0x01,
+ UTZGNM_LONG = 0x02,
+ UTZGNM_SHORT = 0x04
+} UTimeZoneGenericNameType;
+
+U_CDECL_END
+
+U_NAMESPACE_BEGIN
+
+class TimeZone;
+struct TZGNCoreRef;
+
+class U_I18N_API TimeZoneGenericNames : public UMemory {
+public:
+ virtual ~TimeZoneGenericNames();
+
+ static TimeZoneGenericNames* createInstance(const Locale& locale, UErrorCode& status);
+
+ virtual UBool operator==(const TimeZoneGenericNames& other) const;
virtual UBool operator!=(const TimeZoneGenericNames& other) const {return !operator==(other);}
- virtual TimeZoneGenericNames* clone() const;
-
- UnicodeString& getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type,
- UDate date, UnicodeString& name) const;
-
- UnicodeString& getGenericLocationName(const UnicodeString& tzCanonicalID, UnicodeString& name) const;
-
- int32_t findBestMatch(const UnicodeString& text, int32_t start, uint32_t types,
- UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const;
-
-private:
- TimeZoneGenericNames();
- TZGNCoreRef* fRef;
-};
-
-U_NAMESPACE_END
-#endif
-#endif
+ virtual TimeZoneGenericNames* clone() const;
+
+ UnicodeString& getDisplayName(const TimeZone& tz, UTimeZoneGenericNameType type,
+ UDate date, UnicodeString& name) const;
+
+ UnicodeString& getGenericLocationName(const UnicodeString& tzCanonicalID, UnicodeString& name) const;
+
+ int32_t findBestMatch(const UnicodeString& text, int32_t start, uint32_t types,
+ UnicodeString& tzID, UTimeZoneFormatTimeType& timeType, UErrorCode& status) const;
+
+private:
+ TimeZoneGenericNames();
+ TZGNCoreRef* fRef;
+};
+
+U_NAMESPACE_END
+#endif
+#endif