| OLD | NEW |
| 1 /** | 1 /** |
| 2 ******************************************************************************* | 2 ******************************************************************************* |
| 3 * Copyright (C) 2001-2014, International Business Machines Corporation and * | 3 * Copyright (C) 2001-2014, International Business Machines Corporation and * |
| 4 * others. All Rights Reserved. * | 4 * others. All Rights Reserved. * |
| 5 ******************************************************************************* | 5 ******************************************************************************* |
| 6 * | 6 * |
| 7 ******************************************************************************* | 7 ******************************************************************************* |
| 8 */ | 8 */ |
| 9 #include "unicode/utypes.h" | 9 #include "unicode/utypes.h" |
| 10 | 10 |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 return temp.indexOf(_primaryID) == 0 && | 151 return temp.indexOf(_primaryID) == 0 && |
| 152 (temp.length() == _primaryID.length() || | 152 (temp.length() == _primaryID.length() || |
| 153 temp.charAt(_primaryID.length()) == UNDERSCORE_CHAR); | 153 temp.charAt(_primaryID.length()) == UNDERSCORE_CHAR); |
| 154 } | 154 } |
| 155 | 155 |
| 156 #ifdef SERVICE_DEBUG | 156 #ifdef SERVICE_DEBUG |
| 157 UnicodeString& | 157 UnicodeString& |
| 158 LocaleKey::debug(UnicodeString& result) const | 158 LocaleKey::debug(UnicodeString& result) const |
| 159 { | 159 { |
| 160 ICUServiceKey::debug(result); | 160 ICUServiceKey::debug(result); |
| 161 result.append(" kind: "); | 161 result.append((UnicodeString)" kind: "); |
| 162 result.append(_kind); | 162 result.append(_kind); |
| 163 result.append(" primaryID: "); | 163 result.append((UnicodeString)" primaryID: "); |
| 164 result.append(_primaryID); | 164 result.append(_primaryID); |
| 165 result.append(" fallbackID: "); | 165 result.append((UnicodeString)" fallbackID: "); |
| 166 result.append(_fallbackID); | 166 result.append(_fallbackID); |
| 167 result.append(" currentID: "); | 167 result.append((UnicodeString)" currentID: "); |
| 168 result.append(_currentID); | 168 result.append(_currentID); |
| 169 return result; | 169 return result; |
| 170 } | 170 } |
| 171 | 171 |
| 172 UnicodeString& | 172 UnicodeString& |
| 173 LocaleKey::debugClass(UnicodeString& result) const | 173 LocaleKey::debugClass(UnicodeString& result) const |
| 174 { | 174 { |
| 175 return result.append("LocaleKey "); | 175 return result.append((UnicodeString)"LocaleKey "); |
| 176 } | 176 } |
| 177 #endif | 177 #endif |
| 178 | 178 |
| 179 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(LocaleKey) | 179 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(LocaleKey) |
| 180 | 180 |
| 181 U_NAMESPACE_END | 181 U_NAMESPACE_END |
| 182 | 182 |
| 183 /* !UCONFIG_NO_SERVICE */ | 183 /* !UCONFIG_NO_SERVICE */ |
| 184 #endif | 184 #endif |
| 185 | 185 |
| 186 | 186 |
| OLD | NEW |