Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package io.dropwizard.jdbi.args;
 
    @Override
    public boolean accepts(final Class<?> expectedType,
                           final Object value,
                           final StatementContext ctx) {
        return value instanceof DateTime;
    }
    @Override
    public Argument build(final Class<?> expectedType,
                          final DateTime value,
                          final StatementContext ctx) {
        return new JodaDateTimeArgument(value);
    }
New to GrepCode? Check out our FAQ X