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

    Interface PanchangAtSunrise

    interface PanchangAtSunrise {
        daylight: "always-up" | "always-down" | "normal";
        karana: ElementSpan<Karana>[];
        moonPhase: MoonPhase;
        nakshatra: ElementSpan<Nakshatra>[];
        rahuKaal: RahuKaalWindow | null;
        sunrise: Date | null;
        sunset: Date | null;
        tithi: ElementSpan<Tithi>[];
        vaar: Vaar;
        window: { end: Date; start: Date };
        yoga: ElementSpan<Yoga>[];
    }
    Index

    Properties

    daylight: "always-up" | "always-down" | "normal"

    'normal' days have a sunrise; polar days/nights do not (see window).

    karana: ElementSpan<Karana>[]
    moonPhase: MoonPhase

    Moon phase at the window start.

    nakshatra: ElementSpan<Nakshatra>[]
    rahuKaal: RahuKaalWindow | null
    sunrise: Date | null
    sunset: Date | null
    tithi: ElementSpan<Tithi>[]

    Ordered spans; [0] is the sunrise element — the day's label.

    vaar: Vaar

    Weekday of the sunrise-to-sunrise vedic day.

    window: { end: Date; start: Date }

    The listing window. Normal days: this date's sunrise to the next date's sunrise (or +24 h if the next date has none). Polar days/nights: local midnight to the next local midnight.

    yoga: ElementSpan<Yoga>[]