HomeSort by relevance Sort by last modified time
    Searched refs:TemporalQueries (Results 26 - 50 of 57) sorted by null

12 3

  /libcore/ojluni/src/main/java/java/time/
ZoneOffset.java 80 import java.time.temporal.TemporalQueries;
327 * The conversion uses the {@link TemporalQueries#offset()} query, which relies
339 ZoneOffset offset = temporal.query(TemporalQueries.offset());
647 if (query == TemporalQueries.offset() || query == TemporalQueries.zone()) {
    [all...]
ZoneId.java 73 import java.time.temporal.TemporalQueries;
448 * zones over offset-based zones using {@link TemporalQueries#zone()}.
458 ZoneId obj = temporal.query(TemporalQueries.zone());
514 * supporting the return of the zone using {@link TemporalQueries#zoneId()}.
531 if (query == TemporalQueries.zoneId()) {
MonthDay.java 83 import java.time.temporal.TemporalQueries;
587 if (query == TemporalQueries.chronology()) {
Year.java 92 import java.time.temporal.TemporalQueries;
    [all...]
YearMonth.java 95 import java.time.temporal.TemporalQueries;
    [all...]
Period.java 83 import java.time.temporal.TemporalQueries;
    [all...]
LocalDate.java 95 import java.time.temporal.TemporalQueries;
347 * The conversion uses the {@link TemporalQueries#localDate()} query, which relies
359 LocalDate date = temporal.query(TemporalQueries.localDate());
    [all...]
LocalDateTime.java 91 import java.time.temporal.TemporalQueries;
    [all...]
  /libcore/ojluni/src/main/java/java/time/chrono/
Chronology.java 76 import java.time.temporal.TemporalQueries;
167 * The conversion will obtain the chronology using {@link TemporalQueries#chronology()}.
179 Chronology obj = temporal.query(TemporalQueries.chronology());
646 if (query == TemporalQueries.chronology()) {
    [all...]
ChronoPeriodImpl.java 76 import java.time.temporal.TemporalQueries;
312 Chronology temporalChrono = temporal.query(TemporalQueries.chronology());
  /libcore/ojluni/src/test/java/time/test/java/time/format/
TestZoneTextPrinterParser.java 36 import java.time.temporal.TemporalQueries;
196 String ret = fmt.parse(text, TemporalQueries.zone()).getId();
232 String ret = fmt.parse(text, TemporalQueries.zone()).getId();
TestNonIsoFormatter.java 42 import java.time.temporal.TemporalQueries;
172 Chronology cal = ta.query(TemporalQueries.chronology());
TestReducedParser.java 86 import java.time.temporal.TemporalQueries;
467 parsed.query(TemporalQueries.chronology()), input));
490 parsed.query(TemporalQueries.chronology()), input));
  /libcore/ojluni/src/test/java/time/tck/java/time/
TCKMonthDay.java 89 import java.time.temporal.TemporalQueries;
435 {TEST_07_15, TemporalQueries.chronology(), IsoChronology.INSTANCE},
436 {TEST_07_15, TemporalQueries.zoneId(), null},
437 {TEST_07_15, TemporalQueries.precision(), null},
438 {TEST_07_15, TemporalQueries.zone(), null},
439 {TEST_07_15, TemporalQueries.offset(), null},
440 {TEST_07_15, TemporalQueries.localDate(), null},
441 {TEST_07_15, TemporalQueries.localTime(), null},
TCKInstant.java 100 import java.time.temporal.TemporalQueries;
408 {TEST_12345_123456789, TemporalQueries.chronology(), null},
409 {TEST_12345_123456789, TemporalQueries.zoneId(), null},
410 {TEST_12345_123456789, TemporalQueries.precision(), NANOS},
411 {TEST_12345_123456789, TemporalQueries.zone(), null},
412 {TEST_12345_123456789, TemporalQueries.offset(), null},
413 {TEST_12345_123456789, TemporalQueries.localDate(), null},
414 {TEST_12345_123456789, TemporalQueries.localTime(), null},
    [all...]
TCKOffsetTime.java 118 import java.time.temporal.TemporalQueries;
613 {TEST_11_30_59_500_PONE, TemporalQueries.chronology(), null},
614 {TEST_11_30_59_500_PONE, TemporalQueries.zoneId(), null},
615 {TEST_11_30_59_500_PONE, TemporalQueries.precision(), ChronoUnit.NANOS},
616 {TEST_11_30_59_500_PONE, TemporalQueries.zone(), OFFSET_PONE},
617 {TEST_11_30_59_500_PONE, TemporalQueries.offset(), OFFSET_PONE},
618 {TEST_11_30_59_500_PONE, TemporalQueries.localDate(), null},
619 {TEST_11_30_59_500_PONE, TemporalQueries.localTime(), LocalTime.of(11, 30, 59, 500)},
    [all...]
TCKYear.java 102 import java.time.temporal.TemporalQueries;
415 {TEST_2008, TemporalQueries.chronology(), IsoChronology.INSTANCE},
416 {TEST_2008, TemporalQueries.zoneId(), null},
417 {TEST_2008, TemporalQueries.precision(), ChronoUnit.YEARS},
418 {TEST_2008, TemporalQueries.zone(), null},
419 {TEST_2008, TemporalQueries.offset(), null},
420 {TEST_2008, TemporalQueries.localDate(), null},
421 {TEST_2008, TemporalQueries.localTime(), null},
    [all...]
TCKYearMonth.java 103 import java.time.temporal.TemporalQueries;
483 {TEST_2008_06, TemporalQueries.chronology(), IsoChronology.INSTANCE},
484 {TEST_2008_06, TemporalQueries.zoneId(), null},
485 {TEST_2008_06, TemporalQueries.precision(), ChronoUnit.MONTHS},
486 {TEST_2008_06, TemporalQueries.zone(), null},
487 {TEST_2008_06, TemporalQueries.offset(), null},
488 {TEST_2008_06, TemporalQueries.localDate(), null},
489 {TEST_2008_06, TemporalQueries.localTime(), null},
    [all...]
TCKZoneId.java 79 import java.time.temporal.TemporalQueries;
523 if (query == TemporalQueries.zoneId()) {
TCKZonedDateTime.java 129 import java.time.temporal.TemporalQueries;
689 if (query == TemporalQueries.zoneId()) {
713 if (query == TemporalQueries.zoneId()) {
    [all...]
TCKLocalDate.java 116 import java.time.temporal.TemporalQueries;
700 {TEST_2007_07_15, TemporalQueries.chronology(), IsoChronology.INSTANCE},
701 {TEST_2007_07_15, TemporalQueries.zoneId(), null},
702 {TEST_2007_07_15, TemporalQueries.precision(), ChronoUnit.DAYS},
703 {TEST_2007_07_15, TemporalQueries.zone(), null},
704 {TEST_2007_07_15, TemporalQueries.offset(), null},
705 {TEST_2007_07_15, TemporalQueries.localDate(), TEST_2007_07_15},
706 {TEST_2007_07_15, TemporalQueries.localTime(), null},
    [all...]
TCKLocalTime.java 118 import java.time.temporal.TemporalQueries;
661 {TEST_12_30_40_987654321, TemporalQueries.chronology(), null},
662 {TEST_12_30_40_987654321, TemporalQueries.zoneId(), null},
663 {TEST_12_30_40_987654321, TemporalQueries.precision(), ChronoUnit.NANOS},
664 {TEST_12_30_40_987654321, TemporalQueries.zone(), null},
665 {TEST_12_30_40_987654321, TemporalQueries.offset(), null},
666 {TEST_12_30_40_987654321, TemporalQueries.localDate(), null},
667 {TEST_12_30_40_987654321, TemporalQueries.localTime(), TEST_12_30_40_987654321},
    [all...]
TCKOffsetDateTime.java 135 import java.time.temporal.TemporalQueries;
643 {TEST_2008_6_30_11_30_59_000000500, TemporalQueries.chronology(), IsoChronology.INSTANCE},
644 {TEST_2008_6_30_11_30_59_000000500, TemporalQueries.zoneId(), null},
645 {TEST_2008_6_30_11_30_59_000000500, TemporalQueries.precision(), ChronoUnit.NANOS},
646 {TEST_2008_6_30_11_30_59_000000500, TemporalQueries.zone(), OFFSET_PONE},
647 {TEST_2008_6_30_11_30_59_000000500, TemporalQueries.offset(), OFFSET_PONE},
648 {TEST_2008_6_30_11_30_59_000000500, TemporalQueries.localDate(), LocalDate.of(2008, 6, 30)},
649 {TEST_2008_6_30_11_30_59_000000500, TemporalQueries.localTime(), LocalTime.of(11, 30, 59, 500)},
    [all...]
  /libcore/ojluni/src/test/java/time/test/java/util/
TestFormatter.java 39 import java.time.temporal.TemporalQueries;
145 Chronology chrono = ((TemporalAccessor)o).query(TemporalQueries.chronology());
  /libcore/ojluni/src/main/java/java/time/format/
DateTimeFormatterBuilder.java 100 import java.time.temporal.TemporalQueries;
161 ZoneId zone = temporal.query(TemporalQueries.zoneId());
    [all...]

Completed in 1163 milliseconds

12 3