public enum TaxRoundingMode extends Enum<TaxRoundingMode>
| Modifier and Type | Method and Description |
|---|---|
RoundingMode |
getRoundingMode() |
static TaxRoundingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaxRoundingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaxRoundingMode HALF_EVEN
public static final TaxRoundingMode HALF_UP
public static TaxRoundingMode[] values()
for (TaxRoundingMode c : TaxRoundingMode.values()) System.out.println(c);
public static TaxRoundingMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic RoundingMode getRoundingMode()
Copyright © 2008–2016 Sohnar Ltd.. All rights reserved.