public class DatetimeLongCoercerLocalDateTime extends Object implements DatetimeLongCoercer
Constructor and Description |
---|
DatetimeLongCoercerLocalDateTime(TimeZone timeZone) |
Modifier and Type | Method and Description |
---|---|
CodegenExpression |
codegen(CodegenExpression value,
Class valueType,
CodegenContext context) |
long |
coerce(Object date) |
static long |
coerceLDTToMilliWTimezone(LocalDateTime ldt,
TimeZone timeZone)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
public DatetimeLongCoercerLocalDateTime(TimeZone timeZone)
public long coerce(Object date)
coerce
in interface DatetimeLongCoercer
public static long coerceLDTToMilliWTimezone(LocalDateTime ldt, TimeZone timeZone)
ldt
- ldttimeZone
- tzpublic CodegenExpression codegen(CodegenExpression value, Class valueType, CodegenContext context)
codegen
in interface DatetimeLongCoercer