Uses of Class
org.apache.wicket.util.time.Duration
-
Packages that use Duration Package Description org.apache.wicket.ajax org.apache.wicket.util.time Utilities for working withTime
(s). -
-
Uses of Duration in org.apache.wicket.ajax
Constructors in org.apache.wicket.ajax with parameters of type Duration Constructor Description AbstractAjaxTimerBehavior(Duration updateInterval)
Deprecated.Since Wicket 9 this constructor is deprecated.AjaxSelfUpdatingTimerBehavior(Duration updateInterval)
Deprecated.Since Wicket 9 this constructor is deprecated. -
Uses of Duration in org.apache.wicket.util.time
Fields in org.apache.wicket.util.time declared as Duration Modifier and Type Field Description static Duration
Duration. MAXIMUM
Deprecated.Constant for maximum duration.static Duration
Duration. NONE
Deprecated.Constant for no duration.static Duration
Duration. ONE_DAY
Deprecated.Constant for one day.static Duration
Duration. ONE_HOUR
Deprecated.Constant for one hour.static Duration
Duration. ONE_MINUTE
Deprecated.Constant for on minute.static Duration
Duration. ONE_SECOND
Deprecated.Constant for one second.static Duration
Duration. ONE_WEEK
Deprecated.Constant for one week.Methods in org.apache.wicket.util.time that return Duration Modifier and Type Method Description Duration
Duration. add(Duration duration)
Deprecated.Adds a givenDuration
to thisDuration
.static Duration
Duration. benchmark(Runnable code)
Deprecated.Benchmark the given command.static Duration
Duration. benchmark(ICode code, org.slf4j.Logger log)
Deprecated.Benchmark the given command.static Duration
Duration. days(double days)
Deprecated.Retrieves theDuration
based on days.static Duration
Duration. days(int days)
Deprecated.Retrieves theDuration
based on days.static Duration
Duration. elapsed(Time start)
Deprecated.Calculates the amount of time elapsed since start time.Duration
Time. elapsedSince()
Deprecated.Calculates the amount of time that has elapsed since thisTime
value.Duration
Time. fromNow()
Deprecated.Retrieves theDuration
from now to thisTime
value.Duration
TimeFrame. getDuration()
Deprecated.Retrieves theDuration
of thisTimeFrame
.static Duration
Duration. hours(double hours)
Deprecated.Retrieves theDuration
based on hours.static Duration
Duration. hours(int hours)
Deprecated.Retrieves theDuration
based on hours.static Duration
Duration. milliseconds(double milliseconds)
Deprecated.Retrieves theDuration
based on milliseconds.static Duration
Duration. milliseconds(long milliseconds)
Deprecated.Retrieves theDuration
based on milliseconds.static Duration
Duration. minutes(double minutes)
Deprecated.Retrieves theDuration
based on minutes.static Duration
Duration. minutes(int minutes)
Deprecated.Retrieves theDuration
based on minutes.static Duration
Duration. seconds(double seconds)
Deprecated.Retrieves theDuration
based on seconds.static Duration
Duration. seconds(int seconds)
Deprecated.Retrieves theDuration
based on seconds.Duration
Duration. subtract(Duration that)
Deprecated.Subtracts a givenDuration
from thisDuration
.Duration
Time. subtract(Time that)
Deprecated.Subtract time from this and returns the difference as aDuration
object.static Duration
Duration. valueOf(long time)
Deprecated.Retrieves the givenlong
as aDuration
.static Duration
Duration. valueOf(String string)
Deprecated.Converts the givenString
to a newDuration
object.static Duration
Duration. valueOf(String string, Locale locale)
Deprecated.Converts the givenString
to a newDuration
object.Methods in org.apache.wicket.util.time with parameters of type Duration Modifier and Type Method Description Duration
Duration. add(Duration duration)
Deprecated.Adds a givenDuration
to thisDuration
.Time
Time. add(Duration duration)
Deprecated.Adds the givenDuration
to thisTime
object, moving the time into the future.Duration
Duration. subtract(Duration that)
Deprecated.Subtracts a givenDuration
from thisDuration
.Time
Time. subtract(Duration duration)
Deprecated.Subtracts the givenDuration
from thisTime
object, moving the time into the past.static TimeFrame
TimeFrame. valueOf(Time start, Duration duration)
Deprecated.Creates aTimeFrame
for a startTime
andDuration
.static TimeOfDay
TimeOfDay. valueOf(Duration duration)
Deprecated.Converts aDuration
instance to aTimeOfDay
instance.
-