mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Tidy to avoid some external symbols
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22631 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0060ce88ce
commit
32bd52f23c
5 changed files with 66 additions and 80 deletions
|
@ -24,6 +24,19 @@
|
|||
#ifndef __GSPrivate_h_
|
||||
#define __GSPrivate_h_
|
||||
|
||||
/* Absolute Gregorian date for NSDate reference date Jan 01 2001
|
||||
*
|
||||
* N = 1; // day of month
|
||||
* N = N + 0; // days in prior months for year
|
||||
* N = N + // days this year
|
||||
* + 365 * (year - 1) // days in previous years ignoring leap days
|
||||
* + (year - 1)/4 // Julian leap days before this year...
|
||||
* - (year - 1)/100 // ...minus prior century years...
|
||||
* + (year - 1)/400 // ...plus prior years divisible by 400
|
||||
*/
|
||||
#define GREGORIAN_REFERENCE 730486
|
||||
|
||||
|
||||
#include "GNUstepBase/GSObjCRuntime.h"
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue