/libcore/ojluni/src/main/java/java/time/ |
D | LocalTime.java | 334 public static LocalTime of(int hour, int minute, int second, int nanoOfSecond) { in of() argument 338 NANO_OF_SECOND.checkValidValue(nanoOfSecond); in of() 339 return create(hour, minute, second, nanoOfSecond); in of() 474 private static LocalTime create(int hour, int minute, int second, int nanoOfSecond) { in create() argument 475 if ((minute | second | nanoOfSecond) == 0) { in create() 478 return new LocalTime(hour, minute, second, nanoOfSecond); in create() 489 private LocalTime(int hour, int minute, int second, int nanoOfSecond) { in LocalTime() argument 493 this.nano = nanoOfSecond; in LocalTime() 937 public LocalTime withNano(int nanoOfSecond) { in withNano() argument 938 if (this.nano == nanoOfSecond) { in withNano() [all …]
|
D | ZonedDateTime.java | 333 int hour, int minute, int second, int nanoOfSecond, ZoneId zone) { in of() argument 334 … LocalDateTime dt = LocalDateTime.of(year, month, dayOfMonth, hour, minute, second, nanoOfSecond); in of() 447 private static ZonedDateTime create(long epochSecond, int nanoOfSecond, ZoneId zone) { in create() argument 449 …Instant instant = Instant.ofEpochSecond(epochSecond, nanoOfSecond); // TODO: rules should be quer… in create() 451 LocalDateTime ldt = LocalDateTime.ofEpochSecond(epochSecond, nanoOfSecond, offset); in create() 552 int nanoOfSecond = temporal.get(NANO_OF_SECOND); in from() local 553 return create(epochSecond, nanoOfSecond, zone); in from() 1485 public ZonedDateTime withNano(int nanoOfSecond) { in withNano() argument 1486 return resolveLocal(dateTime.withNano(nanoOfSecond)); in withNano()
|
D | LocalDateTime.java | 280 …ime of(int year, Month month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond) { in of() argument 282 LocalTime time = LocalTime.of(hour, minute, second, nanoOfSecond); in of() 355 …eTime of(int year, int month, int dayOfMonth, int hour, int minute, int second, int nanoOfSecond) { in of() argument 357 LocalTime time = LocalTime.of(hour, minute, second, nanoOfSecond); in of() 411 … public static LocalDateTime ofEpochSecond(long epochSecond, int nanoOfSecond, ZoneOffset offset) { in ofEpochSecond() argument 413 NANO_OF_SECOND.checkValidValue(nanoOfSecond); in ofEpochSecond() 418 LocalTime time = LocalTime.ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + nanoOfSecond); in ofEpochSecond() 1084 public LocalDateTime withNano(int nanoOfSecond) { in withNano() argument 1085 LocalTime newTime = time.withNano(nanoOfSecond); in withNano()
|
D | Instant.java | 369 int nanoOfSecond = temporal.get(NANO_OF_SECOND); in from() local 370 return Instant.ofEpochSecond(instantSecs, nanoOfSecond); in from() 401 private static Instant create(long seconds, int nanoOfSecond) { in create() argument 402 if ((seconds | nanoOfSecond) == 0) { in create() 408 return new Instant(seconds, nanoOfSecond); in create()
|
D | OffsetTime.java | 230 …public static OffsetTime of(int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset)… in of() argument 231 return new OffsetTime(LocalTime.of(hour, minute, second, nanoOfSecond), offset); in of() 790 public OffsetTime withNano(int nanoOfSecond) { in withNano() argument 791 return with(time.withNano(nanoOfSecond), offset); in withNano()
|
D | OffsetDateTime.java | 300 int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset) { in of() argument 301 … LocalDateTime dt = LocalDateTime.of(year, month, dayOfMonth, hour, minute, second, nanoOfSecond); in of() 1099 public OffsetDateTime withNano(int nanoOfSecond) { in withNano() argument 1100 return with(dateTime.withNano(nanoOfSecond), offset); in withNano()
|
D | Duration.java | 657 public Duration withNanos(int nanoOfSecond) { in withNanos() argument 658 NANO_OF_SECOND.checkValidIntValue(nanoOfSecond); in withNanos() 659 return create(seconds, nanoOfSecond); in withNanos()
|
D | LocalDate.java | 1880 public LocalDateTime atTime(int hour, int minute, int second, int nanoOfSecond) { in atTime() argument 1881 return atTime(LocalTime.of(hour, minute, second, nanoOfSecond)); in atTime()
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 117 int nanoOfSecond, in of() argument 265 public java.time.OffsetDateTime withNano(int nanoOfSecond) { in withNano() argument
|
D | Duration.java | 177 public java.time.Duration withNanos(int nanoOfSecond) { in withNanos() argument
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKZonedDateTime.java | 2413 int hour, int minute, int second, int nanoOfSecond) { 2414 … return LocalDateTime.of(year, month, dayOfMonth, hour, minute, second, nanoOfSecond); 2419 int hour, int minute, int second, int nanoOfSecond, ZoneOffset offset, ZoneId zoneId) { 2420 …trict(LocalDateTime.of(year, month, dayOfMonth, hour, minute, second, nanoOfSecond), offset, zoneI…
|