gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTimeZone bad OS_API_VERSION macro


From: Luboš Doležel
Subject: NSTimeZone bad OS_API_VERSION macro
Date: Tue, 26 Mar 2013 23:13:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

Hi,

GNUstep's NSTimeZone.h surrounds a group of methods including "secondsFromGMTForDate:" with

#if     OS_API_VERSION(GS_API_MACOSX, GS_API_NONE)

This makes these methods invisible (note GS_API_NONE). I think it should say GS_API_LATEST.
They are implemented in Base, so I suppose hiding them wasn't intentional.

Then there is a comment "Not implemented" above daylightSavingTimeOffsetForDate, but this method is actually implemented.

nextDaylightSavingTimeTransitionAfterDate is not implemented, so the comment is correct in this case, but I'll fix that soon ;-)

--
Luboš Doležel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]