Package com.github.miachm.sods
Class OfficeCurrency
java.lang.Object
com.github.miachm.sods.OfficeCurrency
This class represents a Currency in a Spreadsheet
It contains the current currency object (java.util.Currency) and the numeric value
-
Constructor Summary
ConstructorsConstructorDescriptionOfficeCurrency(Currency currency, Double value) It builds an inmutable class of the OfficeCurrencyOfficeCurrency(Currency currency, Double value, NumberFormat format) It builds an inmutable class of the OfficeCurrency -
Method Summary
-
Constructor Details
-
OfficeCurrency
It builds an inmutable class of the OfficeCurrency- Parameters:
currency- The currency instance class, it specify which currency is. It can be nullvalue- The numeric value. It can be null.
-
OfficeCurrency
It builds an inmutable class of the OfficeCurrency- Parameters:
currency- The currency instance class, it specify which currency is. It can be nullvalue- The numeric value. It can be null.format- How the currency value should be formatted in a string
-
-
Method Details