What does timer.align do and what is the difference between align and
offset?  The comment says: "Aligns the target timestamp used by {@link
#setRelative()} to the next boundary of {@code period}".

For example, if we say
`timer.align(Duration.standardMinutes(1)).setRelative()`,  does the timer
set to the next minutes like from 10:35:32 to 10:36:00? (HH::MM:SS) Also,
does align cause the timer to fire off at every edge or just once? If at
every edge, then how can we cancel the timer?

Thanks
Eric

Reply via email to