mirror of
https://github.com/corda/corda.git
synced 2025-03-18 10:05:28 +00:00
implement Date.toString, which just defers to ctime for now (part 2)
This commit is contained in:
parent
4694d75553
commit
af794d9be0
@ -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);
|
||||
}
|
||||
|
@ -18,6 +18,8 @@
|
||||
# define JNIEXPORT __attribute__ ((visibility("default")))
|
||||
#endif
|
||||
|
||||
#define UNUSED __attribute__((unused))
|
||||
|
||||
namespace {
|
||||
|
||||
inline void
|
||||
|
Loading…
x
Reference in New Issue
Block a user