public static String formatDate(final int style, final Date value)
    {

        return context.get().formatDate(style, value);

    }
public static String formatDate ( final int style , final Date value ) { return context . get ( ) . formatDate ( style , value ) ; }
<p>
Formats the given date with the specified style.
</p>

@param style
DateFormat style
@param value
Date to be formatted
@return String representation of the date