org.sourceforge.jxdbcon
Class EscapeFuncs.week
java.lang.Object
|
+--org.sourceforge.jxdbcon.EscapeFrags.Frag
|
+--org.sourceforge.jxdbcon.EscapeFrags.Function
|
+--org.sourceforge.jxdbcon.EscapeFuncs.OneParamFunction
|
+--org.sourceforge.jxdbcon.EscapeFuncs.week
- Enclosing class:
- EscapeFuncs
- public static class EscapeFuncs.week
- extends EscapeFuncs.OneParamFunction
WEEK(date) An integer from 1 to 53 representing the week of the year in date.
EscapeFuncs.week
public EscapeFuncs.week(EscapeFrags.ParamList param)
evaluate
protected EscapeFrags.Constant evaluate(EscapeFrags.Value data,
EscapeContext ectx)
throws SQLException
- Specified by:
evaluate
in class EscapeFuncs.OneParamFunction
SQLException
emitSQL
protected String emitSQL(EscapeContext ectx)
throws SQLException
SQLException
simplify
public EscapeFrags.Frag simplify(EscapeContext ectx)
throws SQLException
- Overrides:
simplify
in class EscapeFrags.Frag
SQLException
toSQL
public String toSQL(EscapeContext ectx)
throws SQLException
- Overrides:
toSQL
in class EscapeFrags.Function
SQLException
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.