Searched refs:toSplit (Results 1 – 2 of 2) sorted by relevance
/system/timezone/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/ |
D | ZoneInfoTest.java | 115 ZoneOffsetPeriod toSplit = denverZoneInfo2.getZoneOffsetPeriod(5); in testSplit() local 117 Instant invalidSplitInstant = toSplit.getStartInstant().minus(1, ChronoUnit.DAYS); in testSplit() 125 Instant splitInstant = toSplit.getStartInstant().plus(5, ChronoUnit.DAYS); in testSplit() 139 assertEquals(toSplit.getStartInstant(), lowerPeriod.getStartInstant()); in testSplit() 140 assertEquals(toSplit.getEndInstant(), upperPeriod.getEndInstant()); in testSplit() 145 assertEquals(toSplit.getDstOffsetMillis(), lowerPeriod.getDstOffsetMillis()); in testSplit() 146 assertEquals(toSplit.getDstOffsetMillis(), upperPeriod.getDstOffsetMillis()); in testSplit() 147 assertEquals(toSplit.getRawOffsetMillis(), lowerPeriod.getRawOffsetMillis()); in testSplit() 148 assertEquals(toSplit.getRawOffsetMillis(), upperPeriod.getRawOffsetMillis()); in testSplit() 149 assertEquals(toSplit.getName(), lowerPeriod.getName()); in testSplit() [all …]
|
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/ |
D | ZoneOffsetPeriod.java | 87 ZoneOffsetPeriod toSplit, TimeZoneNames timeZoneNames, BasicTimeZone timeZone, in splitAtTime() argument 89 if (!partitionInstant.isAfter(toSplit.start) in splitAtTime() 90 || !partitionInstant.isBefore(toSplit.end)) { in splitAtTime() 92 + toSplit.start + " and " + toSplit.end); in splitAtTime() 98 int rawOffsetMillis = toSplit.rawOffsetMillis; in splitAtTime() 99 int dstOffsetMillis = toSplit.dstOffsetMillis; in splitAtTime() 101 new ZoneOffsetPeriod(toSplit.start, partitionInstant, rawOffsetMillis, in splitAtTime() 102 dstOffsetMillis, toSplit.name), in splitAtTime() 103 new ZoneOffsetPeriod(partitionInstant, toSplit.end, rawOffsetMillis, in splitAtTime()
|