tech.tablesaw.columns.DateColumnUtils Maven / Gradle / Ivy
package tech.tablesaw.columns;
import it.unimi.dsi.fastutil.ints.IntArrayList;
import tech.tablesaw.api.DateColumn;
import tech.tablesaw.filtering.IntBiPredicate;
import tech.tablesaw.filtering.IntPredicate;
import java.time.LocalDate;
/**
*
*/
public interface DateColumnUtils extends Column, Iterable {
IntPredicate isMissing = i -> i == DateColumn.MISSING_VALUE;
IntPredicate isNotMissing = i -> i != DateColumn.MISSING_VALUE;
IntBiPredicate isGreaterThan = (valueToTest, valueToCompareAgainst) -> valueToTest > valueToCompareAgainst;
IntBiPredicate isGreaterThanOrEqualTo = (valueToTest, valueToCompareAgainst) -> valueToTest >=
valueToCompareAgainst;
IntBiPredicate isLessThan = (valueToTest, valueToCompareAgainst) -> valueToTest < valueToCompareAgainst;
IntBiPredicate isLessThanOrEqualTo = (valueToTest, valueToCompareAgainst) -> valueToTest <= valueToCompareAgainst;
IntBiPredicate isEqualTo = (valueToTest, valueToCompareAgainst) -> valueToTest == valueToCompareAgainst;
IntArrayList data();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy