Searched refs:numSeconds (Results 1 - 5 of 5) sorted by relevance

/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/
H A DDuration.java68 numSeconds = msecLeftover / MSEC_PER_SECOND;
69 msecLeftover -= numSeconds * MSEC_PER_SECOND;
100 s = strings.get("minutes_t", numMinutes, numSeconds);
101 else if(numSeconds > 0)
102 s = strings.get("seconds_t", 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);
119 s = strings.get("minutes", numMinutes, numSeconds);
120 else if(numSeconds >
132 public final long numSeconds; field in class:Duration
[all...]
H A DNanoDuration.java62 numSeconds = ns / NSEC_PER_SECOND;
82 if(numSeconds > 0.0)
83 s = String.format(fmt, numSeconds, "seconds");
102 private double numSeconds = -1.0; field in class:NanoDuration
/glassfish-3.1.2/common/common-util/src/test/java/com/sun/enterprise/universal/
H A DDurationTest.java87 assertTrue(d.numSeconds == 59);
105 assertTrue(d.numSeconds == 59);
117 assertTrue(d.numSeconds == 27);
123 assertTrue(d.numSeconds == 0);
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/handlers/
H A DCommonHandlers.java288 long numSeconds = msecLeftover / MSEC_PER_SECOND;
289 msecLeftover -= numSeconds * MSEC_PER_SECOND;
299 readableString = String.format(FORMAT2, numMinutes, GuiUtil.getMessage("common.Minutes"), numSeconds, GuiUtil.getMessage("common.Seconds"));
300 } else if (numSeconds > 0) {
301 readableString = String.format(FORMAT1, numSeconds, GuiUtil.getMessage("common.Seconds"));
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/deployer/
H A DJdbcConnectionPoolDeployer.java815 long numSeconds = 5000L ; //poll every 5 seconds
816 long steps = reconfigWaitTimeout/numSeconds;

Completed in 17 milliseconds