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
readonlyend: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
readonlyhalf:PeriodHalf
Defined in: src/lib/dates/index.ts:259
Which half of the month: 1 (1st-15th) or 2 (16th-end).
month
readonlymonth:number
Defined in: src/lib/dates/index.ts:257
Calendar month, 1-12, the period belongs to.
start
readonlystart: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
readonlyyear:number
Defined in: src/lib/dates/index.ts:255
Calendar year the period belongs to.