icu::number::UnlocalizedNumberRangeFormatter Class Reference

A NumberRangeFormatter that does not yet have a locale. More...

#include <numberrangeformatter.h>

Inheritance diagram for icu::number::UnlocalizedNumberRangeFormatter:
icu::number::NumberRangeFormatterSettings< UnlocalizedNumberRangeFormatter > icu::UMemory

Public Member Functions

LocalizedNumberRangeFormatter locale (const icu::Locale &locale) const &
 Associate the given locale with the number range formatter.
LocalizedNumberRangeFormatter locale (const icu::Locale &locale)&&
 Overload of locale() for use on an rvalue reference.
 UnlocalizedNumberRangeFormatter ()
 Default constructor: puts the formatter into a valid but undefined state.
 UnlocalizedNumberRangeFormatter (const UnlocalizedNumberRangeFormatter &other)
 Returns a copy of this UnlocalizedNumberRangeFormatter.
 UnlocalizedNumberRangeFormatter (UnlocalizedNumberRangeFormatter &&src) U_NOEXCEPT
 Move constructor: The source UnlocalizedNumberRangeFormatter will be left in a valid but undefined state.
UnlocalizedNumberRangeFormatteroperator= (const UnlocalizedNumberRangeFormatter &other)
 Copy assignment operator.
UnlocalizedNumberRangeFormatteroperator= (UnlocalizedNumberRangeFormatter &&src) U_NOEXCEPT
 Move assignment operator: The source UnlocalizedNumberRangeFormatter will be left in a valid but undefined state.

Friends

class NumberRangeFormatterSettings< UnlocalizedNumberRangeFormatter >
class NumberRangeFormatter

Detailed Description

A NumberRangeFormatter that does not yet have a locale.

In order to format, a locale must be specified.

See also:
NumberRangeFormatter
Draft:
This API may be changed in the future versions and was introduced in ICU 63

Definition at line 474 of file numberrangeformatter.h.


Constructor & Destructor Documentation

icu::number::UnlocalizedNumberRangeFormatter::UnlocalizedNumberRangeFormatter (  ) 

Default constructor: puts the formatter into a valid but undefined state.

Draft:
This API may be changed in the future versions and was introduced in ICU 63
icu::number::UnlocalizedNumberRangeFormatter::UnlocalizedNumberRangeFormatter ( const UnlocalizedNumberRangeFormatter other  ) 

Returns a copy of this UnlocalizedNumberRangeFormatter.

Draft:
This API may be changed in the future versions and was introduced in ICU 63
icu::number::UnlocalizedNumberRangeFormatter::UnlocalizedNumberRangeFormatter ( UnlocalizedNumberRangeFormatter &&  src  ) 

Move constructor: The source UnlocalizedNumberRangeFormatter will be left in a valid but undefined state.

Draft:
This API may be changed in the future versions and was introduced in ICU 63

Member Function Documentation

LocalizedNumberRangeFormatter icu::number::UnlocalizedNumberRangeFormatter::locale ( const icu::Locale locale  ) 

Overload of locale() for use on an rvalue reference.

Parameters:
locale The locale to use when loading data for number formatting.
Returns:
The fluent chain.
See also:
locale
Draft:
This API may be changed in the future versions and was introduced in ICU 63
LocalizedNumberRangeFormatter icu::number::UnlocalizedNumberRangeFormatter::locale ( const icu::Locale locale  )  const

Associate the given locale with the number range formatter.

The locale is used for picking the appropriate symbols, formats, and other data for number display.

Parameters:
locale The locale to use when loading data for number formatting.
Returns:
The fluent chain.
Draft:
This API may be changed in the future versions and was introduced in ICU 63
UnlocalizedNumberRangeFormatter& icu::number::UnlocalizedNumberRangeFormatter::operator= ( UnlocalizedNumberRangeFormatter &&  src  ) 

Move assignment operator: The source UnlocalizedNumberRangeFormatter will be left in a valid but undefined state.

Draft:
This API may be changed in the future versions and was introduced in ICU 63
UnlocalizedNumberRangeFormatter& icu::number::UnlocalizedNumberRangeFormatter::operator= ( const UnlocalizedNumberRangeFormatter other  ) 

Copy assignment operator.

Draft:
This API may be changed in the future versions and was introduced in ICU 63

The documentation for this class was generated from the following file:

Generated on 12 Nov 2018 for ICU 63.1 by  doxygen 1.6.1