public class temporalOverlaps extends Object
leftEnd >= rightStart && rightEnd >= leftStart
.
It evaluates: leftEnd >= rightStart && rightEnd >= leftStart
e.g. temporalOverlaps("2:55:00".toTime, 1.hour, "3:30:00".toTime, 2.hour) leads to true
Constructor and Description |
---|
temporalOverlaps() |
Modifier and Type | Method and Description |
---|---|
static Expression |
apply(Expression leftTimePoint,
Expression leftTemporal,
Expression rightTimePoint,
Expression rightTemporal)
Determines whether two anchored time intervals overlap.
|
public static Expression apply(Expression leftTimePoint, Expression leftTemporal, Expression rightTimePoint, Expression rightTemporal)
It evaluates: leftEnd >= rightStart && rightEnd >= leftStart
e.g. temporalOverlaps("2:55:00".toTime, 1.hour, "3:30:00".toTime, 2.hour) leads to true
leftTimePoint
- (undocumented)leftTemporal
- (undocumented)rightTimePoint
- (undocumented)rightTemporal
- (undocumented)Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.