Added simple methods for comparing TimeValues and dates.