Scan [from, to] and return the windows where every rule holds. Edges are quantized to stepMinutes, so treat them as ±step accurate.
[from, to]
stepMinutes
findMuhurta({ from, to, latitude: 27.7172, longitude: 85.324, timezone: 'Asia/Kathmandu', rules: { avoidRahuKaal: true, allowedVaars: [1, 3, 4, 5] },}); // → [{ start, end }, …] daylight windows outside Rahu Kaal Copy
findMuhurta({ from, to, latitude: 27.7172, longitude: 85.324, timezone: 'Asia/Kathmandu', rules: { avoidRahuKaal: true, allowedVaars: [1, 3, 4, 5] },}); // → [{ start, end }, …] daylight windows outside Rahu Kaal
Scan
[from, to]and return the windows where every rule holds. Edges are quantized tostepMinutes, so treat them as ±step accurate.