src/main/java/org/efaps/ui/wicket/util/DateUtil.java
public static DateTime getDateFromParameter(final String _value)
        throws EFapsException
    {
        final StyleDateConverter styledate = new StyleDateConverter(false);
        final DateTimeFormatter fmt = DateTimeFormat.forPattern(styledate.getDatePattern(Context.getThreadContext()
                        .getLocale()));
        fmt.withLocale(Context.getThreadContext().getLocale());
        final DateTime dt = fmt.parseDateTime(_value);
        return dt;
    }
public static DateTime getDateFromParameter(final String _value)
        throws EFapsException
    {
        final StyleDateConverter styledate = new StyleDateConverter(false);
        final DateTimeFormatter fmt = DateTimeFormat.forPattern(styledate.getDatePattern(Context.getThreadContext()
                        .getLocale()));
        fmt.withLocale(Context.getThreadContext().getLocale());
        final DateTime dt = fmt.parseDateTime(_value);
        return dt;
    }
public static DateTime getDateFromParameter ( final String _value ) throws EFapsException { final StyleDateConverter styledate = new StyleDateConverter ( false ) ; final DateTimeFormatter fmt = DateTimeFormat . forPattern ( styledate . getDatePattern ( Context . getThreadContext ( ) . getLocale ( ) ) ) ; fmt . withLocale ( Context . getThreadContext ( ) . getLocale ( ) ) ; final DateTime dt = fmt . parseDateTime ( _value ) ; return dt ; }
Convert a date from a parameter into a <code>DateTime</code>.

@param _value value to be converted
@return DateTime
@throws EFapsException on error
Convert a date from a parameter into a <code > DateTime< / code > .