Class DatetimeLongCoercerLocalDateTime
java.lang.Object
com.espertech.esper.common.internal.epl.datetime.eval.DatetimeLongCoercerLocalDateTime
- All Implemented Interfaces:
DatetimeLongCoercer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncodegen
(CodegenExpression value, EPTypeClass valueType, CodegenClassScope codegenClassScope) long
static long
coerceLDTToMilliWTimezone
(LocalDateTime ldt, TimeZone timeZone) NOTE: Code-generation-invoked method, method name and parameter order matters
-
Constructor Details
-
DatetimeLongCoercerLocalDateTime
public DatetimeLongCoercerLocalDateTime()
-
-
Method Details
-
coerce
- Specified by:
coerce
in interfaceDatetimeLongCoercer
-
coerceLDTToMilliWTimezone
NOTE: Code-generation-invoked method, method name and parameter order matters- Parameters:
ldt
- ldttimeZone
- tz- Returns:
- millis
-
codegen
public CodegenExpression codegen(CodegenExpression value, EPTypeClass valueType, CodegenClassScope codegenClassScope) - Specified by:
codegen
in interfaceDatetimeLongCoercer
-