This is the system I currently have:
\defbibcheck{yr2016}{
\iffieldint{year}
{\ifnumequal{\thefield{year}}{2016}
{\skipentry}
{}}
{\skipentry}
}
This should exclude anything except entries in 2016. I then use it with:
\printbibliography[check=yr2016]
I want to know if it is possible to make variables for the ranges of years I want to list, so I can change the ranges when needed. I wanted to do something in the preamble like:
\defbibcheck{{year-init},{year-final}}{
\iffieldint{year}
{\ifnumrange{\thefield{year}}{{year-init},{year-final}}
{\skipentry}
{}}
{\skipentry}
}
And then in the document have:
\printbibliography[check={year-init}={2012},{year-final}={2015}]
So if I want to change my range to:
\printbibliography[check={year-init}={2012},{year-final}={2018}]
I wouldn't have to change or update the code in the preamble.
