class Time

def all_year

Returns a Range representing the whole year of the current time.
def all_year
  beginning_of_year..end_of_year
end