Some kind of forced kotlin change or something
This commit is contained in:
parent
cd9ff1a48f
commit
34591d5834
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,6 @@ import org.junit.Assert.assertEquals
|
|||
import org.junit.Test
|
||||
import java.time.LocalDate
|
||||
import java.time.OffsetDateTime
|
||||
import java.time.ZoneId
|
||||
import java.time.ZoneOffset
|
||||
import java.util.Calendar
|
||||
import java.util.TimeZone
|
||||
|
@ -13,7 +12,7 @@ class OffsetDateTimeToCalendarTest {
|
|||
@Test
|
||||
fun testRelativeTimeWithCurrentOffsetDateTime() {
|
||||
val calendar = LocalDate.of(2020, 1, 1).atStartOfDay().atOffset(ZoneOffset.UTC)
|
||||
.toCalendar()
|
||||
.toCalendar()
|
||||
|
||||
assertEquals(2020, calendar[Calendar.YEAR])
|
||||
assertEquals(0, calendar[Calendar.MONTH])
|
||||
|
|
Loading…
Reference in a new issue