Fix dateAtEndOfYear returns end day of current month

expect
 input: 2014-04-25
 output: 2014-12-31

actual 
 input: 2014-04-25
 output: 2014-12-30