X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/51004dcb01e06fef634b61be77ed73dd61cb6db9..c5116b9f5a666b9d59f443b3770acd6ef64dc6c3:/icuSources/i18n/choicfmt.cpp diff --git a/icuSources/i18n/choicfmt.cpp b/icuSources/i18n/choicfmt.cpp index 79a722bd..42e1fa28 100644 --- a/icuSources/i18n/choicfmt.cpp +++ b/icuSources/i18n/choicfmt.cpp @@ -1,6 +1,8 @@ +// © 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* -* Copyright (C) 1997-2012, International Business Machines Corporation and * +* Copyright (C) 1997-2013, International Business Machines Corporation and * * others. All Rights Reserved. * ******************************************************************************* * @@ -490,18 +492,6 @@ ChoiceFormat::format(const Formattable* objs, return appendTo; } -// ------------------------------------- -// Formats an array of objects. Checks if the data type of the objects -// to get the right value for formatting. - -UnicodeString& -ChoiceFormat::format(const Formattable& obj, - UnicodeString& appendTo, - FieldPosition& pos, - UErrorCode& status) const -{ - return NumberFormat::format(obj, appendTo, pos, status); -} // ------------------------------------- void @@ -571,17 +561,6 @@ ChoiceFormat::matchStringUntilLimitPart( } } -// ------------------------------------- -// Parses the text and return the Formattable object. - -void -ChoiceFormat::parse(const UnicodeString& text, - Formattable& result, - UErrorCode& status) const -{ - NumberFormat::parse(text, result, status); -} - // ------------------------------------- Format*