package io.dropwizard.jersey.params; import org.joda.time.LocalDate; /** * A parameter encapsulating local date values. All non-parsable values will return a {@code 400 Bad * Request} response. */ public class LocalDateParam extends AbstractParam<LocalDate> { public LocalDateParam(String input) { super(input); } public LocalDateParam(String input, String parameterName) { super(input, parameterName); } @Override protected LocalDate parse(String input) throws Exception { return new LocalDate(input); } }