grahan — the open-source sky engine
    Preparing search index...

    Interface MuhurtaRules

    interface MuhurtaRules {
        allowedNakshatras?: readonly number[];
        allowedTithis?: readonly number[];
        allowedVaars?: readonly number[];
        allowedYogas?: readonly number[];
        avoidRahuKaal?: boolean;
        daylightOnly?: boolean;
    }
    Index

    Properties

    allowedNakshatras?: readonly number[]

    Accepted nakshatra indices 0–26, unrestricted when omitted.

    allowedTithis?: readonly number[]

    Accepted tithi indices 0–29, unrestricted when omitted.

    allowedVaars?: readonly number[]

    Accepted vaar indices (0 = Sunday), unrestricted when omitted.

    allowedYogas?: readonly number[]

    Accepted yoga indices 0–26, unrestricted when omitted.

    avoidRahuKaal?: boolean

    Exclude the day's Rahu Kaal. Default true.

    daylightOnly?: boolean

    Only accept instants between sunrise and sunset. Default true.