Searched defs:getNano (Results 1 - 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
H A DInstant.java625 public int getNano() { method in class:Instant
H A DDuration.java596 * The total duration is defined by calling this method and {@link #getNano()}.
622 public int getNano() { method in class:Duration
670 return plus(duration.getSeconds(), duration.getNano());
710 return plusSeconds(duration.getSeconds()).plusNanos(duration.getNano());
828 int nanosToSubtract = duration.getNano();
H A DLocalTime.java274 return ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + now.getNano());
709 public int getNano() { method in class:LocalTime
H A DOffsetTime.java256 LocalTime time = LocalTime.ofNanoOfDay(secsOfDay * NANOS_PER_SECOND + instant.getNano());
639 public int getNano() { method in class:OffsetTime
640 return time.getNano();
H A DLocalDateTime.java207 return ofEpochSecond(now.getEpochSecond(), now.getNano(), offset);
392 return ofEpochSecond(instant.getEpochSecond(), instant.getNano(), offset);
861 public int getNano() { method in class:LocalDateTime
862 return time.getNano();
H A DOffsetDateTime.java173 cmp = datetime1.toLocalTime().getNano() - datetime2.toLocalTime().getNano();
322 LocalDateTime ldt = LocalDateTime.ofEpochSecond(instant.getEpochSecond(), instant.getNano(), offset);
852 public int getNano() { method in class:OffsetDateTime
853 return dateTime.getNano();
965 case INSTANT_SECONDS: return ofInstant(Instant.ofEpochSecond(newValue, getNano()), offset);
1819 (thisEpochSec == otherEpochSec && toLocalTime().getNano() > other.toLocalTime().getNano());
1836 (thisEpochSec == otherEpochSec && toLocalTime().getNano() < other.toLocalTime().getNano());
[all...]
H A DZonedDateTime.java403 return create(instant.getEpochSecond(), instant.getNano(), zone);
433 return create(localDateTime.toEpochSecond(offset), localDateTime.getNano(), zone);
986 create(dateTime.toEpochSecond(offset), dateTime.getNano(), zone);
1166 public int getNano() { method in class:ZonedDateTime
1167 return dateTime.getNano();
1235 return create(instant.getEpochSecond(), instant.getNano(), zone);
1300 return create(newValue, getNano(), zone);

Completed in 81 milliseconds