Lines Matching defs:duration
177 * Convert the given time duration in the given unit to this
189 * @param sourceDuration the time duration in the given <tt>sourceUnit</tt>
191 * @return the converted duration in this unit,
200 * Equivalent to <tt>NANOSECONDS.convert(duration, this)</tt>.
201 * @param duration the duration
202 * @return the converted duration,
207 public long toNanos(long duration) {
212 * Equivalent to <tt>MICROSECONDS.convert(duration, this)</tt>.
213 * @param duration the duration
214 * @return the converted duration,
219 public long toMicros(long duration) {
224 * Equivalent to <tt>MILLISECONDS.convert(duration, this)</tt>.
225 * @param duration the duration
226 * @return the converted duration,
231 public long toMillis(long duration) {
236 * Equivalent to <tt>SECONDS.convert(duration, this)</tt>.
237 * @param duration the duration
238 * @return the converted duration,
243 public long toSeconds(long duration) {
248 * Equivalent to <tt>MINUTES.convert(duration, this)</tt>.
249 * @param duration the duration
250 * @return the converted duration,
256 public long toMinutes(long duration) {
261 * Equivalent to <tt>HOURS.convert(duration, this)</tt>.
262 * @param duration the duration
263 * @return the converted duration,
269 public long toHours(long duration) {
274 * Equivalent to <tt>DAYS.convert(duration, this)</tt>.
275 * @param duration the duration
276 * @return the converted duration
280 public long toDays(long duration) {
287 * @param d the duration