@ThreadSafe @Immutable public class DurationRange extends RangeSupport<Duration>
| Modifier and Type | Class and Description |
|---|---|
static class |
DurationRange.Adapter |
static class |
DurationRange.Container |
| Constructor and Description |
|---|
DurationRange(Duration from,
Duration to) |
DurationRange(java.lang.Long from,
java.lang.Long to) |
DurationRange(java.lang.String from,
java.lang.String to) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(Duration toTest) |
protected boolean |
matchesFrom(Duration toTest) |
protected boolean |
matchesTo(Duration toTest) |
public DurationRange(@Nullable@Including java.lang.String from, @Nullable@Excluding java.lang.String to)
public DurationRange(@Nullable@Including java.lang.Long from, @Nullable@Excluding java.lang.Long to)
public DurationRange(@Nullable@Including Duration from, @Nullable@Excluding Duration to)
Copyright © 2013 echocat. All Rights Reserved.