public class DatetimeLongCoercerLocalDateTime extends Object implements DatetimeLongCoercer
Constructor and Description |
---|
DatetimeLongCoercerLocalDateTime() |
Modifier and Type | Method and Description |
---|---|
CodegenExpression |
codegen(CodegenExpression value,
Class valueType,
CodegenClassScope codegenClassScope) |
long |
coerce(Object date) |
static long |
coerceLDTToMilliWTimezone(LocalDateTime ldt,
TimeZone timeZone)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
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, CodegenClassScope codegenClassScope)
codegen
in interface DatetimeLongCoercer
Copyright © 2005–2018. All rights reserved.