public class Durations
extends Object
Constructor and Description |
---|
Durations() |
Modifier and Type | Method and Description |
---|---|
static Duration |
milliseconds(long milliseconds) |
static Duration |
minutes(long minutes) |
static Duration |
seconds(long seconds) |
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.