mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Add 10.6 class method dateWithTimeInterval:sinceDate:
Patch by Marcian Lytwyn <marcian.lytwyn@advcsi.com> git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37230 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cf6cacf452
commit
bc968c5a9f
3 changed files with 17 additions and 0 deletions
|
@ -112,6 +112,7 @@ GS_EXPORT const NSTimeInterval NSTimeIntervalSince1970;
|
|||
* that of the receiver by the specified interval.
|
||||
*/
|
||||
- (id) dateByAddingTimeInterval: (NSTimeInterval)ti;
|
||||
+ (id) dateWithTimeInterval: (NSTimeInterval)seconds sinceDate: (NSDate*)date;
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue