hunk.code_window:   })
     it('does not mutate original date', function() {
       var date = new Date('2014-09-02T11:55:00')
       startOfHour(date)
  
hunk.labels: keep keep keep replace keep
hunk.after_edit:     var date = new Date(2014, 8 /* Sep */, 2, 11, 55)
  
hunk.file_path: src/__tests__/start_of_hour_test.js
hunk.type: replace
file: var getDayOfYear = require('../get_day_of_year')
  
  describe('getDayOfYear', function() {
    it('returns day of year of given date', function() {
      var result = getDayOfYear(new Date(2014, 6 /* Jul */, 2))
      expect(result).to.be.equal(183)
    })
  
    it('accepts string', function() {
      var result = getDayOfYear(new Date(2014, 0 /* Jan */, 2).toISOString())
      expect(result).to.be.equal(2)
    })
  
    it('accepts timestamp', function() {
      var result = getDayOfYear(new Date(2014, 0 /* Jan */, 2).getTime())
      expect(result).to.be.equal(2)
    })
  })
  
  