Learn R Programming

calcal (version 1.0.0)

islamic_new_year: Islamic holidays

Description

Functions to return Gregorian dates for various Islamic holidays. Specific dates can vary slightly based on moon sightings in different regions.

Usage

islamic_new_year(year)

mawlid(year)

ramadan(year)

eid_al_fitr(year)

eid_al_adha(year)

Value

A vector of dates on the Gregorian calendar

Arguments

year

A numeric vector of Gregorian years

See Also

islamic_date

Examples

Run this code
tibble::tibble(
  year = 2025:2029,
  `New year` = islamic_new_year(year),
  Mawlid = mawlid(year),
  Ramadan = ramadan(year),
  `Eid al-Fitr` = eid_al_fitr(year),
  `Eid al-Adha` = eid_al_adha(year)
)
ramadan(2030)

Run the code above in your browser using DataLab