mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 23:07:33 +09:00
Issue #1971 - Part 2: Update ICU source to 63.2.
This commit is contained in:
parent
8df84683be
commit
1e69214382
3160 changed files with 275815 additions and 234203 deletions
42
intl/icu/source/i18n/nounit.cpp
Normal file
42
intl/icu/source/i18n/nounit.cpp
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
// © 2017 and later: Unicode, Inc. and others.
|
||||
// License & terms of use: http://www.unicode.org/copyright.html
|
||||
|
||||
#include "unicode/nounit.h"
|
||||
#include "uassert.h"
|
||||
|
||||
#if !UCONFIG_NO_FORMATTING
|
||||
|
||||
U_NAMESPACE_BEGIN
|
||||
|
||||
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(NoUnit)
|
||||
|
||||
NoUnit U_EXPORT2 NoUnit::base() {
|
||||
return NoUnit("base");
|
||||
}
|
||||
|
||||
NoUnit U_EXPORT2 NoUnit::percent() {
|
||||
return NoUnit("percent");
|
||||
}
|
||||
|
||||
NoUnit U_EXPORT2 NoUnit::permille() {
|
||||
return NoUnit("permille");
|
||||
}
|
||||
|
||||
NoUnit::NoUnit(const char* subtype) {
|
||||
initNoUnit(subtype);
|
||||
}
|
||||
|
||||
NoUnit::NoUnit(const NoUnit& other) : MeasureUnit(other) {
|
||||
}
|
||||
|
||||
UObject* NoUnit::clone() const {
|
||||
return new NoUnit(*this);
|
||||
}
|
||||
|
||||
NoUnit::~NoUnit() {
|
||||
}
|
||||
|
||||
|
||||
U_NAMESPACE_END
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue