adjust method

LocalTime adjust(
  1. LocalTime adjuster(
    1. LocalTime
    )
)

Returns this time, with the given adjuster applied to it.

If the adjuster attempts to construct an invalid time, any exception thrown by that construction attempt will be propagated through this method.

  • adjuster: The adjuster to apply.

Returns: The adjusted time.

Implementation

LocalTime adjust(LocalTime Function(LocalTime) adjuster) =>
    Preconditions.checkNotNull(adjuster, 'adjuster')(this);