mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
Added several useful classes
This commit is contained in:
17
classpath/java/util/Date.java
Normal file
17
classpath/java/util/Date.java
Normal file
@ -0,0 +1,17 @@
|
||||
package java.util;
|
||||
|
||||
public class Date {
|
||||
public final long when;
|
||||
|
||||
public Date() {
|
||||
when = System.currentTimeMillis();
|
||||
}
|
||||
|
||||
public Date(long when) {
|
||||
this.when = when;
|
||||
}
|
||||
|
||||
public long getTime() {
|
||||
return when;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user