Function: resolveAllowanceWindow()
resolveAllowanceWindow(
now,period,anchor):object
Defined in: javascript/src/allowance.ts:106
Resolve the free-allowance reset window containing now for the given
period mode, anchored (where applicable) at anchor (typically the
plan-assignment timestamp).
start/end are UTC-midnight Dates at DATE granularity; end is
EXCLUSIVE (the window is [start, end)).
Parameters
now
Date
period
anchor
Date | null
Returns
object
end
end:
Date
start
start:
Date