Fix System.Core build.
Remove duplicated code in System.DateTime.