/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 227 private final int nano; field in LocalTime 492 this.nano = nanoOfSecond; in LocalTime() 680 case NANO_OF_SECOND: return nano; in get0() 682 case MICRO_OF_SECOND: return nano / 1000; in get0() 684 case MILLI_OF_SECOND: return nano / 1000_000; in get0() 733 return nano; in getNano() 891 return create(hour, minute, second, nano); in withHour() 908 return create(hour, minute, second, nano); in withMinute() 925 return create(hour, minute, second, nano); in withSecond() 938 if (this.nano == nanoOfSecond) { in withNano() [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKInstantPrinterParser.java | 111 public void test_print_grouped(long instantSecs, int nano, String expected) { in test_print_grouped() argument 112 Instant instant = Instant.ofEpochSecond(instantSecs, nano); in test_print_grouped() 189 … public void test_print_digits(int fractionalDigits, long instantSecs, int nano, String expected) { in test_print_digits() argument 190 Instant instant = Instant.ofEpochSecond(instantSecs, nano); in test_print_digits() 225 public void test_parse_digitsMinusOne(long instantSecs, int nano, String input) { in test_parse_digitsMinusOne() argument 226 Instant expected = Instant.ofEpochSecond(instantSecs, nano); in test_parse_digitsMinusOne() 234 public void test_parse_digitsNine(long instantSecs, int nano, String input) { in test_parse_digitsNine() argument 237 Instant expected = Instant.ofEpochSecond(instantSecs, nano); in test_parse_digitsNine()
|
D | TCKDateTimeFormatters.java | 451 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_print_isoLocalTime() argument 453 … TemporalAccessor test = buildAccessor(null, null, null, hour, min, sec, nano, offsetId, zoneId); in test_print_isoLocalTime() 468 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_parse_isoLocalTime() argument 471 Expected expected = createTime(hour, min, sec, nano); in test_parse_isoLocalTime() 521 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_print_isoOffsetTime() argument 523 … TemporalAccessor test = buildAccessor(null, null, null, hour, min, sec, nano, offsetId, zoneId); in test_print_isoOffsetTime() 538 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_parse_isoOffsetTime() argument 541 Expected expected = createTime(hour, min, sec, nano); in test_parse_isoOffsetTime() 591 Integer hour, Integer min, Integer sec, Integer nano, String offsetId, String zoneId, in test_print_isoTime() argument 593 … TemporalAccessor test = buildAccessor(null, null, null, hour, min, sec, nano, offsetId, zoneId); in test_print_isoTime() [all …]
|
D | TCKDateTimeParseResolver.java | 602 … long hour, long min, long sec, long nano, LocalTime expectedTime, Period excessPeriod) { in test_resolveFourToTime() argument 607 .parseDefaulting(NANO_OF_SECOND, nano).toFormatter(); in test_resolveFourToTime() 629 … long hour, long min, long sec, long nano, LocalTime expectedTime, Period excessPeriod) { in test_resolveThreeToTime() argument 640 …uals(accessor.query(TemporalQueries.localTime()), expectedTime.minusNanos(nano), "ResolverStyle: "… in test_resolveThreeToTime() 655 … long hour, long min, long sec, long nano, LocalTime expectedTime, Period excessPeriod) { in test_resolveFourToDateTime() argument 661 .parseDefaulting(NANO_OF_SECOND, nano).toFormatter(); in test_resolveFourToDateTime()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Timestamp.java | 88 int hour, int minute, int second, int nano) { in Timestamp() argument 90 if (nano > 999999999 || nano < 0) { in Timestamp() 93 nanos = nano; in Timestamp()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestZoneId.java | 654 …eateInstant(int year, int month, int day, int hour, int min, int sec, int nano, ZoneOffset offset)… in createInstant() argument 655 return LocalDateTime.of(year, month, day, hour, min, sec, nano).toInstant(offset); in createInstant() 658 …teTime createZDT(int year, int month, int day, int hour, int min, int sec, int nano, ZoneId zone) { in createZDT() argument 659 return LocalDateTime.of(year, month, day, hour, min, sec, nano).atZone(zone); in createZDT()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalDateTime.java | 3278 private LocalDateTime dtEpoch(int hour, int min, int sec, int nano) { 3279 return LocalDateTime.of(1970, 1, 1, hour, min, sec, nano); 3282 private LocalDateTime dt(int year, int month, int day, int hour, int min, int sec, int nano) { 3283 return LocalDateTime.of(year, month, day, hour, min, sec, nano);
|
D | TCKLocalTime.java | 2713 private LocalTime time(int hour, int min, int sec, int nano) { 2714 return LocalTime.of(hour, min, sec, nano);
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 3285 int nano = (nanoVal != null ? nanoVal.intValue() : 0); in parse() local 3287 if (hour == 24 && min == 0 && sec == 0 && nano == 0) { in parse() 3305 return context.setParsedField(NANO_OF_SECOND, nano, position, successPos); in parse()
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneRules.java | 1095 …eateInstant(int year, int month, int day, int hour, int min, int sec, int nano, ZoneOffset offset)… in createInstant() argument 1096 return LocalDateTime.of(year, month, day, hour, min, sec, nano).toInstant(offset); in createInstant()
|