public class SimpleQuantityFormatBuilder extends Object
This allows a SimpleQuantityFormat to be created.
| Constructor and Description |
|---|
SimpleQuantityFormatBuilder() |
| Modifier and Type | Method and Description |
|---|---|
SimpleQuantityFormatBuilder |
appendUnit(javax.measure.Unit<?> u)
Appends the unit to the formatter.
|
SimpleQuantityFormat |
build()
Returns an instance of
SimpleQuantityFormat created from the fields set
on this builder. |
public SimpleQuantityFormatBuilder()
public SimpleQuantityFormatBuilder appendUnit(javax.measure.Unit<?> u)
This appends an instruction to format/parse a unit to the builder.
public SimpleQuantityFormat build()
SimpleQuantityFormat created from the fields set
on this builder.Copyright © 2005–2018 Units of Measurement project. All rights reserved.