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

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