Why does DateFormat#format accept int parameter?
<p>I have this class:</p>

<pre><code>import java.text.DateFormat;
import java.text.SimpleDateFormat;

public class Test  {
    public static void main(String[] argv) {
        DateFormat df = new SimpleDateFormat("dd/MM/yyyy");


        String h = df.format(1);
        System.out.println(h);//output:
    }
}
</code></pre>

<p>It compiles without problems with openjdk 7.</p>

<p>AFAIK there's no DateFormat#format(int).</p>

<p>Is there any implicit cast that converts 1 to Date? </p>
