public interface TimeAdjuster
This interface provides a common way to access many different time adjustments. These could be simple, such as simply setting the hour field, or complex, such as adjusting the time to the end of the working day.
TimeAdjuster is an interface and must be implemented with care to ensure other classes in the framework operate correctly. All instantiable implementations must be final, immutable and thread-safe.
Modifier and Type | Method and Description |
---|---|
LocalTime |
adjustTime(LocalTime time)
Adjusts the input time returning the adjusted time.
|
Copyright © 2014. All rights reserved.