/*
********************************************************************************
-* Copyright (C) 1997-2004, International Business Machines
+* Copyright (C) 1997-2005, International Business Machines
* Corporation and others. All Rights Reserved.
********************************************************************************
*
#include "unicode/utypes.h"
+/**
+ * \file
+ * \brief C++ API: Choice Format.
+ */
+
#if !UCONFIG_NO_FORMATTING
#include "unicode/unistr.h"
*
* <p>or equivalently,</p>
*
- * <pre> 0#are no files|1#is one file|1<are many files</pre>
+ * \htmlonly<pre> 0#are no files|1#is one file|1<are many files</pre>\endhtmlonly
*
* <p>The pattern consists of a number or <em>range specifiers</em>
* separated by vertical bars '|' (U+007C). There is no
* <p><strong>Notes</strong></p>
*
* <p>The first limit value does not define a range boundary. For
- * example, in the pattern "<code>1.0#a|2.0#b</code>", the
+ * example, in the pattern \htmlonly"<code>1.0#a|2.0#b</code>"\endhtmlonly, the
* intervals are [-Inf, 2.0) and [2.0, +Inf]. It appears that the first
* interval should be [1.0, 2.0). However, since all values that are too
* small are mapped to range zero, the first interval is effectively
* @param pos On input: an alignment field, if desired.
* On output: the offsets of the alignment field.
* @return Reference to 'appendTo' parameter.
- * @draft ICU 2.8
+ * @stable ICU 2.8
*/
virtual UnicodeString& format(int64_t number,
UnicodeString& appendTo,