implement Date.toString, which just defers to ctime for now (part 2)

This commit is contained in:
Joel Dice
2008-06-16 11:45:23 -06:00
parent 4694d75553
commit af794d9be0
2 changed files with 8 additions and 0 deletions

View File

@ -24,4 +24,10 @@ public class Date {
public long getTime() {
return when;
}
public String toString() {
return toString(when);
}
private static native String toString(long when);
}