Searched refs:fraction (Results 1 - 12 of 12) sorted by relevance
/openjdk7/jdk/src/share/classes/sun/util/calendar/ |
H A D | AbstractCalendar.java | 216 long fraction = date.getTimeOfDay(); 217 if (fraction != CalendarDate.TIME_UNDEFINED) { 218 return fraction; 220 fraction = getTimeOfDayValue(date); 221 date.setTimeOfDay(fraction); 222 return fraction; 226 long fraction = date.getHours(); 227 fraction *= 60; 228 fraction += date.getMinutes(); 229 fraction * 236 setTimeOfDay(CalendarDate cdate, int fraction) argument [all...] |
H A D | CalendarDate.java | 78 private long fraction; // time of day value in millisecond field in class:CalendarDate 300 return fraction = TIME_UNDEFINED; 302 return fraction; 335 protected void setTimeOfDay(long fraction) { argument 336 this.fraction = fraction;
|
H A D | ImmutableGregorianDate.java | 165 protected void setTimeOfDay(long fraction) { argument
|
/openjdk7/jdk/src/share/classes/java/nio/file/attribute/ |
H A D | FileTime.java | 213 * for the decimal fraction of a second. It is only present when the decimal 214 * fraction of a second is not zero. For example, {@code 242 long fraction = asDaysAndNanos().fractionOfSecondInNanos(); 243 if (fraction != 0L) { 244 // fraction must be positive 245 if (fraction < 0L) { 247 fraction += MAX_FRACTION_PLUS_1; 253 String s = Long.toString(fraction); 337 * Returns the fraction of a second, in nanoseconds.
|
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | VariableGridLayout.java | 114 public void setRowFraction(int rowNum, double fraction) { argument 116 rowFractions[rowNum] = fraction; 119 public void setColFraction(int colNum, double fraction) { argument 121 colFractions[colNum] = fraction;
|
/openjdk7/jdk/test/java/util/Currency/ |
H A D | PropertiesTest.java | 142 int fraction = Integer.parseInt(m.group(3)); 146 (fraction == fractionAfter)) { 149 throw new RuntimeException("Currency data replacement for "+key+" failed: actual: (alphacode: "+codeAfter+", numcode: "+numericAfter+", fraction: "+fractionAfter+"), expected: (alphacode: "+code+", numcode: "+numeric+", fraction: "+fraction+")");
|
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/report/ |
H A D | J2DAnalyzer.java | 801 String fraction = String.valueOf(val); 802 fraction = fraction.substring(fraction.indexOf('.')); 803 ret += fraction;
|
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Currency.java | 88 * Default fraction digits for this currency. 111 // - obtain default fraction digits for currency codes 113 // sc = special case; dfd = default fraction digits 126 // - bits 5-6: fraction digits for simple countries, 0 for special cases 137 // - scOldCurrenciesDFD: default fraction digits for old currencies 138 // - scNewCurrenciesDFD: default fraction digits for new currencies, 0 for 504 * Gets the default number of fraction digits used with this currency. 505 * For example, the default number of fraction digits for the Euro is 2, 510 * @return the default number of fraction digits used with this currency 681 * and "one-digit (0,1,2, or 3) default fraction digi [all...] |
/openjdk7/jdk/src/macosx/native/sun/awt/ |
H A D | CImage.m | 68 fraction:1.0];
|
H A D | CTrayIcon.m | 235 fraction:1.0
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | psAdaptiveSizePolicy.cpp | 860 double fraction = part / total; local 861 reduced_change = (size_t) (fraction * (double) change);
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/ |
H A D | DurationImpl.java | 1284 * @return seconds in the integer value. The fraction of seconds 1504 * any fraction produced by the computation will be 1523 * @throws IllegalStateException if operation produces fraction in 1931 BigDecimal fraction = 1933 int millisec = fraction.movePointRight(3).intValue();
|
Completed in 96 milliseconds