public class DecimalHelper extends java.lang.Object implements TypeHelper
| Constructor and Description |
|---|
DecimalHelper(java.util.function.Function<java.lang.String,java.lang.Comparable> to) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessageKeySuffix() |
java.lang.String |
isValidFacet(java.util.Locale local,
ArithmeticHelper arith,
java.lang.String typeName,
java.lang.String facet,
java.lang.String value) |
ErrorValuePair |
stringToValue(java.util.Locale local,
ArithmeticHelper arith,
java.lang.String source) |
static java.lang.String |
trimFractionDigit(TypeFacet typeFacet,
java.lang.String val) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateError, createValuepublic DecimalHelper(java.util.function.Function<java.lang.String,java.lang.Comparable> to)
public java.lang.String isValidFacet(java.util.Locale local,
ArithmeticHelper arith,
java.lang.String typeName,
java.lang.String facet,
java.lang.String value)
isValidFacet in interface TypeHelperpublic ErrorValuePair stringToValue(java.util.Locale local, ArithmeticHelper arith, java.lang.String source)
stringToValue in interface TypeHelperpublic java.lang.String getMessageKeySuffix()
getMessageKeySuffix in interface TypeHelperpublic static java.lang.String trimFractionDigit(TypeFacet typeFacet, java.lang.String val)
Copyright © 2023. All Rights Reserved.