Home
last modified time | relevance | path

Searched refs:atOffset (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/test/java/util/zip/
DTestLocalTime.java126 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()
/libcore/luni/src/test/java/libcore/java/time/
DTimeApisConsistencyTest.java132 Instant start = START_DATE.atOffset(ZoneOffset.UTC).toInstant(); in runChecksAroundInterestingTimestamps()
133 Instant stop = END_DATE.atOffset(ZoneOffset.UTC).toInstant(); in runChecksAroundInterestingTimestamps()
/libcore/ojluni/src/main/java/java/time/
DOffsetTime.java122 public static final OffsetTime MIN = LocalTime.MIN.atOffset(ZoneOffset.MAX);
130 public static final OffsetTime MAX = LocalTime.MAX.atOffset(ZoneOffset.MIN);
DOffsetDateTime.java132 public static final OffsetDateTime MIN = LocalDateTime.MIN.atOffset(ZoneOffset.MAX);
140 public static final OffsetDateTime MAX = LocalDateTime.MAX.atOffset(ZoneOffset.MIN);
DInstant.java1186 public OffsetDateTime atOffset(ZoneOffset offset) { in atOffset() method in Instant
DLocalTime.java1456 public OffsetTime atOffset(ZoneOffset offset) { in atOffset() method in LocalTime
DLocalDateTime.java1752 public OffsetDateTime atOffset(ZoneOffset offset) { in atOffset() method in LocalDateTime
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKInstant.java1840 OffsetDateTime end = start.plusSeconds(2).atOffset(ZoneOffset.ofHours(2));
1872 OffsetDateTime test = instant.atOffset(ZoneOffset.ofHours(1));
1884 TEST_12345_123456789.atOffset(null);
DTCKZonedDateTime.java1208 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);
DTCKLocalDateTime.java2913 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);
DTCKLocalTime.java2411 assertEquals(t.atOffset(OFFSET_PTWO), OffsetTime.of(LocalTime.of(11, 30), OFFSET_PTWO));
2417 t.atOffset((ZoneOffset) null);
DTCKLocalDate.java1819 OffsetDateTime end = start.plusDays(2).atStartOfDay().atOffset(OFFSET_PONE);
/libcore/api/
Dcurrent.txt11479 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);