mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
implement Date.toString, which just defers to ctime for now (part 2)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user