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:
Richard Frith-Macdonald 2002-09-28 09:30:38 +00:00
parent bbaa2c7d8b
commit 114d8ffc8e
4 changed files with 292 additions and 129 deletions

View file

@ -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;