UNPKG

section-2

Version:

A library for calculating unsocial hours entitlements under the NHS agenda for change's section 2

5 lines 465 B
export declare const calculateBreak: (shiftLengthMs: number, break_override?: number | null) => number; export declare const calculateShiftLength: (from: Date | string | number, to: Date | string | number) => number; export declare const calculateShiftHours: (from: Date | string | number, to: Date | string | number, breakOverrideMs?: number | null) => number; export declare const isBankHoliday: (date: Date) => boolean; //# sourceMappingURL=shiftLengths.d.ts.map