diff options
author | michelou <michelou@epfl.ch> | 2008-02-28 17:54:44 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2008-02-28 17:54:44 +0000 |
commit | d97eea1aa1615793c0696faa509538aba1fa5e25 (patch) | |
tree | 51744803988c9756ea3757b6bb32b236fa9a8ddd /src/dotnet-library | |
parent | fc13dfb1f75860eec6e5de5284c80722ca2d32b0 (diff) | |
download | scala-d97eea1aa1615793c0696faa509538aba1fa5e25.tar.gz scala-d97eea1aa1615793c0696faa509538aba1fa5e25.tar.bz2 scala-d97eea1aa1615793c0696faa509538aba1fa5e25.zip |
minor fix
Diffstat (limited to 'src/dotnet-library')
-rw-r--r-- | src/dotnet-library/scala/compat/Platform.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotnet-library/scala/compat/Platform.scala b/src/dotnet-library/scala/compat/Platform.scala index 6125fbe575..44f0547707 100644 --- a/src/dotnet-library/scala/compat/Platform.scala +++ b/src/dotnet-library/scala/compat/Platform.scala @@ -50,11 +50,11 @@ object Platform { val EOL = System.Environment.NewLine - def currentTime: Long = 0 + def currentTime: Long = 0L /* // compiler crash :-( + private val baseTime = new System.DateTime(1970, 1, 1, 0, 0, 0) def currentTime: Long = { val nowTime = System.DateTime.UtcNow - val baseTime = new System.DateTime(1970, 1, 1, 0, 0, 0) (nowTime.Ticks - baseTime.Ticks) / 10000 } */ |