doesn't work

Number:rdar://36336162 Date Originated:January 6 2018, 3:16 PM
Status:DUPLICATE OF 28388677 OPEN Resolved:
Product:iOS + SDK Product Version:11.2
Classification:Serious Bug Reproducible:Always

If I set year to a value smaller than the passed in date's year the result is nil, if bigger the date is reset to Jan 1 and time to 12 AM.

I cannot make sense of it. I think it is buggy. I didn't try other usages.



Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!