public final class LocalTimeRange extends Object implements Comparable<LocalTimeRange>
Modifier and Type | Field and Description |
---|---|
static LocalTimeRange |
EMPTY_RANGE |
Constructor and Description |
---|
LocalTimeRange(LocalTime start,
LocalTime end)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(LocalTimeRange o) |
boolean |
equals(Object o) |
long |
getDurationAsMilliseconds()
Retrieve the duration of the range.
|
LocalTime |
getEnd()
Retrieve the range end.
|
LocalTime |
getStart()
Retrieve the range start.
|
int |
hashCode() |
String |
toString() |
public static final LocalTimeRange EMPTY_RANGE
public LocalTime getStart()
public LocalTime getEnd()
public long getDurationAsMilliseconds()
public int compareTo(LocalTimeRange o)
compareTo
in interface Comparable<LocalTimeRange>
Copyright © 2000–2024 Packwood Software. All rights reserved.