@welldot/utils

getConditionDeadlines

Generates the deadlines of a permit condition (.well v2.3, normative): deadline n = anchor + n × recurrence, always from the anchor. Generation stops at occurrences, after lastdue, after the permit's effective end or, with no end, after horizon. A suspended or revoked permit generates nothing after

getConditionDeadlines(well, permit, condition, options?): string

Generates the deadlines of a permit condition (.well v2.3, normative): deadline n = anchor + n × recurrence, always from the anchor. Generation stops at occurrences, after last_due, after the permit's effective end or, with no end, after horizon. A suspended or revoked permit generates nothing after today; a requested, denied or withdrawn one generates nothing. Undated conditions yield [].

Parameters

well

Well

permit

Permit

condition

PermitCondition

options?

ConditionDeadlineOptions = {}

Returns

string