Home
last modified time | relevance | path

Searched refs:minBD (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java3031 BigDecimal minBD = BigDecimal.valueOf(range.getMinimum()); in convertToFraction() local
3032 … BigDecimal rangeBD = BigDecimal.valueOf(range.getMaximum()).subtract(minBD).add(BigDecimal.ONE); in convertToFraction()
3033 BigDecimal valueBD = BigDecimal.valueOf(value).subtract(minBD); in convertToFraction()
3057 BigDecimal minBD = BigDecimal.valueOf(range.getMinimum()); in convertFromFraction() local
3058 … BigDecimal rangeBD = BigDecimal.valueOf(range.getMaximum()).subtract(minBD).add(BigDecimal.ONE); in convertFromFraction()
3059 … BigDecimal valueBD = fraction.multiply(rangeBD).setScale(0, RoundingMode.FLOOR).add(minBD); in convertFromFraction()