UNPKG

adhan-extended

Version:

High precision Islamic prayer time library (extended)

15 lines (14 loc) 470 B
import PrayerTimes from './PrayerTimes'; export declare enum MidnightMethod { SunsetToSunrise = "SunsetToSunrise", SunsetToFajr = "SunsetToFajr" } export declare class SunnahTimes { firstThirdOfTheNight: Date; middleOfTheNight: Date; lastThirdOfTheNight: Date; /** night duration in milliseconds */ nightDuration: number; constructor(prayerTimes: PrayerTimes, midnightMethod?: MidnightMethod); } export default SunnahTimes;