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

org.datavec.dataframe.columns.packeddata.DateInterval Maven / Gradle / Ivy

Go to download

High-performance Java Dataframe with integrated columnar storage (fork of tablesaw)

There is a newer version: 0.9.1
Show newest version
package org.datavec.dataframe.columns.packeddata;

import org.datavec.dataframe.columns.DateIntervalColumn;
import com.google.common.annotations.Beta;

/**
 * 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 - 2024 Weber Informatics LLC | Privacy Policy