PakDataKit - v2.2.0
    Preparing search index...

    Interface HolidayOptions

    Options for getPakistanHolidays.

    interface HolidayOptions {
        includeChristianHolidays?: boolean;
        announced?: Partial<Record<IslamicHolidayId, string[]>>;
        hijriOffset?: number;
    }
    Index
    includeChristianHolidays?: boolean

    Include 26 December, a holiday for Christian employees only. Defaults to false.

    announced?: Partial<Record<IslamicHolidayId, string[]>>

    Observed or announced dates (YYYY-MM-DD) for Islamic holidays, used instead of the dataset or estimate. Use this to apply a new moon-sighting announcement before the library is updated. An empty list removes that holiday for the year.

    hijriOffset?: number

    Day offset applied to estimated Islamic dates. Defaults to 0.