Github user martin-g commented on a diff in the pull request:

    https://github.com/apache/wicket/pull/235#discussion_r142068371
  
    --- Diff: 
wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/form/datetime/IDateConverter.java
 ---
    @@ -0,0 +1,53 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *      http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +package org.apache.wicket.extensions.markup.html.form.datetime;
    +
    +import java.time.format.DateTimeFormatter;
    +import java.util.Locale;
    +
    +import org.apache.wicket.util.convert.IConverter;
    +
    +
    +/**
    + * Base class for Joda Time based date converters. It contains the logic 
to parse and format,
    + * optionally taking the time zone difference between clients and the 
server into account.
    + * <p>
    + * Converters of this class are best suited for per-component use.
    + * </p>
    + * 
    + * @author eelcohillenius
    + */
    +public interface IDateConverter<T> extends IConverter<T>
    --- End diff --
    
    Can `T` be constraint-ed to something date related, for example 
java.time.temporal.Temporal ?


---

Reply via email to