Skip to main content

Interface: ClippedWeek

Defined in: src/lib/dates/index.ts:399

A (possibly partial) week within a period, clipped to the period boundaries. Produced by clippedWeeksInPeriod. The first and last weeks of a period may be partial.

Properties

days

readonly days: number

Defined in: src/lib/dates/index.ts:405

Inclusive day count of this clipped week (1-7).


end

readonly end: CalendarDate

Defined in: src/lib/dates/index.ts:403

Last day of this clipped week (the natural week end, or the period end if the week is clipped).


start

readonly start: CalendarDate

Defined in: src/lib/dates/index.ts:401

First day of this clipped week (the period start, or a week boundary).