Home | History | Annotate | Download | only in time

Lines Matching defs:nano

223     private final int nano;
328 * @param nanoOfSecond the nano-of-second to represent, from 0 to 999,999,999
365 * @param nanoOfDay the nano of day, from {@code 0} to {@code 24 * 60 * 60 * 1,000,000,000 - 1}
447 * @param nanoOfSecond the nano-of-second to represent, validated from 0 to 999,999,999
463 * @param nanoOfSecond the nano-of-second to represent, validated from 0 to 999,999,999
469 this.nano = nanoOfSecond;
657 case NANO_OF_SECOND: return nano;
659 case MICRO_OF_SECOND: return nano / 1000;
661 case MILLI_OF_SECOND: return nano / 1000_000;
705 * Gets the nano-of-second field.
707 * @return the nano-of-second, from 0 to 999,999,999
710 return nano;
757 * Returns a {@code LocalTime} with the specified nano-of-second.
760 * Returns a {@code LocalTime} with the specified nano-of-day.
763 * Returns a {@code LocalTime} with the nano-of-second replaced by the specified
771 * Returns a {@code LocalTime} with the nano-of-second replaced by the specified
780 * The hour, minute and nano-of-second will be unchanged.
783 * The nano-of-second will be unchanged.
786 * The hour, second-of-minute and nano-of-second will be unchanged.
789 * The second-of-minute and nano-of-second will be unchanged.
792 * The AM/PM, minute-of-hour, second-of-minute and nano-of-second will be unchanged.
795 * The AM/PM, minute-of-hour, second-of-minute and nano-of-second will be unchanged.
798 * The minute-of-hour, second-of-minute and nano-of-second will be unchanged.
801 * The minute-of-hour, second-of-minute and nano-of-second will be unchanged.
804 * The hour-of-am-pm, minute-of-hour, second-of-minute and nano-of-second will be unchanged.
868 return create(hour, minute, second, nano);
885 return create(hour, minute, second, nano);
902 return create(hour, minute, second, nano);
906 * Returns a copy of this {@code LocalTime} with the nano-of-second altered.
910 * @param nanoOfSecond the nano-of-second to set in the result, from 0 to 999,999,999
915 if (this.nano == nanoOfSecond) {
929 * will set the second-of-minute and nano-of-second field to zero.
1071 return create(newHour, minute, second, nano);
1096 return create(newHour, newMinute, second, nano);
1123 return create(newHour, newMinute, newSecond, nano);
1455 * @return the nano of day equivalent to this time
1461 total += nano;
1484 cmp = Integer.compare(nano, other.nano);
1538 second == other.second && nano == other.nano;
1577 int nanoValue = nano;
1605 * if (nano == 0) {
1622 * out.writeInt(nano);
1643 if (nano == 0) {
1660 out.writeInt(nano);
1668 int nano = 0;
1680 nano = in.readInt();
1684 return LocalTime.of(hour, minute, second, nano);