Permalink
Browse files

Recovered from Eclipse.

git-svn-id: https://subversion.assembla.com/svn/cmosher/timeUtil@4589 884d43a4-ffbe-47e9-90ca-fd8c37d7eb32
  • Loading branch information...
1 parent 5d6f841 commit 7865b6d30ed9dde4b201bf58b1366dadeed3eaa1 Chris committed with ssi-appstatus Jul 19, 2004
Showing with 7 additions and 0 deletions.
  1. +7 −0 nu/mine/mosher/time/Time.java
@@ -3,6 +3,7 @@
*/
package nu.mine.mosher.time;
+import java.text.SimpleDateFormat;
import java.util.Date;
/**
@@ -41,4 +42,10 @@ public int hashCode()
{
return this.date.hashCode();
}
+
+ public String toString()
+ {
+ SimpleDateFormat f = new SimpleDateFormat("yyyyMMddHHmmssSSS");
+ return f.format(this.date);
+ }
}

0 comments on commit 7865b6d

Please sign in to comment.