Skip to main content

Interface: BiMonthlyPeriod

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

A single bi-monthly pay period: one of the two halves of a calendar month. start/end are the inclusive day boundaries; year/month/half identify the period independently of those dates. Construct via getPeriod or periodForDate so the invariants hold.

Properties

end

readonly end: CalendarDate

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

Last day of the period (the 15th for half 1, the month's last day for half 2).


half

readonly half: PeriodHalf

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

Which half of the month: 1 (1st-15th) or 2 (16th-end).


month

readonly month: number

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

Calendar month, 1-12, the period belongs to.


start

readonly start: CalendarDate

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

First day of the period (the 1st for half 1, the 16th for half 2).


year

readonly year: number

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

Calendar year the period belongs to.