OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:numberFormat
(Results
1 - 15
of
15
) sorted by null
/dalvik/libcore/luni/src/test/java/java/text/
DecimalFormatTest.java
28
NumberFormat
numberFormat
=
NumberFormat
.getNumberInstance(Locale.US);
29
numberFormat
.setGroupingUsed(false);
30
numberFormat
.setMinimumIntegerDigits(400);
34
assertEquals(309,
numberFormat
.format(123).length());
35
assertEquals(309,
numberFormat
.format(BigInteger.valueOf(123)).length());
NumberFormatTest.java
26
//
NumberFormat
.format(Object, StringBuffer, FieldPosition) guarantees it calls doubleValue for
38
NumberFormat
nf =
NumberFormat
.getNumberInstance(Locale.US);
42
//
NumberFormat
.format(Object, StringBuffer, FieldPosition) guarantees it calls longValue for
45
class MyNumberFormat extends
NumberFormat
{
58
NumberFormat
nf = new MyNumberFormat();
66
NumberFormat
numberFormat
=
NumberFormat
.getNumberInstance(new Locale("ar"));
67
assertEquals("#,##0.###;#,##0.###-", ((DecimalFormat)
numberFormat
).toPattern())
[
all
...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
LocaleCache.java
20
import java.text.
NumberFormat
;
33
private
NumberFormat
numberFormat
= null;
56
* Returns a
NumberFormat
object for the specified Locale.
58
public static
NumberFormat
getNumberFormat(Locale locale) {
60
if (lc.
numberFormat
== null) {
61
lc.
numberFormat
=
NumberFormat
.getInstance(locale);
64
//
NumberFormat
is mutable, so return a new clone each time.
65
return (
NumberFormat
) lc.numberFormat.clone()
[
all
...]
/external/icu4c/i18n/
nfsubs.h
35
const DecimalFormat*
numberFormat
;
51
* get the
NumberFormat
of this object.
52
* @return the
numberformat
of this object.
54
const DecimalFormat* getNumberFormat() const { return
numberFormat
; }
175
* numerals using a default-costructed
NumberFormat
. If false,
plurfmt.cpp
83
numberFormat
=
NumberFormat
::createInstance(locale, status);
97
delete
numberFormat
;
117
numberFormat
=
NumberFormat
::createInstance(curLocale, status);
314
return
numberFormat
->format(number, appendTo, pos);
390
if (
numberFormat
!=NULL) {
391
delete
numberFormat
;
392
numberFormat
= NULL;
399
PluralFormat::setNumberFormat(const
NumberFormat
* format, UErrorCode& /*status*/)
[
all
...]
nfsubs.cpp
420
: pos(_pos), ruleSet(NULL),
numberFormat
(NULL)
461
this->
numberFormat
= new DecimalFormat(workingDescription, *sym, status);
463
if (this->
numberFormat
== 0) {
468
delete (DecimalFormat*)this->
numberFormat
;
469
this->
numberFormat
= NULL;
472
// this->
numberFormat
->setDecimalFormatSymbols(formatter->getDecimalFormatSymbols());
483
this->
numberFormat
= NULL;
495
delete (
NumberFormat
*)
numberFormat
;
numberFormat
= NULL
[
all
...]
timezone.cpp
[
all
...]
/dalvik/libcore/text/src/main/java/java/text/
DateFormat.java
127
* @see
NumberFormat
145
protected
NumberFormat
numberFormat
;
306
clone.
numberFormat
= (
NumberFormat
)
numberFormat
.clone();
330
return
numberFormat
.equals(dateFormat.
numberFormat
)
546
* Returns the {@code
NumberFormat
} used by this {@code DateFormat}.
548
* @return the {@code
NumberFormat
} used by this date format
[
all
...]
/external/icu4c/i18n/unicode/
plurfmt.h
115
* <code>
NumberFormat
</code> patterns). <code>PluralFormat</code> will
118
* <code>
NumberFormat
</code> for the <code>PluralFormat</code>'s locale. If you
120
* <code>
NumberFormat
</code> for the <code>PluralFormat</code> to use.
154
* <code>
NumberFormat
</code> supports quotes, we had to insert
384
* and the
NumberFormat
is set to the default number format for
403
void setNumberFormat(const
NumberFormat
* format, UErrorCode& status);
521
NumberFormat
*
numberFormat
;
522
NumberFormat
* replacedNumberFormat;
/dalvik/libcore/luni/src/main/java/java/util/
Formatter.java
38
import java.text.
NumberFormat
;
[
all
...]
/prebuilt/common/jfreechart/
jfreechart-1.0.9.jar
/prebuilt/sdk/5/
android.jar
/prebuilt/sdk/6/
android.jar
/prebuilt/sdk/7/
android.jar
/prebuilt/sdk/8/
android.jar
Completed in 574 milliseconds