public class Duration extends Object
Modifier and Type | Field and Description |
---|---|
static Duration |
MINIMAL_DURATION |
Constructor and Description |
---|
Duration(long duration,
TimeUnit timeUnit) |
Modifier and Type | Method and Description |
---|---|
long |
getDuration() |
TimeUnit |
getTimeUnit() |
public static final Duration MINIMAL_DURATION
public Duration(long duration, TimeUnit timeUnit)
public long getDuration()
public TimeUnit getTimeUnit()
Copyright © 2016 Dexecutor. All rights reserved.