public class CalendarWithDateForgeOp extends java.lang.Object implements CalendarOp
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
METHOD_ACTIONSETYMDCALENDAR |
Constructor and Description |
---|
CalendarWithDateForgeOp(ExprEvaluator year,
ExprEvaluator month,
ExprEvaluator day) |
Modifier and Type | Method and Description |
---|---|
static void |
actionSetYMDCalendar(java.util.Calendar cal,
java.lang.Integer year,
java.lang.Integer month,
java.lang.Integer day)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
static java.time.LocalDateTime |
actionSetYMDLocalDateTime(java.time.LocalDateTime ldt,
java.lang.Integer year,
java.lang.Integer month,
java.lang.Integer day)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
static java.time.ZonedDateTime |
actionSetYMDZonedDateTime(java.time.ZonedDateTime zdt,
java.lang.Integer year,
java.lang.Integer month,
java.lang.Integer day)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
static CodegenExpression |
codegenCalendar(CalendarWithDateForge forge,
CodegenExpression cal,
CodegenMethodScope codegenMethodScope,
ExprForgeCodegenSymbol exprSymbol,
CodegenClassScope codegenClassScope) |
static CodegenExpression |
codegenLDT(CalendarWithDateForge forge,
CodegenExpression ldt,
CodegenMethodScope codegenMethodScope,
ExprForgeCodegenSymbol exprSymbol,
CodegenClassScope codegenClassScope) |
static CodegenExpression |
codegenZDT(CalendarWithDateForge forge,
CodegenExpression zdt,
CodegenMethodScope codegenMethodScope,
ExprForgeCodegenSymbol exprSymbol,
CodegenClassScope codegenClassScope) |
void |
evaluate(java.util.Calendar cal,
EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context) |
java.time.LocalDateTime |
evaluate(java.time.LocalDateTime ldt,
EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context) |
java.time.ZonedDateTime |
evaluate(java.time.ZonedDateTime zdt,
EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context) |
protected static java.lang.Integer |
getInt(ExprEvaluator expr,
EventBean[] eventsPerStream,
boolean isNewData,
ExprEvaluatorContext context) |
public static final java.lang.String METHOD_ACTIONSETYMDCALENDAR
public CalendarWithDateForgeOp(ExprEvaluator year, ExprEvaluator month, ExprEvaluator day)
public void evaluate(java.util.Calendar cal, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluate
in interface CalendarOp
public static CodegenExpression codegenCalendar(CalendarWithDateForge forge, CodegenExpression cal, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
public java.time.LocalDateTime evaluate(java.time.LocalDateTime ldt, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluate
in interface CalendarOp
public static CodegenExpression codegenLDT(CalendarWithDateForge forge, CodegenExpression ldt, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
public java.time.ZonedDateTime evaluate(java.time.ZonedDateTime zdt, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluate
in interface CalendarOp
public static CodegenExpression codegenZDT(CalendarWithDateForge forge, CodegenExpression zdt, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
protected static java.lang.Integer getInt(ExprEvaluator expr, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
public static void actionSetYMDCalendar(java.util.Calendar cal, java.lang.Integer year, java.lang.Integer month, java.lang.Integer day)
cal
- calendaryear
- yearmonth
- monthday
- daypublic static java.time.LocalDateTime actionSetYMDLocalDateTime(java.time.LocalDateTime ldt, java.lang.Integer year, java.lang.Integer month, java.lang.Integer day)
ldt
- localdatetimeyear
- yearmonth
- monthday
- daypublic static java.time.ZonedDateTime actionSetYMDZonedDateTime(java.time.ZonedDateTime zdt, java.lang.Integer year, java.lang.Integer month, java.lang.Integer day)
zdt
- zoneddatetimeyear
- yearmonth
- monthday
- day