Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FSGetCatalogInfo returns mod dates in a deprecated data type: UTCDateTime




On Jan 17, 2007, at 6:47 PM, João Varela wrote:

Hi Chris, Larry

I knew about converting UTCDateTime to CFAbsoluteTime; that was not the problem, although I do appreciate the fact that you replied to my question. What I asked was a way to get rid of UTCDateTime data type completely by using a more modern API than FSGetCatalogInfo,

If there were it would be in Files.h. The fact that there is nothing newer than FSGetCatalogInfo in Files.h and FSGetCatalogInfo isn't deprecated pretty much answers your question.


but I guess the "deafening silence" concerning my question means there is none at the moment. :) Therefore I was planning to use the APIs that Larry suggested, although it's good to know that you can do that manually if you wish. :) I could file a bug but I guess Apple is perfectly aware of that problem when they declared UTCDateTime deprecated in Tiger. The "deafening silence" is quite understandable. :)

It's not unusual for Apple to deprecate stuff before they have a complete set of replacements. When I see that something is deprecated, I will try to replace it as time permits if replacements are available or at least not write new code using the deprecated stuff. But if they haven't even given us a replacement, I don't worry about it.


Larry _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >FSGetCatalogInfo returns mod dates in a deprecated data type: UTCDateTime (From: João Varela <email@hidden>)
 >Re: FSGetCatalogInfo returns mod dates in a deprecated data type: UTCDateTime (From: Chris Newman <email@hidden>)
 >Re: FSGetCatalogInfo returns mod dates in a deprecated data type: UTCDateTime (From: Laurence Harris <email@hidden>)
 >Re: FSGetCatalogInfo returns mod dates in a deprecated data type: UTCDateTime (From: João Varela <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.