Add startOfYear() and endOfYear() functions