File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
shared/src/test/scala/org/threeten/bp Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ class TestExamples extends FunSuite with AssertionsHelper {
57
57
assertEquals(japDate.toString, " Japanese Heisei 21-02-13" )
58
58
59
59
// This tries to read property files from disk
60
- // val hijDate = chrono.HijrahDate.now(fixedClock)
61
- // assertEquals(hijDate.toString, "")
60
+ val hijDate = chrono.HijrahDate .now(fixedClock)
61
+ assertEquals(hijDate.toString, " Hijrah-umalqura AH 1430-02-17 " )
62
62
63
63
val thaiDate = chrono.ThaiBuddhistDate .now(fixedClock)
64
64
assertEquals(thaiDate.toString, " ThaiBuddhist BE 2552-02-13" )
@@ -70,6 +70,6 @@ class TestExamples extends FunSuite with AssertionsHelper {
70
70
assertEquals(mingDate.format(format2), " Anno Domini" ) // WTF?
71
71
72
72
val zonedDateTime1 = ZonedDateTime .now(fixedClock)
73
- // val zonedDateTime2 = ZonedDateTime.now(ZoneRegion.ofId("Europe/Berlin", true))
73
+ val zonedDateTime2 = ZonedDateTime .now(ZoneRegion .ofId(" Europe/Berlin" , true ))
74
74
}
75
75
}
You can’t perform that action at this time.
0 commit comments