mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Date/time fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14593 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bbaa2c7d8b
commit
114d8ffc8e
4 changed files with 292 additions and 129 deletions
|
@ -1311,6 +1311,12 @@ static NSMapTable *absolutes = 0;
|
|||
return [self secondsFromGMTForDate: [NSDate date]];
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number of seconds by which the receiver differs
|
||||
* from Greenwich Mean Time at the date when.<br />
|
||||
* If the time zone uses dayl;ight savings time, the returned value
|
||||
* will vary at different times of year.
|
||||
*/
|
||||
- (int) secondsFromGMTForDate: (NSDate*)when
|
||||
{
|
||||
NSTimeZoneDetail *detail;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue