Searched defs:withNano (Results 1 - 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
H A DLocalTime.java832 case NANO_OF_SECOND: return withNano((int) newValue);
834 case MICRO_OF_SECOND: return withNano((int) newValue * 1000);
836 case MILLI_OF_SECOND: return withNano((int) newValue * 1000_000);
914 public LocalTime withNano(int nanoOfSecond) { method in class:LocalTime
H A DOffsetTime.java789 public OffsetTime withNano(int nanoOfSecond) { method in class:OffsetTime
790 return with(time.withNano(nanoOfSecond), offset);
H A DLocalDateTime.java1088 public LocalDateTime withNano(int nanoOfSecond) { method in class:LocalDateTime
1089 LocalTime newTime = time.withNano(nanoOfSecond);
H A DOffsetDateTime.java1099 public OffsetDateTime withNano(int nanoOfSecond) { method in class:OffsetDateTime
1100 return with(dateTime.withNano(nanoOfSecond), offset);
H A DZonedDateTime.java1472 * {@linkplain LocalDateTime#withNano(int) changing the time} of the local date-time.
1486 public ZonedDateTime withNano(int nanoOfSecond) { method in class:ZonedDateTime
1487 return resolveLocal(dateTime.withNano(nanoOfSecond));

Completed in 132 milliseconds