mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
([NSDate -timeIntervalSince1970]): Remove duplicate method definition.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2320 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
32e5351974
commit
944b3d3ccf
1 changed files with 1 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
/* Implementation for NSDate for GNUStep
|
/* Implementation for NSDate for GNUStep
|
||||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Written by: Jeremy Bettis <jeremy@hksys.com>
|
Written by: Jeremy Bettis <jeremy@hksys.com>
|
||||||
Rewritten by: Scott Christley <scottc@net-community.com>
|
Rewritten by: Scott Christley <scottc@net-community.com>
|
||||||
|
@ -261,11 +261,6 @@
|
||||||
return seconds_since_ref - UNIX_REFERENCE_INTERVAL;
|
return seconds_since_ref - UNIX_REFERENCE_INTERVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSTimeInterval) timeIntervalSince1970
|
|
||||||
{
|
|
||||||
return seconds_since_ref - UNIX_REFERENCE_INTERVAL;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (NSTimeInterval) timeIntervalSinceDate: (NSDate*)otherDate
|
- (NSTimeInterval) timeIntervalSinceDate: (NSDate*)otherDate
|
||||||
{
|
{
|
||||||
return seconds_since_ref - [otherDate timeIntervalSinceReferenceDate];
|
return seconds_since_ref - [otherDate timeIntervalSinceReferenceDate];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue