Skip to main content
function maxHoursPerWeek(hours, opts?): RuleEntry<"max-hours-week", object & RuleOptions>;
Limits hours per scheduling week.

Parameters

hours
number
required

Returns

RuleEntry<"max-hours-week", object & RuleOptions> Use this when the requirements or operating constraints explicitly impose a weekly hours cap. Do not infer it just from a stated working pattern such as “4-day week” unless the requirements also make the hour limit explicit.