6060 * </ol>
6161 *
6262 * <p>
63- * This class is not thread-safe
63+ * This class is not thread-safe.
6464 * </p>
6565 *
6666 * @see DurationUtils#of(FailableRunnable)
@@ -359,7 +359,7 @@ public long getNanoTime() {
359359 * This is the Duration between start and latest split.
360360 * </p>
361361 *
362- * @return the split Duration
362+ * @return the split Duration.
363363 * @throws IllegalStateException if this StopWatch has not yet been split.
364364 * @since 3.16.0
365365 */
@@ -374,7 +374,7 @@ public Duration getSplitDuration() {
374374 * This is the time between start and latest split.
375375 * </p>
376376 *
377- * @return the split time in nanoseconds
377+ * @return the split time in nanoseconds.
378378 * @throws IllegalStateException if this StopWatch has not yet been split.
379379 * @since 3.0
380380 */
@@ -392,7 +392,7 @@ public long getSplitNanoTime() {
392392 * This is the time between start and latest split.
393393 * </p>
394394 *
395- * @return the split time in milliseconds
395+ * @return the split time in milliseconds.
396396 * @throws IllegalStateException if this StopWatch has not yet been split.
397397 * @since 2.1
398398 * @deprecated Use {@link #getSplitDuration()}.
@@ -406,7 +406,7 @@ public long getSplitTime() {
406406 * Gets the Instant this StopWatch was started, between the current time and midnight, January 1, 1970 UTC.
407407 *
408408 * @return the Instant this StopWatch was started, between the current time and midnight, January 1, 1970 UTC.
409- * @throws IllegalStateException if this StopWatch has not been started
409+ * @throws IllegalStateException if this StopWatch has not been started.
410410 * @since 3.16.0
411411 */
412412 public Instant getStartInstant () {
@@ -420,7 +420,7 @@ public Instant getStartInstant() {
420420 * Gets the time this StopWatch was started in milliseconds, between the current time and midnight, January 1, 1970 UTC.
421421 *
422422 * @return the time this StopWatch was started in milliseconds, between the current time and midnight, January 1, 1970 UTC.
423- * @throws IllegalStateException if this StopWatch has not been started
423+ * @throws IllegalStateException if this StopWatch has not been started.
424424 * @since 2.4
425425 * @deprecated Use {@link #getStartInstant()}.
426426 */
@@ -433,7 +433,7 @@ public long getStartTime() {
433433 * Gets the Instant this StopWatch was stopped, between the current time and midnight, January 1, 1970 UTC.
434434 *
435435 * @return the Instant this StopWatch was stopped in milliseconds, between the current time and midnight, January 1, 1970 UTC.
436- * @throws IllegalStateException if this StopWatch has not been started
436+ * @throws IllegalStateException if this StopWatch has not been started.
437437 * @since 3.16.0
438438 */
439439 public Instant getStopInstant () {
@@ -447,7 +447,7 @@ public Instant getStopInstant() {
447447 * Gets the time this StopWatch was stopped in milliseconds, between the current time and midnight, January 1, 1970 UTC.
448448 *
449449 * @return the time this StopWatch was stopped in milliseconds, between the current time and midnight, January 1, 1970 UTC.
450- * @throws IllegalStateException if this StopWatch has not been started
450+ * @throws IllegalStateException if this StopWatch has not been started.
451451 * @since 3.12.0
452452 * @deprecated Use {@link #getStopInstant()}.
453453 */
@@ -483,7 +483,7 @@ public <T, E extends Throwable> T getT(final FailableSupplier<T, E> supplier) th
483483 * This is either the time between the start and the moment this method is called, or the amount of time between start and stop.
484484 * </p>
485485 *
486- * @return the time in milliseconds
486+ * @return the time in milliseconds.
487487 * @see #getDuration()
488488 */
489489 public long getTime () {
@@ -499,8 +499,8 @@ public long getTime() {
499499 * is 59 minutes, then the result returned will be {@code 0}.
500500 * </p>
501501 *
502- * @param timeUnit the unit of time, not null
503- * @return the time in the specified TimeUnit, rounded down
502+ * @param timeUnit the unit of time, not null.
503+ * @return the time in the specified TimeUnit, rounded down.
504504 * @since 3.5
505505 */
506506 public long getTime (final TimeUnit timeUnit ) {
@@ -703,7 +703,7 @@ public void suspend() {
703703 * The format used is ISO 8601-like, [<em>message</em> ]<em>hours</em>:<em>minutes</em>:<em>seconds</em>.<em>milliseconds</em>.
704704 * </p>
705705 *
706- * @return the split time as a String
706+ * @return the split time as a String.
707707 * @since 2.1
708708 * @since 3.10 Returns the prefix {@code "message "} if the message is set.
709709 */
@@ -720,7 +720,7 @@ public String toSplitString() {
720720 * The format used is ISO 8601-like, [<em>message</em> ]<em>hours</em>:<em>minutes</em>:<em>seconds</em>.<em>milliseconds</em>.
721721 * </p>
722722 *
723- * @return the time as a String
723+ * @return the time as a String.
724724 * @since 3.10 Returns the prefix {@code "message "} if the message is set.
725725 */
726726 @ Override
0 commit comments