public class CalendarWithTimeForgeOp extends java.lang.Object implements CalendarOp
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
METHOD_ACTIONSETHMSMCALENDAR |
Constructor and Description |
---|
CalendarWithTimeForgeOp(ExprEvaluator hour,
ExprEvaluator min,
ExprEvaluator sec,
ExprEvaluator msec) |
Modifier and Type | Method and Description |
---|---|
static void |
actionSetHMSMCalendar(java.util.Calendar cal,
java.lang.Integer hour,
java.lang.Integer minute,
java.lang.Integer second,
java.lang.Integer msec)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
static java.time.LocalDateTime |
actionSetHMSMLocalDateTime(java.time.LocalDateTime ldt,
java.lang.Integer hour,
java.lang.Integer minute,
java.lang.Integer second,
java.lang.Integer msec)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
static java.time.ZonedDateTime |
actionSetHMSMZonedDateTime(java.time.ZonedDateTime zdt,
java.lang.Integer hour,
java.lang.Integer minute,
java.lang.Integer second,
java.lang.Integer msec)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
static CodegenExpression |
codegenCalendar(CalendarWithTimeForge forge,
CodegenExpression cal,
CodegenMethodScope codegenMethodScope,
ExprForgeCodegenSymbol exprSymbol,
CodegenClassScope codegenClassScope) |
static CodegenExpression |
codegenLDT(CalendarWithTimeForge forge,
CodegenExpression ldt,
CodegenMethodScope codegenMethodScope,
ExprForgeCodegenSymbol exprSymbol,
CodegenClassScope codegenClassScope) |
static CodegenExpression |
codegenZDT(CalendarWithTimeForge 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) |
public static final java.lang.String METHOD_ACTIONSETHMSMCALENDAR
public CalendarWithTimeForgeOp(ExprEvaluator hour, ExprEvaluator min, ExprEvaluator sec, ExprEvaluator msec)
public void evaluate(java.util.Calendar cal, EventBean[] eventsPerStream, boolean isNewData, ExprEvaluatorContext context)
evaluate
in interface CalendarOp
public static CodegenExpression codegenCalendar(CalendarWithTimeForge 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(CalendarWithTimeForge 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(CalendarWithTimeForge forge, CodegenExpression zdt, CodegenMethodScope codegenMethodScope, ExprForgeCodegenSymbol exprSymbol, CodegenClassScope codegenClassScope)
public static void actionSetHMSMCalendar(java.util.Calendar cal, java.lang.Integer hour, java.lang.Integer minute, java.lang.Integer second, java.lang.Integer msec)
cal
- calhour
- hourminute
- minsecond
- secmsec
- msecpublic static java.time.LocalDateTime actionSetHMSMLocalDateTime(java.time.LocalDateTime ldt, java.lang.Integer hour, java.lang.Integer minute, java.lang.Integer second, java.lang.Integer msec)
ldt
- ldthour
- hourminute
- minsecond
- secmsec
- msecpublic static java.time.ZonedDateTime actionSetHMSMZonedDateTime(java.time.ZonedDateTime zdt, java.lang.Integer hour, java.lang.Integer minute, java.lang.Integer second, java.lang.Integer msec)
zdt
- zdthour
- hourminute
- minsecond
- secmsec
- msec