I am trying to determine if the swift Calendar struct is thread safe. I found that the NSCalendar class is "generally considered to be thread safe". But I can not find specific information for the Calendar struct.
My goal is to extend the Date struct with a Calendar for use with extension methods such as yesterday, tomorrow, etc. I don't want to create a new Calendar instance with each call.