spring-framework / org.springframework.scheduling.concurrent / ScheduledExecutorTask / setTimeUnit

setTimeUnit

open fun setTimeUnit(@Nullable timeUnit: TimeUnit): Unit

Specify the time unit for the delay and period values. Default is milliseconds (TimeUnit.MILLISECONDS).

See Also
java.util.concurrent.TimeUnit#MILLISECONDSjava.util.concurrent.TimeUnit#SECONDS