Searched refs:numHours (Results 1 - 3 of 3) sorted by relevance

/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/
H A DDuration.java62 numHours = msecLeftover / MSEC_PER_HOUR;
63 msecLeftover -= numHours * MSEC_PER_HOUR;
97 else if(numHours > 0)
98 s = strings.get("hours_t", numHours, numMinutes);
113 s = strings.get("weeks", numWeeks, numDays, numHours, numMinutes, numSeconds);
115 s = strings.get("days", numDays, numHours, numMinutes, numSeconds);
116 else if(numHours > 0)
117 s = strings.get("hours", numHours, numMinutes, numSeconds);
130 public final long numHours; field in class:Duration
/glassfish-3.1.2/common/common-util/src/test/java/com/sun/enterprise/universal/
H A DDurationTest.java85 assertTrue(d.numHours == 23);
103 assertTrue(d.numHours == 23);
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/
H A DCommonHandlers.java282 long numHours = msecLeftover / MSEC_PER_HOUR;
283 msecLeftover -= numHours * MSEC_PER_HOUR;
296 } else if (numHours > 0) {
297 readableString = String.format(FORMAT2, numHours, GuiUtil.getMessage("common.Hours"), numMinutes, GuiUtil.getMessage("common.Minutes"));

Completed in 14 milliseconds