creates a holiday falling on a fixed day each year, with an optional weight and period of validity, like Christmas which is always celebrated on December 25th.
References
More information on calendar correction in JDemetra+ online documentation: https://jdemetra-new-documentation.netlify.app/a-calendar-correction
Examples
day <- fixed_day(7, 21, .9)
day # July 21st, with weight=0.9, on the whole sample
#> Fixed day: month=7, day=21 , weight=0.9
day <- fixed_day(12, 25, .5, validity = list(start = "2010-01-01"))
day # December 25th, with weight=0.5, from January 2010
#> Fixed day: month=12, day=25 , weight=0.5 , from=2010-01-01
day <- fixed_day(12, 25, .5, validity = list(start = "1968-02-01", end = "2010-01-01"))
day # December 25th, with weight=0.9, from February 1968 until January 2010
#> Fixed day: month=12, day=25 , weight=0.5 , from=1968-02-01 , to=2010-01-01