public class InvestmentNumericUtil extends Object
Modifier and Type | Field and Description |
---|---|
static long |
MAXIMUM_QUANTITY_MILLIS |
protected static BigDecimal |
MICROS_DIVISOR |
protected static BigDecimal |
MILLIS_DIVISOR |
protected static NumberFormat |
MILLIS_NUMBER_FORMAT |
static String |
MILLIS_NUMBER_PATTERN |
protected static NumberFormat |
MILLIS_PERCENT_FORMAT |
static String |
MILLIS_PERCENT_PATTERN |
Modifier and Type | Method and Description |
---|---|
static String |
formatMicrosAsPercentage(long micros) |
static String |
formatMillisAsNumber(long millis) |
static String |
formatMillisAsPercentage(long millis) |
public static final long MAXIMUM_QUANTITY_MILLIS
public static final String MILLIS_NUMBER_PATTERN
public static final String MILLIS_PERCENT_PATTERN
protected static final NumberFormat MILLIS_NUMBER_FORMAT
protected static final NumberFormat MILLIS_PERCENT_FORMAT
protected static final BigDecimal MILLIS_DIVISOR
protected static final BigDecimal MICROS_DIVISOR
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.