Generate dates from a year to a year
static List<int> fromTo(int from, int to) { List<int> years = []; for (int i = from; i < to; i++) { years.insert(0, i); } return years; }