Package | Description |
---|---|
agi.foundation.time |
Contains types for quantifying and converting between various date, time, and time standard representations.
|
Modifier and Type | Method and Description |
---|---|
static <T> MergeTimeIntervalDataCallback<T> |
TimeInterval1.getAcceptLeft()
Gets a
MergeTimeIntervalDataCallback that simply accepts the data on the left-hand side. |
static <T> MergeTimeIntervalDataCallback<T> |
TimeInterval1.getAcceptRight()
Gets a
MergeTimeIntervalDataCallback that simply accepts the data on the right-hand side. |
static <T> MergeTimeIntervalDataCallback<T> |
MergeTimeIntervalDataCallback.of(MergeTimeIntervalDataCallback.Function<T> f)
Create a delegate for the given interface.
|
static <T> MergeTimeIntervalDataCallback<T> |
MergeTimeIntervalDataCallback.of(MergeTimeIntervalDataCallback.Function<T> f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static <T> MergeTimeIntervalDataCallback<T> |
MergeTimeIntervalDataCallback.of(MergeTimeIntervalDataCallback.Function<T> f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
Modifier and Type | Method and Description |
---|---|
void |
TimeIntervalCollection1.addMergingData(TimeInterval1<T> item,
MergeTimeIntervalDataCallback<T> mergeCallback)
Adds an interval to the interval collection.
|
void |
TimeIntervalCollection1.addMergingData(TimeIntervalCollection1<T> items,
MergeTimeIntervalDataCallback<T> mergeCallback)
Adds a collection of intervals to this interval collection.
|
TimeIntervalCollection1<T> |
TimeIntervalCollection1.intersectMergingData(TimeInterval1<T> interval,
IEqualityComparer<T> dataComparer,
MergeTimeIntervalDataCallback<T> mergeCallback)
Computes the intersection of this interval collection with an interval.
|
TimeIntervalCollection1<T> |
TimeIntervalCollection1.intersectMergingData(TimeInterval1<T> interval,
MergeTimeIntervalDataCallback<T> mergeCallback)
Computes the intersection of this interval collection with an interval.
|
TimeInterval1<T> |
TimeInterval1.intersectMergingData(TimeInterval1<T> other,
MergeTimeIntervalDataCallback<T> mergeCallback)
Computes an interval which is the intersection of this interval with another while
also providing a means to merge the data of the two intervals.
|
TimeIntervalCollection1<T> |
TimeIntervalCollection1.intersectMergingData(TimeIntervalCollection1<T> collection,
IEqualityComparer<T> dataComparer,
MergeTimeIntervalDataCallback<T> mergeCallback)
Computes the intersection of this interval collection with another.
|
TimeIntervalCollection1<T> |
TimeIntervalCollection1.intersectMergingData(TimeIntervalCollection1<T> collection,
MergeTimeIntervalDataCallback<T> mergeCallback)
Computes the intersection of this interval collection with another.
|