public class Seconds
extends Object
Duration
representing
a given number of seconds.Constructor and Description |
---|
Seconds() |
Modifier and Type | Method and Description |
---|---|
static Duration |
apply(long seconds) |
public static Duration apply(long seconds)