Searched refs:numMinutes (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.java65 numMinutes = msecLeftover / MSEC_PER_MINUTE;
66 msecLeftover -= numMinutes * MSEC_PER_MINUTE;
98 s = strings.get("hours_t", numHours, numMinutes);
99 else if(numMinutes > 0)
100 s = strings.get("minutes_t", numMinutes, numSeconds);
113 s = strings.get("weeks", numWeeks, numDays, numHours, numMinutes, numSeconds);
115 s = strings.get("days", numDays, numHours, numMinutes, numSeconds);
117 s = strings.get("hours", numHours, numMinutes, numSeconds);
118 else if(numMinutes > 0)
119 s = strings.get("minutes", numMinutes, numSecond
131 public final long numMinutes; field in class:Duration
[all...]
/glassfish-3.1.2/common/common-util/src/test/java/com/sun/enterprise/universal/
H A DDurationTest.java86 assertTrue(d.numMinutes == 59);
104 assertTrue(d.numMinutes == 59);
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/
H A DCommonHandlers.java285 long numMinutes = msecLeftover / MSEC_PER_MINUTE;
286 msecLeftover -= numMinutes * MSEC_PER_MINUTE;
297 readableString = String.format(FORMAT2, numHours, GuiUtil.getMessage("common.Hours"), numMinutes, GuiUtil.getMessage("common.Minutes"));
298 } else if (numMinutes > 0) {
299 readableString = String.format(FORMAT2, numMinutes, GuiUtil.getMessage("common.Minutes"), numSeconds, GuiUtil.getMessage("common.Seconds"));

Completed in 10 milliseconds