Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Commit

Permalink
Recovered from Eclipse.
Browse files Browse the repository at this point in the history
git-svn-id: https://subversion.assembla.com/svn/cmosher/timeUtil@4589 884d43a4-ffbe-47e9-90ca-fd8c37d7eb32
  • Loading branch information
Chris authored and ssi-appstatus committed Oct 7, 2012
1 parent 5d6f841 commit 7865b6d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nu/mine/mosher/time/Time.java
Expand Up @@ -3,6 +3,7 @@
*/
package nu.mine.mosher.time;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
Expand Down Expand Up @@ -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.