org.vertexium.cypher.functions.date.MonthFunction Maven / Gradle / Ivy
package org.vertexium.cypher.functions.date;
import org.vertexium.cypher.VertexiumCypherQueryContext;
import java.time.ZonedDateTime;
public class MonthFunction extends CypherUnaryDateFunction {
@Override
protected Object invokeZonedDateTime(VertexiumCypherQueryContext ctx, ZonedDateTime date) {
return date.getMonth();
}
}