12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- #ifndef _MACTIME_H_
- #define _MACTIME_H_
- #include <time.h>
- #include <mactypes.h>
-
- #define MACOS_TO_UNIX(x) (x) -= (unsigned long)MacOS_2_Unix
- #define UNIX_TO_MACOS(x) (x) += (unsigned long)MacOS_2_Unix
- extern const unsigned long MacOS_2_Unix;
- time_t MacFtime2UnixFtime(unsigned long macftime);
- unsigned long UnixFtime2MacFtime(time_t unxftime);
- time_t AdjustForTZmoveMac(unsigned long macloctim, long s_gmtoffs);
- Boolean GetGMToffsetMac(unsigned long macftime, long *UTCoffset);
- #endif
|