All files / src/calendars UaqCalendar.ts

100% Statements 20/20
100% Branches 1/1
100% Functions 1/1
100% Lines 20/20

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 211x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 2x 2x 1x  
import { getCalendar } from 'hijri-core';
import { HijriCalendar } from './HijriCalendar';
 
/**
 * Temporal calendar implementation for the Umm al-Qura calendar.
 *
 * Umm al-Qura is the official calendar of Saudi Arabia, maintained by the
 * King Abdulaziz City for Science and Technology (KACST). It is the most
 * widely used Hijri calendar standard for civil and religious purposes across
 * the Muslim world. Month boundaries are determined by pre-calculated tables
 * rather than real-time moon sighting.
 *
 * Calendar engine: hijri-core UAQ (table-driven, covers 1318-1500 AH).
 * Calendar ID: "hijri-uaq"
 */
export class UaqCalendar extends HijriCalendar {
  constructor() {
    super(getCalendar('uaq'));
  }
}