/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestZoneOffsetPrinter.java | 65 import java.time.ZoneOffset; 76 private static final ZoneOffset OFFSET_0130 = ZoneOffset.of("+01:30"); 82 {"+HH", "NO-OFFSET", ZoneOffset.UTC}, in provider_offsets() 83 {"+HH", "+01", ZoneOffset.ofHours(1)}, in provider_offsets() 84 {"+HH", "-01", ZoneOffset.ofHours(-1)}, in provider_offsets() 86 {"+HHMM", "NO-OFFSET", ZoneOffset.UTC}, in provider_offsets() 87 {"+HHMM", "+0102", ZoneOffset.ofHoursMinutes(1, 2)}, in provider_offsets() 88 {"+HHMM", "-0102", ZoneOffset.ofHoursMinutes(-1, -2)}, in provider_offsets() 90 {"+HH:MM", "NO-OFFSET", ZoneOffset.UTC}, in provider_offsets() 91 {"+HH:MM", "+01:02", ZoneOffset.ofHoursMinutes(1, 2)}, in provider_offsets() [all …]
|
D | TestZoneOffsetParser.java | 67 import java.time.ZoneOffset; 102 assertParsed(parsed, ZoneOffset.UTC); in test_parse_exactMatch_UTC() 109 assertParsed(parsed, ZoneOffset.UTC); in test_parse_startStringMatch_UTC() 116 assertParsed(parsed, ZoneOffset.UTC); in test_parse_midStringMatch_UTC() 123 assertParsed(parsed, ZoneOffset.UTC); in test_parse_endStringMatch_UTC() 131 assertParsed(parsed, ZoneOffset.UTC); in test_parse_exactMatch_UTC_EmptyUTC() 138 assertParsed(parsed, ZoneOffset.UTC); in test_parse_startStringMatch_UTC_EmptyUTC() 145 assertParsed(parsed, ZoneOffset.UTC); in test_parse_midStringMatch_UTC_EmptyUTC() 152 assertParsed(parsed, ZoneOffset.UTC); in test_parse_endStringMatch_UTC_EmptyUTC() 159 {"+HH", "+00", ZoneOffset.UTC}, in provider_offsets() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestZoneId.java | 73 import java.time.ZoneOffset; 116 ZoneId test = ZoneOffset.UTC; in test_constant_UTC() 120 assertEquals(test.getRules().getOffset(Instant.ofEpochSecond(0L)), ZoneOffset.UTC); in test_constant_UTC() 121 checkOffset(test.getRules(), createLDT(2008, 6, 30), ZoneOffset.UTC, 1); in test_constant_UTC() 165 …ertEquals(test.getRules().getOffset(createInstant(2008, 1, 1, ZoneOffset.UTC)), ZoneOffset.ofHours… in test_London_getOffset() 166 …ertEquals(test.getRules().getOffset(createInstant(2008, 2, 1, ZoneOffset.UTC)), ZoneOffset.ofHours… in test_London_getOffset() 167 …ertEquals(test.getRules().getOffset(createInstant(2008, 3, 1, ZoneOffset.UTC)), ZoneOffset.ofHours… in test_London_getOffset() 168 …ertEquals(test.getRules().getOffset(createInstant(2008, 4, 1, ZoneOffset.UTC)), ZoneOffset.ofHours… in test_London_getOffset() 169 …ertEquals(test.getRules().getOffset(createInstant(2008, 5, 1, ZoneOffset.UTC)), ZoneOffset.ofHours… in test_London_getOffset() 170 …ertEquals(test.getRules().getOffset(createInstant(2008, 6, 1, ZoneOffset.UTC)), ZoneOffset.ofHours… in test_London_getOffset() [all …]
|
D | TestInstantSource.java | 35 import java.time.ZoneOffset; 50 assertSame(test.withZone(ZoneOffset.UTC), Clock.systemUTC()); in test_system() 67 …assertEquals(test.withZone(ZoneOffset.UTC), Clock.tick(Clock.fixed(instant, ZoneOffset.UTC), durat… 79 assertEquals(test.withZone(ZoneOffset.UTC), Clock.fixed(instant, ZoneOffset.UTC)); 92 …assertEquals(test.withZone(ZoneOffset.UTC), Clock.offset(Clock.fixed(instant, ZoneOffset.UTC), dur… 111 assertEquals(test.withZone(ZoneOffset.UTC).getZone(), ZoneOffset.UTC); 113 assertEquals(test.withZone(ZoneOffset.UTC).withZone(PARIS).getZone(), PARIS); 116 assertEquals(test.withZone(ZoneOffset.UTC), test.withZone(ZoneOffset.UTC)); 117 … assertEquals(test.withZone(ZoneOffset.UTC).hashCode(), test.withZone(ZoneOffset.UTC).hashCode());
|
D | TestOffsetDateTime_instants.java | 71 import java.time.ZoneOffset; 81 private static final ZoneOffset OFFSET_PONE = ZoneOffset.ofHours(1); 82 private static final ZoneOffset OFFSET_MAX = ZoneOffset.ofHours(18); 83 private static final ZoneOffset OFFSET_MIN = ZoneOffset.ofHours(-18); 94 OffsetDateTime.ofInstant(instant, (ZoneOffset) null); in factory_ofInstant_nullOffset() 112 …e expected = OffsetDateTime.of(LocalDate.of(1970, 1, 1), LocalTime.of(0, 0, 0, 0), ZoneOffset.UTC); in factory_ofInstant_allDaysInCycle() 115 OffsetDateTime test = OffsetDateTime.ofInstant(instant, ZoneOffset.UTC); in factory_ofInstant_allDaysInCycle() 136 OffsetDateTime.ofInstant(instant, ZoneOffset.UTC); in factory_ofInstant_tooLow() 149 OffsetDateTime.ofInstant(instant, ZoneOffset.UTC); in factory_ofInstant_tooBig() 239 …d = OffsetDateTime.of(LocalDate.of((int) minYear, 1, 1), LocalTime.of(0, 0, 0, 0), ZoneOffset.UTC); in doTest_factory_ofInstant_all() [all …]
|
D | TestZoneOffset.java | 64 import java.time.ZoneOffset; 76 assertImmutable(ZoneOffset.class); in test_immutable() 81 assertSame(ZoneOffset.ofTotalSeconds(0), ZoneOffset.UTC); in test_factory_ofTotalSecondsSame()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKZoneOffset.java | 77 import java.time.ZoneOffset; 102 …TemporalAccessor[] array = {ZoneOffset.ofHours(1), ZoneOffset.ofHoursMinutesSeconds(-5, -6, -30) }; in samples() 129 ZoneOffset test = ZoneOffset.UTC; in test_constant_UTC() 135 ZoneOffset test = ZoneOffset.MIN; in test_constant_MIN() 141 ZoneOffset test = ZoneOffset.MAX; in test_constant_MAX() 156 ZoneOffset test = ZoneOffset.of(values[i]); in test_factory_string_UTC() 157 assertSame(test, ZoneOffset.UTC); in test_factory_string_UTC() 180 ZoneOffset.of(values[i]); in test_factory_string_invalid() 190 ZoneOffset.of((String) null); in test_factory_string_null() 198 ZoneOffset test = ZoneOffset.of(str); in test_factory_string_singleDigitHours() [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDTFParsedInstant.java | 30 import java.time.ZoneOffset; 84 … LocalDateTime.of(2012, 10, 28, 1, 45, 0, 0), ZoneOffset.of("-02:30"), EUROPE_BERLIN}, in data_parse_WithZone_WithOffset() 86 … LocalDateTime.of(2012, 10, 28, 1, 45, 0, 0), ZoneOffset.of("-01:00"), EUROPE_BERLIN}, in data_parse_WithZone_WithOffset() 88 … LocalDateTime.of(2012, 10, 28, 1, 45, 0, 0), ZoneOffset.of("-00:00"), EUROPE_BERLIN}, in data_parse_WithZone_WithOffset() 90 … LocalDateTime.of(2012, 10, 28, 1, 45, 0, 0), ZoneOffset.of("+00:00"), EUROPE_BERLIN}, in data_parse_WithZone_WithOffset() 92 … LocalDateTime.of(2012, 10, 28, 1, 45, 0, 0), ZoneOffset.of("+01:00"), EUROPE_BERLIN}, in data_parse_WithZone_WithOffset() 94 … LocalDateTime.of(2012, 10, 28, 1, 45, 0, 0), ZoneOffset.of("+02:00"), EUROPE_BERLIN}, in data_parse_WithZone_WithOffset() 96 … LocalDateTime.of(2012, 10, 28, 1, 45, 0, 0), ZoneOffset.of("+03:00"), EUROPE_BERLIN}, in data_parse_WithZone_WithOffset() 98 … LocalDateTime.of(2012, 10, 28, 2, 45, 0, 0), ZoneOffset.of("-02:30"), EUROPE_BERLIN}, in data_parse_WithZone_WithOffset() 100 … LocalDateTime.of(2012, 10, 28, 2, 45, 0, 0), ZoneOffset.of("-01:00"), EUROPE_BERLIN}, in data_parse_WithZone_WithOffset() [all …]
|
D | TCKOffsetPrinterParser.java | 67 import java.time.ZoneOffset; 84 private static final ZoneOffset OFFSET_UTC = ZoneOffset.UTC; 85 private static final ZoneOffset OFFSET_P0100 = ZoneOffset.ofHours(1); 86 private static final ZoneOffset OFFSET_P0123 = ZoneOffset.ofHoursMinutes(1, 23); 87 private static final ZoneOffset OFFSET_P0023 = ZoneOffset.ofHoursMinutes(0, 23); 88 private static final ZoneOffset OFFSET_P012345 = ZoneOffset.ofHoursMinutesSeconds(1, 23, 45); 89 private static final ZoneOffset OFFSET_P000045 = ZoneOffset.ofHoursMinutesSeconds(0, 0, 45); 90 private static final ZoneOffset OFFSET_M0100 = ZoneOffset.ofHours(-1); 91 private static final ZoneOffset OFFSET_M0123 = ZoneOffset.ofHoursMinutes(-1, -23); 92 private static final ZoneOffset OFFSET_M0023 = ZoneOffset.ofHoursMinutes(0, -23); [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneRules.java | 81 import java.time.ZoneOffset; 99 private static final ZoneOffset OFFSET_ZERO = ZoneOffset.ofHours(0); 100 private static final ZoneOffset OFFSET_PONE = ZoneOffset.ofHours(1); 101 private static final ZoneOffset OFFSET_PTWO = ZoneOffset.ofHours(2); 124 ZonedDateTime old = createZDT(1800, 1, 1, ZoneOffset.UTC); in test_London_preTimeZones() 126 ZoneOffset offset = ZoneOffset.ofHoursMinutesSeconds(0, -1, -15); in test_London_preTimeZones() 137 assertEquals(test.getOffset(createInstant(2008, 1, 1, ZoneOffset.UTC)), OFFSET_ZERO); in test_London_getOffset() 138 assertEquals(test.getOffset(createInstant(2008, 2, 1, ZoneOffset.UTC)), OFFSET_ZERO); in test_London_getOffset() 139 assertEquals(test.getOffset(createInstant(2008, 3, 1, ZoneOffset.UTC)), OFFSET_ZERO); in test_London_getOffset() 140 assertEquals(test.getOffset(createInstant(2008, 4, 1, ZoneOffset.UTC)), OFFSET_PONE); in test_London_getOffset() [all …]
|
D | TCKFixedZoneRules.java | 73 import java.time.ZoneOffset; 88 private static final ZoneOffset OFFSET_PONE = ZoneOffset.ofHours(1); 89 private static final ZoneOffset OFFSET_PTWO = ZoneOffset.ofHours(2); 90 private static final ZoneOffset OFFSET_M18 = ZoneOffset.ofHours(-18); 94 private ZoneRules make(ZoneOffset offset) { in make() 112 public void test_getOffset_Instant(ZoneRules test, ZoneOffset expectedOffset) { in test_getOffset_Instant() 118 public void test_getOffset_LocalDateTime(ZoneRules test, ZoneOffset expectedOffset) { in test_getOffset_LocalDateTime() 124 public void test_getValidOffsets_LDT(ZoneRules test, ZoneOffset expectedOffset) { in test_getValidOffsets_LDT() 132 public void test_getTransition_LDT(ZoneRules test, ZoneOffset expectedOffset) { in test_getTransition_LDT() 138 public void test_isValidOffset_LDT_ZO(ZoneRules test, ZoneOffset expectedOffset) { in test_isValidOffset_LDT_ZO() [all …]
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | OffsetDateTimeTest.java | 20 import java.time.ZoneOffset; 35 OffsetDateTime.of(2000, 1, 2, 3, 4, 5, 6, ZoneOffset.UTC); 43 assertEquals(OffsetDateTime.of(2000, 1, 2, 4, 4, 5, 6, ZoneOffset.UTC), in test_plus() 45 assertEquals(OffsetDateTime.of(2000, 1, 3, 2, 4, 5, 6, ZoneOffset.UTC), in test_plus() 47 assertEquals(OffsetDateTime.of(2000, 1, 2, 3, 5, 5, 6, ZoneOffset.UTC), in test_plus() 49 assertEquals(OffsetDateTime.of(2000, 1, 2, 3, 5, 5, 6, ZoneOffset.UTC), in test_plus() 51 assertEquals(OffsetDateTime.of(2000, 1, 2, 3, 4, 5, 1_000_006, ZoneOffset.UTC), in test_plus() 53 assertEquals(OffsetDateTime.of(2000, 1, 2, 3, 4, 5, 7, ZoneOffset.UTC), in test_plus() 59 assertEquals(OffsetDateTime.of(2000, 1, 2, 2, 4, 5, 6, ZoneOffset.UTC), in test_minus_utc_offset() 61 assertEquals(OffsetDateTime.of(2000, 1, 1, 4, 4, 5, 6, ZoneOffset.UTC), in test_minus_utc_offset() [all …]
|
D | OffsetTimeTest.java | 20 import java.time.ZoneOffset; 39 .of(/* hour */ 12, /* minute */ 0, /* second */ 0, /* nano */ 0, ZoneOffset.UTC); 45 assertEquals(OffsetTime.of(13, 0, 0, 0, ZoneOffset.UTC), in test_plus() 47 assertEquals(OffsetTime.of(11, 0, 0, 0, ZoneOffset.UTC), in test_plus() 49 assertEquals(OffsetTime.of(12, 1, 0, 0, ZoneOffset.UTC), in test_plus() 51 assertEquals(OffsetTime.of(12, 1, 0, 0, ZoneOffset.UTC), in test_plus() 53 assertEquals(OffsetTime.of(12, 0, 0, 1_000_000, ZoneOffset.UTC), in test_plus() 55 assertEquals(OffsetTime.of(12, 0, 0, 1, ZoneOffset.UTC), in test_plus()
|
D | ZonedDateTimeTest.java | 24 import java.time.ZoneOffset; 42 private static final ZoneOffset OFFSET_P1 = ZoneOffset.ofHours(1); 45 private static final ZoneOffset OFFSET_P2 = ZoneOffset.ofHours(2); 80 checkOfInstant(LDT_P1, ZoneOffset.ofHours(-10), ZONE_VIENNA, LDT_P1.withHour(11), in test_ofInstant() 98 private static void checkOfInstant(LocalDateTime localDateTime, ZoneOffset offset, in checkOfInstant() 99 ZoneId zone, LocalDateTime expectedDateTime, ZoneOffset expectedOffset) { in checkOfInstant() 145 checkOfLocal(LDT_P1, ZONE_VIENNA, ZoneOffset.ofHours(-10), LDT_P1, OFFSET_P1); in test_ofLocal() 159 checkOfLocal(LDT_IN_OVERLAP, ZONE_VIENNA, ZoneOffset.ofHours(10), in test_ofLocal() 169 ZoneOffset preferredOffset, LocalDateTime expectedDateTime, ZoneOffset expectedOffset) { in checkOfLocal()
|
/libcore/ojluni/src/main/java/java/time/ |
D | ZoneOffset.java | 124 public final class ZoneOffset class 126 implements TemporalAccessor, TemporalAdjuster, Comparable<ZoneOffset>, Serializable { 129 …private static final ConcurrentMap<Integer, ZoneOffset> SECONDS_CACHE = new ConcurrentHashMap<>(16… 131 …private static final ConcurrentMap<String, ZoneOffset> ID_CACHE = new ConcurrentHashMap<>(16, 0.75… 146 public static final ZoneOffset UTC = ZoneOffset.ofTotalSeconds(0); 150 public static final ZoneOffset MIN = ZoneOffset.ofTotalSeconds(-MAX_SECONDS); 154 public static final ZoneOffset MAX = ZoneOffset.ofTotalSeconds(MAX_SECONDS); 197 public static ZoneOffset of(String offsetId) { in of() 200 ZoneOffset offset = ID_CACHE.get(offsetId); in of() 277 public static ZoneOffset ofHours(int hours) { in ofHours() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/zone/ |
D | TestZoneRules.java | 36 import java.time.ZoneOffset; 64 private static final ZoneOffset OFF_0 = ZoneOffset.ofHours(0); 65 private static final ZoneOffset OFF_1 = ZoneOffset.ofHours(1); 66 private static final ZoneOffset OFF_2 = ZoneOffset.ofHours(2); 116 …OKYO, LocalDateTime.of(LocalDate.of(1948, 9, 12), ONE_AM), ZoneOffset.ofHours(10), ZoneOffset.ofHo… in transitionBeyondDay() 117 …OKYO, LocalDateTime.of(LocalDate.of(1949, 9, 11), ONE_AM), ZoneOffset.ofHours(10), ZoneOffset.ofHo… in transitionBeyondDay() 118 …OKYO, LocalDateTime.of(LocalDate.of(1950, 9, 10), ONE_AM), ZoneOffset.ofHours(10), ZoneOffset.ofHo… in transitionBeyondDay() 119 …TOKYO, LocalDateTime.of(LocalDate.of(1951, 9, 9), ONE_AM), ZoneOffset.ofHours(10), ZoneOffset.ofHo… in transitionBeyondDay() 151 …public void test_NegativeDST(ZoneId zid, LocalDate ld, ZoneOffset offset, ZoneOffset stdOffset, bo… in test_NegativeDST() 164 … void test_TransitionBeyondDay(ZoneId zid, LocalDateTime ldt, ZoneOffset before, ZoneOffset after)… in test_TransitionBeyondDay() [all …]
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneOffsetTransitionRule.java | 78 import java.time.ZoneOffset; 140 private final ZoneOffset standardOffset; 144 private final ZoneOffset offsetBefore; 148 private final ZoneOffset offsetAfter; 179 ZoneOffset standardOffset, in of() 180 ZoneOffset offsetBefore, in of() 181 ZoneOffset offsetAfter) { in of() 224 ZoneOffset standardOffset, in ZoneOffsetTransitionRule() 225 ZoneOffset offsetBefore, in ZoneOffsetTransitionRule() 226 ZoneOffset offsetAfter) { in ZoneOffsetTransitionRule() [all …]
|
D | ZoneOffsetTransition.java | 73 import java.time.ZoneOffset; 117 private final ZoneOffset offsetBefore; 121 private final ZoneOffset offsetAfter; 138 …c static ZoneOffsetTransition of(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffset off… in of() 158 … ZoneOffsetTransition(LocalDateTime transition, ZoneOffset offsetBefore, ZoneOffset offsetAfter) { in ZoneOffsetTransition() 173 ZoneOffsetTransition(long epochSecond, ZoneOffset offsetBefore, ZoneOffset offsetAfter) { in ZoneOffsetTransition() 233 ZoneOffset before = Ser.readOffset(in); in readExternal() 234 ZoneOffset after = Ser.readOffset(in); in readExternal() 304 public ZoneOffset getOffsetBefore() { in getOffsetBefore() 315 public ZoneOffset getOffsetAfter() { in getOffsetAfter() [all …]
|
D | ZoneRules.java | 74 import java.time.ZoneOffset; 127 private final ZoneOffset[] standardOffsets; 141 private final ZoneOffset[] wallOffsets; 185 public static ZoneRules of(ZoneOffset baseStandardOffset, in of() 186 ZoneOffset baseWallOffset, in of() 206 public static ZoneRules of(ZoneOffset offset) { in of() 220 ZoneRules(ZoneOffset baseStandardOffset, in ZoneRules() 221 ZoneOffset baseWallOffset, in ZoneRules() 231 this.standardOffsets = new ZoneOffset[standardOffsetTransitionList.size() + 1]; in ZoneRules() 240 List<ZoneOffset> localTransitionOffsetList = new ArrayList<>(); in ZoneRules() [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/ |
D | TCKFixedZoneRulesSerialization.java | 69 import java.time.ZoneOffset; 80 private static final ZoneOffset OFFSET_PONE = ZoneOffset.ofHours(1); 81 private static final ZoneOffset OFFSET_PTWO = ZoneOffset.ofHours(2); 82 private static final ZoneOffset OFFSET_M18 = ZoneOffset.ofHours(-18); 84 private ZoneRules make(ZoneOffset offset) { in make() 101 public void test_serialization(ZoneRules test, ZoneOffset expectedOffset) throws Exception { in test_serialization()
|
D | TCKZoneOffsetTransitionSerialization.java | 70 import java.time.ZoneOffset; 79 private static final ZoneOffset OFFSET_0200 = ZoneOffset.ofHours(2); 80 private static final ZoneOffset OFFSET_0300 = ZoneOffset.ofHours(3); 86 …ZoneOffsetTransition test = ZoneOffsetTransition.of(ldt, ZoneOffset.of("+02:04:56"), ZoneOffset.of… in test_serialization_unusual1() 93 …ZoneOffsetTransition test = ZoneOffsetTransition.of(ldt, ZoneOffset.of("+02:04:56"), ZoneOffset.of… in test_serialization_unusual2()
|
D | TCKZoneOffsetTransitionRuleSerialization.java | 65 import java.time.ZoneOffset; 79 private static final ZoneOffset OFFSET_0200 = ZoneOffset.ofHours(2); 80 private static final ZoneOffset OFFSET_0300 = ZoneOffset.ofHours(3); 90 ZoneOffset.ofHoursMinutesSeconds(-12, -20, -50), in test_serialization_unusualOffsets() 91 ZoneOffset.ofHoursMinutesSeconds(-4, -10, -34), in test_serialization_unusualOffsets() 92 ZoneOffset.ofHours(-18)); in test_serialization_unusualOffsets()
|
/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
D | TCKZoneOffsetSerialization.java | 67 import java.time.ZoneOffset; 80 assertSerializable(ZoneOffset.of("+01:30")); in test_serialization() 91 assertSerializedBySer(ZoneOffset.ofHoursMinutes(1, 30), bytes); in test_serialization_format_quarterPositive() 102 assertSerializedBySer(ZoneOffset.ofHoursMinutes(-2, -30), bytes); in test_serialization_format_quarterNegative() 114 assertSerializedBySer(ZoneOffset.ofTotalSeconds(53265), bytes); in test_serialization_format_full() 119 assertNotSerializable(ZoneOffset.class); in test_invalid_serialform()
|
/libcore/luni/src/test/java/libcore/java/time/zone/ |
D | ZoneOffsetTransitionTest.java | 22 import java.time.ZoneOffset; 37 ZoneOffset offsetP1 = ZoneOffset.ofHours(1); in test_toEpochSeconds() 38 ZoneOffset offsetP2 = ZoneOffset.ofHours(2); in test_toEpochSeconds()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoZonedDateTimeImpl.java | 75 import java.time.ZoneOffset; 120 private final transient ZoneOffset offset; 136 ChronoLocalDateTimeImpl<R> localDateTime, ZoneId zone, ZoneOffset preferredOffset) { in ofBest() 139 if (zone instanceof ZoneOffset) { in ofBest() 140 return new ChronoZonedDateTimeImpl<>(localDateTime, (ZoneOffset) zone, zone); in ofBest() 144 List<ZoneOffset> validOffsets = rules.getValidOffsets(isoLDT); in ofBest() 145 ZoneOffset offset; in ofBest() 173 ZoneOffset offset = rules.getOffset(instant); in ofInstant() 219 …private ChronoZonedDateTimeImpl(ChronoLocalDateTimeImpl<D> dateTime, ZoneOffset offset, ZoneId zon… in ChronoZonedDateTimeImpl() 227 public ZoneOffset getOffset() { in getOffset() [all …]
|