public class JodaDateTimeArgumentFactory extends Object implements org.skife.jdbi.v2.tweak.ArgumentFactory<org.joda.time.DateTime>
ArgumentFactory for Joda DateTime arguments.| Constructor and Description |
|---|
JodaDateTimeArgumentFactory() |
JodaDateTimeArgumentFactory(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,
org.joda.time.DateTime 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<org.joda.time.DateTime>public org.skife.jdbi.v2.tweak.Argument build(Class<?> expectedType, org.joda.time.DateTime value, org.skife.jdbi.v2.StatementContext ctx)
build in interface org.skife.jdbi.v2.tweak.ArgumentFactory<org.joda.time.DateTime>Copyright © 2017. All rights reserved.