| Modifier and Type | Method and Description |
|---|---|
String |
describe(Locale locale) |
ChronoUnit |
getUnit() |
boolean |
longerThan(Interval other) |
static Interval |
of(Duration duration)
|
static Interval |
of(long period,
ChronoUnit unit)
Create an
Interval from an explicit period and ChronoUnit |
static Interval |
of(Period period)
|
public static Interval of(long period, ChronoUnit unit)
Interval from an explicit period and ChronoUnitpublic ChronoUnit getUnit()
public boolean longerThan(Interval other)
Copyright © 2021 eXparity Limited. All rights reserved.