Both ends are included
Set it to 2000 and 2000 and it draws 2000 — a range of one is a range, not an error. Put the larger number first and it swaps them rather than refusing.
Every year in the range is equally likely. There is no weighting toward recent years, which a generator built from real events would have.