setDuration

public final Unit setDuration(Double duration)

Parameters

duration

the duration in seconds