@ConstantFunction.List(list = {
            @ConstantFunction(name = "month", argTypes = {DATETIME}, returnType = TINYINT),
            @ConstantFunction(name = "month", argTypes = {DATE}, returnType = TINYINT)
    })
    public static ConstantOperator month(ConstantOperator arg) {
        return ConstantOperator.createTinyInt((byte) arg.getDatetime().getMonthValue());
    }
@Test
    public void month() {
        assertEquals(3, ScalarOperatorFunctions.month(O_DT_20150323_092355).getTinyInt());
    }