diff options
author | Li Haoyi <haoyi@dropbox.com> | 2015-02-04 06:28:31 -0800 |
---|---|---|
committer | Li Haoyi <haoyi@dropbox.com> | 2015-02-04 06:28:31 -0800 |
commit | 3e92267b4f030f7bc7f0040fef50bd07e4709b21 (patch) | |
tree | e10900fcd96d9b6c8cc53e5b641bdd11ebfe59b8 /examples/crossBuilds/simple2/jvm | |
parent | b094df4a6a6cf1bf7eeb36d842970aa8b3d94d5f (diff) | |
download | hands-on-scala-js-3e92267b4f030f7bc7f0040fef50bd07e4709b21.tar.gz hands-on-scala-js-3e92267b4f030f7bc7f0040fef50bd07e4709b21.tar.bz2 hands-on-scala-js-3e92267b4f030f7bc7f0040fef50bd07e4709b21.zip |
clientserver examples now work with crossProject
Diffstat (limited to 'examples/crossBuilds/simple2/jvm')
l--------- | examples/crossBuilds/simple2/jvm/shared | 1 | ||||
-rw-r--r-- | examples/crossBuilds/simple2/jvm/src/main/scala/simple/Platform.scala | 14 |
2 files changed, 0 insertions, 15 deletions
diff --git a/examples/crossBuilds/simple2/jvm/shared b/examples/crossBuilds/simple2/jvm/shared deleted file mode 120000 index a12df7d..0000000 --- a/examples/crossBuilds/simple2/jvm/shared +++ /dev/null @@ -1 +0,0 @@ -../js/shared
\ No newline at end of file diff --git a/examples/crossBuilds/simple2/jvm/src/main/scala/simple/Platform.scala b/examples/crossBuilds/simple2/jvm/src/main/scala/simple/Platform.scala deleted file mode 100644 index 4713005..0000000 --- a/examples/crossBuilds/simple2/jvm/src/main/scala/simple/Platform.scala +++ /dev/null @@ -1,14 +0,0 @@ -//jvm/src/main/scala/simple/Platform.scala -package simple -import java.text.SimpleDateFormat -import java.util.TimeZone - -object Platform{ - def format(ts: Long) = { - val fmt = new SimpleDateFormat( - "yyyy-MM-dd'T'HH:mm:ss.sss'Z'" - ) - fmt.setTimeZone(TimeZone.getTimeZone("UTC")) - fmt.format(new java.util.Date(ts)) - } -}
\ No newline at end of file |