The Icelandic calendar, still in use in Iceland, divides times into
7-day weeks and two seasons: Summer and Winter. Summer starts on the first
Thursday after April 18th, and Winter 180 days earlier. Ordinary years have
52 weeks with leap years having 53 weeks. The leap week occurs every 5-7
years in midsummer.
Usage
icelandic_date(
year = integer(),
season = integer(),
week = integer(),
weekday = integer()
)
as_icelandic(date)
Value
An icelandic vector object
Arguments
year
A numeric vector of years
season
A numeric vector of seasons (1 = Summer, 2 = Winter)
week
A numeric vector of weeks within the season (1 to 28)
weekday
A number vector containing day of week (0 = Sunday, 1 = Monday,
..., 6 = Saturday))