adhan-extended
Version:
High precision Islamic prayer time library (extended)
16 lines (15 loc) • 519 B
TypeScript
import type Coordinates from './Coordinates';
import SolarCoordinates from './SolarCoordinates';
export default class SolarTime {
observer: Coordinates;
solar: SolarCoordinates;
prevSolar: SolarCoordinates;
nextSolar: SolarCoordinates;
approxTransit: number;
transit: number;
sunrise: number;
sunset: number;
constructor(date: Date, coordinates: Coordinates);
hourAngle(angle: number, afterTransit: boolean): number;
afternoon(shadowLength: number): number;
}