Package | Description |
---|---|
org.bitcoinj.utils |
Formatting monetary amounts, representing exchange rates, a program for loading Bitcoin Core saved block files,
a class to control how bitcoinj uses threads and misc other utility classes that don't fit anywhere else.
|
Modifier and Type | Method and Description |
---|---|
static BtcFormat.Builder |
BtcFormat.builder()
Return a new
BtcFormat.Builder object. |
BtcFormat.Builder |
BtcFormat.Builder.code(String val)
Specify a custom currency code to be used in the denomination-unit indicators
of formatted values.
|
BtcFormat.Builder |
BtcFormat.Builder.fractionDigits(int val)
Specify the number of decimal places in the fraction part of formatted numbers.
|
BtcFormat.Builder |
BtcFormat.Builder.fractionGroups(int... val)
Specify the sizes of a variable number of optional decimal-place groups in the
fraction part of formatted values.
|
BtcFormat.Builder |
BtcFormat.Builder.locale(Locale val)
Specify the
Locale for formatting and parsing. |
BtcFormat.Builder |
BtcFormat.Builder.localizedPattern(String val)
Use the given localized-pattern for formatting and parsing.
|
BtcFormat.Builder |
BtcFormat.Builder.minimumFractionDigits(int val)
Specify the minimum number of decimal places in the fraction part of formatted values.
|
BtcFormat.Builder |
BtcFormat.Builder.pattern(String val)
Use the given pattern when formatting and parsing.
|
BtcFormat.Builder |
BtcFormat.Builder.scale(int val)
Specify a fixed-denomination of units to use when formatting and parsing values.
|
BtcFormat.Builder |
BtcFormat.Builder.style(BtcAutoFormat.Style val)
Specify the new
BtcFormat is to be automatically-denominating. |
BtcFormat.Builder |
BtcFormat.Builder.symbol(String val)
Specify a currency symbol to be used in the denomination-unit indicators
of formatted values.
|
Copyright © 2016. All rights reserved.