Searched refs:atOffset (Results 1 – 13 of 13) sorted by relevance
126 if (ldt.atOffset(ZoneOffset.UTC).toEpochSecond() >> 1 in check()127 != expected.atOffset(ZoneOffset.UTC).toEpochSecond() >> 1) { in check()140 if (ldt.atOffset(ZoneOffset.UTC).toEpochSecond() >> 1 in check()141 == expected.atOffset(ZoneOffset.UTC).toEpochSecond() >> 1) { in check()
132 Instant start = START_DATE.atOffset(ZoneOffset.UTC).toInstant(); in runChecksAroundInterestingTimestamps()133 Instant stop = END_DATE.atOffset(ZoneOffset.UTC).toInstant(); in runChecksAroundInterestingTimestamps()
122 public static final OffsetTime MIN = LocalTime.MIN.atOffset(ZoneOffset.MAX);130 public static final OffsetTime MAX = LocalTime.MAX.atOffset(ZoneOffset.MIN);
132 public static final OffsetDateTime MIN = LocalDateTime.MIN.atOffset(ZoneOffset.MAX);140 public static final OffsetDateTime MAX = LocalDateTime.MAX.atOffset(ZoneOffset.MIN);
1186 public OffsetDateTime atOffset(ZoneOffset offset) { in atOffset() method in Instant
1456 public OffsetTime atOffset(ZoneOffset offset) { in atOffset() method in LocalTime
1752 public OffsetDateTime atOffset(ZoneOffset offset) { in atOffset() method in LocalDateTime
1840 OffsetDateTime end = start.plusSeconds(2).atOffset(ZoneOffset.ofHours(2));1872 OffsetDateTime test = instant.atOffset(ZoneOffset.ofHours(1));1884 TEST_12345_123456789.atOffset(null);
1208 OffsetDateTime odt = TEST_LOCAL_2008_06_30_11_30_59_500.atOffset(OFFSET_0200);1217 OffsetDateTime odt = TEST_LOCAL_2008_06_30_11_30_59_500.atOffset(OFFSET_0130);1227 OffsetDateTime odt = TEST_PARIS_OVERLAP_2008_10_26_02_30.atOffset(OFFSET_0100);1236 OffsetDateTime odt = TEST_PARIS_OVERLAP_2008_10_26_02_30.atOffset(OFFSET_0200);
2913 OffsetDateTime end = start.plusDays(2).atOffset(OFFSET_PONE);2954 …assertEquals(t.atOffset(OFFSET_PTWO), OffsetDateTime.of(LocalDateTime.of(2008, 6, 30, 11, 30), OFF…2960 t.atOffset((ZoneOffset) null);
2411 assertEquals(t.atOffset(OFFSET_PTWO), OffsetTime.of(LocalTime.of(11, 30), OFFSET_PTWO));2417 t.atOffset((ZoneOffset) null);
1819 OffsetDateTime end = start.plusDays(2).atStartOfDay().atOffset(OFFSET_PONE);
11479 method public java.time.OffsetDateTime atOffset(java.time.ZoneOffset);11605 method public java.time.OffsetDateTime atOffset(java.time.ZoneOffset);11687 method public java.time.OffsetTime atOffset(java.time.ZoneOffset);