All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.tablesaw.columns.packeddata.DateInterval Maven / Gradle / Ivy

There is a newer version: 0.43.1
Show newest version
package tech.tablesaw.columns.packeddata;

import com.google.common.annotations.Beta;

import tech.tablesaw.columns.DateIntervalColumn;

/**
 * EXPERIMENTAL
 */
@Beta
public abstract class DateInterval {

    // boolean operations
    abstract boolean equals(DateIntervalColumn interval);

    abstract boolean before(DateIntervalColumn interval);

    abstract boolean after(DateIntervalColumn interval);

    abstract boolean contains(DateIntervalColumn interval);

    abstract boolean containedIn(DateIntervalColumn interval);

    abstract boolean meets(DateIntervalColumn interval);

    // combination operations
    abstract DateInterval union(DateInterval interval);      // or

    abstract DateInterval intersect(DateInterval interval);  // and

    abstract DateInterval minus(DateInterval interval);      // and not

    abstract DateInterval gap(DateInterval interval);        // the difference between two intervals

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy