epi_year¶
Syntax¶
Description¶
Returns the 4-digit epidemiological year, the start and end of which correspond to the start and end of the first and last epidemiological weeks of the year.
Examples¶
If the current simulation day is Friday January 1st, 2021, then
assigns 2020 to some numeric variable x, as it is still the last epidemiological week of the epidemiological year of 2020.