Synchronized code when creating NSDateFormatter instances.