public class ZonedDateTimeArgumentFactory extends Object implements org.skife.jdbi.v2.tweak.ArgumentFactory<ZonedDateTime>
ArgumentFactory for ZonedDateTime arguments.| Constructor and Description |
|---|
ZonedDateTimeArgumentFactory() |
ZonedDateTimeArgumentFactory(Optional<TimeZone> timeZone)
Create an argument factory with a custom time zone offset
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Class<?> expectedType,
Object value,
org.skife.jdbi.v2.StatementContext ctx) |
org.skife.jdbi.v2.tweak.Argument |
build(Class<?> expectedType,
ZonedDateTime value,
org.skife.jdbi.v2.StatementContext ctx) |
public boolean accepts(Class<?> expectedType, Object value, org.skife.jdbi.v2.StatementContext ctx)
accepts in interface org.skife.jdbi.v2.tweak.ArgumentFactory<ZonedDateTime>public org.skife.jdbi.v2.tweak.Argument build(Class<?> expectedType, ZonedDateTime value, org.skife.jdbi.v2.StatementContext ctx)
build in interface org.skife.jdbi.v2.tweak.ArgumentFactory<ZonedDateTime>Copyright © 2017. All rights reserved.