Modifier and Type | Field and Description |
---|---|
static Timespan |
MAX
This timespan covers all dates between the minimum and maximum
Timestamp
but Timestamp.MAX . |
Constructor and Description |
---|
Timespan(Timestamp begin,
Timestamp end)
Instantiates this timespan.
|
public static final Timespan MAX
Timestamp
but Timestamp.MAX
.public Timespan(Timestamp begin, Timestamp end)
begin
- the begin timestampend
- the end timestampNullPointerException
- if the begin timestamp is null
NullPointerException
- if the end timestamp is null
IllegalArgumentException
- if the begin timestamp does not precede the end timestamppublic Duration duration()
Copyright © Aimpulse Intelligent Systems GmbH
All rights reserved.