![JAR search and dependency download from the Maven repository](/logo.png)
org.dflib.exp.datetime.DateColumn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dflib Show documentation
Show all versions of dflib Show documentation
dflib: DataFrame library
package org.dflib.exp.datetime;
import org.dflib.DateExp;
import org.dflib.exp.Column;
import java.time.LocalDate;
/**
* @since 0.11
*/
public class DateColumn extends Column implements DateExp {
public DateColumn(String name) {
super(name, LocalDate.class);
}
public DateColumn(int position) {
super(position, LocalDate.class);
}
@Override
public String toQL() {
return position >= 0 ? "$date(" + position + ")" : name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy