aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/icu/i18n/curramt.cpp
diff options
context:
space:
mode:
authorneksard <neksard@yandex-team.ru>2022-02-10 16:45:33 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:33 +0300
commit1d9c550e7c38e051d7961f576013a482003a70d9 (patch)
treeb2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /contrib/libs/icu/i18n/curramt.cpp
parent8f7cf138264e0caa318144bf8a2c950e0b0a8593 (diff)
downloadydb-1d9c550e7c38e051d7961f576013a482003a70d9.tar.gz
Restoring authorship annotation for <neksard@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/icu/i18n/curramt.cpp')
-rw-r--r--contrib/libs/icu/i18n/curramt.cpp96
1 files changed, 48 insertions, 48 deletions
diff --git a/contrib/libs/icu/i18n/curramt.cpp b/contrib/libs/icu/i18n/curramt.cpp
index 029ab66156..6fd2ea2fda 100644
--- a/contrib/libs/icu/i18n/curramt.cpp
+++ b/contrib/libs/icu/i18n/curramt.cpp
@@ -1,52 +1,52 @@
// © 2016 and later: Unicode, Inc. and others.
-// License & terms of use: http://www.unicode.org/copyright.html
-/*
-**********************************************************************
-* Copyright (c) 2004, International Business Machines
-* Corporation and others. All Rights Reserved.
-**********************************************************************
-* Author: Alan Liu
-* Created: April 26, 2004
-* Since: ICU 3.0
-**********************************************************************
-*/
-#include "unicode/utypes.h"
-
-#if !UCONFIG_NO_FORMATTING
-
-#include "unicode/curramt.h"
-#include "unicode/currunit.h"
-
-U_NAMESPACE_BEGIN
-
+// License & terms of use: http://www.unicode.org/copyright.html
+/*
+**********************************************************************
+* Copyright (c) 2004, International Business Machines
+* Corporation and others. All Rights Reserved.
+**********************************************************************
+* Author: Alan Liu
+* Created: April 26, 2004
+* Since: ICU 3.0
+**********************************************************************
+*/
+#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_FORMATTING
+
+#include "unicode/curramt.h"
+#include "unicode/currunit.h"
+
+U_NAMESPACE_BEGIN
+
CurrencyAmount::CurrencyAmount(const Formattable& amount, ConstChar16Ptr isoCode,
- UErrorCode& ec) :
- Measure(amount, new CurrencyUnit(isoCode, ec), ec) {
-}
-
+ UErrorCode& ec) :
+ Measure(amount, new CurrencyUnit(isoCode, ec), ec) {
+}
+
CurrencyAmount::CurrencyAmount(double amount, ConstChar16Ptr isoCode,
- UErrorCode& ec) :
- Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) {
-}
-
-CurrencyAmount::CurrencyAmount(const CurrencyAmount& other) :
- Measure(other) {
-}
-
-CurrencyAmount& CurrencyAmount::operator=(const CurrencyAmount& other) {
- Measure::operator=(other);
- return *this;
-}
-
+ UErrorCode& ec) :
+ Measure(Formattable(amount), new CurrencyUnit(isoCode, ec), ec) {
+}
+
+CurrencyAmount::CurrencyAmount(const CurrencyAmount& other) :
+ Measure(other) {
+}
+
+CurrencyAmount& CurrencyAmount::operator=(const CurrencyAmount& other) {
+ Measure::operator=(other);
+ return *this;
+}
+
CurrencyAmount* CurrencyAmount::clone() const {
- return new CurrencyAmount(*this);
-}
-
-CurrencyAmount::~CurrencyAmount() {
-}
-
-UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CurrencyAmount)
-
-U_NAMESPACE_END
-
-#endif // !UCONFIG_NO_FORMATTING
+ return new CurrencyAmount(*this);
+}
+
+CurrencyAmount::~CurrencyAmount() {
+}
+
+UOBJECT_DEFINE_RTTI_IMPLEMENTATION(CurrencyAmount)
+
+U_NAMESPACE_END
+
+#endif // !UCONFIG_NO_FORMATTING