public class Durations
extends Object
Constructor and Description |
---|
Durations() |
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.