public class Durations
extends java.lang.Object
public static Duration milliseconds(long milliseconds)
milliseconds
- (undocumented)Duration
representing given number of milliseconds.public static Duration seconds(long seconds)
seconds
- (undocumented)Duration
representing given number of seconds.