diff options
author | Aleksandr <ognelisar@gmail.com> | 2018-04-09 10:51:51 +0700 |
---|---|---|
committer | Aleksandr <ognelisar@gmail.com> | 2018-04-09 10:51:51 +0700 |
commit | fc7355c69eeab8334ea066a434476d227e9dc399 (patch) | |
tree | 6ef427e3f2943580fd4539d04f05754c92832d6b /src/test/scala/xyz/driver/core/TimeTest.scala | |
parent | ad98b2237751adc7fcc1e9dfed437c8ff1f28f29 (diff) | |
download | driver-core-fc7355c69eeab8334ea066a434476d227e9dc399.tar.gz driver-core-fc7355c69eeab8334ea066a434476d227e9dc399.tar.bz2 driver-core-fc7355c69eeab8334ea066a434476d227e9dc399.zip |
Fixed toCalendar method of TimeOfDay class
Diffstat (limited to 'src/test/scala/xyz/driver/core/TimeTest.scala')
-rw-r--r-- | src/test/scala/xyz/driver/core/TimeTest.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/scala/xyz/driver/core/TimeTest.scala b/src/test/scala/xyz/driver/core/TimeTest.scala index b72fde8..5552a7d 100644 --- a/src/test/scala/xyz/driver/core/TimeTest.scala +++ b/src/test/scala/xyz/driver/core/TimeTest.scala @@ -74,6 +74,9 @@ class TimeTest extends FlatSpec with Matchers with Checkers { } it should "have correct textual representations" in { + import java.util.Locale + import java.util.Locale._ + Locale.setDefault(US) textualDate(TimeZone.getTimeZone("EDT"))(Time(1468937089834L)) should be("July 19, 2016") textualTime(TimeZone.getTimeZone("PDT"))(Time(1468937089834L)) should be("Jul 19, 2016 02:04:49 PM") |