public final class Durations extends Object
Duration
static Duration
of(String duration)
duration
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static Duration of(String duration)
5 5 s 5 seconds 10m 10 minutes
If a unit is not given, the default unit will be milliseconds.
Copyright © 2013–2016. All rights reserved.