fix min & max year

https://code.google.com/p/android/issues/detail?id=13050