-
Duration.days(long count)
Constructs a new
Duration object representing the specified amount of days.
Duration.hours(long count)
Constructs a new
Duration object representing the specified amount of hours.
Constructs a new
Duration object representing the specified amount of microseconds.
Constructs a new
Duration object representing the specified amount of milliseconds.
Constructs a new
Duration object representing the specified amount of minutes.
Constructs a new
Duration object representing the specified amount of nanoseconds.
Parses a given input string to a
Duration.
Constructs a new
Duration object representing the specified amount of seconds.