adjust

Adjusts this interval using the interval-specific DSL.

The current interval is passed as the lambda parameter for reference (e.g. to read its current bounds).

val aligned = interval adjust {
alignToFullDays()
expandBoth(1.hours)
}

Return

a new VerdandiInterval reflecting the adjustments.

Parameters

block

configuration applied within a VerdandiIntervalAdjustScope.