Uses of Interface
org.openhab.core.library.dimension.Currency
-
Uses of Currency in org.openhab.core.library.unit
Modifier and TypeFieldDescriptionstatic final javax.measure.Unit<Currency>
CurrencyUnits.BASE_CURRENCY
Modifier and TypeMethodDescriptionstatic javax.measure.Unit<Currency>
CurrencyUnits.createCurrency
(String symbol, String name) javax.measure.Unit<Currency>
CurrencyUnit.divide
(double divisor) Collection<javax.measure.Unit<Currency>>
CurrencyProvider.getAdditionalCurrencies()
Get all additional currency that are supported by this providerjavax.measure.Unit<Currency>
CurrencyProvider.getBaseCurrency()
Get the base currency from this providerFunction<javax.measure.Unit<Currency>,
@Nullable BigDecimal> CurrencyProvider.getExchangeRateFunction()
Get aFunction
that supplies exchanges rates for currencies supported by this providerjavax.measure.Unit<Currency>
CurrencyUnit.multiply
(double multiplier) javax.measure.Unit<Currency>
CurrencyUnit.prefix
(javax.measure.Prefix prefix) javax.measure.Unit<Currency>
CurrencyUnit.shift
(double offset) protected javax.measure.Unit<Currency>
CurrencyUnit.toSystemUnit()
Modifier and TypeMethodDescriptionstatic void
int
static @Nullable BigDecimal
CurrencyUnits.getExchangeRate
(javax.measure.Unit<Currency> currency) Get the exchange rate for a given currency to the system's base unitboolean
CurrencyUnit.isEquivalentTo
(javax.measure.Unit<Currency> that) static void
CurrencyUnits.removeUnit
(javax.measure.Unit<Currency> unit)