|
ocssw
1.0
|
00001 /* 00002 00003 $Header: /app/shared/RCS/irix-5.2/seawifsd/src/hdfio/Shared.V4.4/L012_Util/util/usr/utiltime.h,v 4.11 1995/12/07 17:23:43 seawifsd Exp seawifsd $ 00004 $Log: utiltime.h,v $ 00005 Revision 4.11 1995/12/07 17:23:43 seawifsd 00006 changed JULIAN_DAY_COUNT_OFFSET to match the value from OSC L0 data. 00007 00008 Revision 4.10 1995/01/17 19:59:10 seawifsd 00009 Jan. 17, 1994, V4.10 00010 00011 Revision 4.1 1995/01/17 14:15:22 seawifsd 00012 Jan. 9, 1994, 4.0 00013 00014 Revision 3.3 1994/11/08 18:47:23 seawifsd 00015 Nov. 8, 1994, 3.3a3 00016 00017 Revision 3.3 1994/11/08 15:05:19 seawifsd 00018 Nov. 8, 1994, 3.3a2 00019 00020 Revision 1.1.1.2 1994/10/04 15:33:05 frank 00021 made sure that macros TRUE and FALSE are properly defined. 00022 00023 Revision 1.1.1.1 1994/05/23 14:13:50 frank 00024 deleted function declarations and add the include "utiltime_proto.h" 00025 to make sure both ANSI and non-ANSI will work. 00026 00027 Revision 1.2 1994/05/10 18:54:06 seawifst 00028 May 6, 1994 version 1.2 00029 00030 Revision 1.1 1994/04/19 13:52:27 seawifst 00031 Initial revision 00032 00033 00034 */ 00035 00036 00037 #ifndef UTILTIME_H_ 00038 #define UTILTIME_H_ 00039 00040 #ifndef __TIME_H__ 00041 #define __TIME_H__ 00042 #include <time.h> 00043 #endif /* __TIME_H__ */ 00044 00045 #ifndef bool 00046 #define bool int 00047 #endif 00048 #if !defined(TRUE) || ((TRUE) != 1) 00049 #define TRUE (1) 00050 #endif 00051 #if !defined(FALSE) || ((FALSE) != 0) 00052 #define FALSE (0) 00053 #endif 00054 00055 /* OSC's format use 2449000.5 as the offset because UTC starts at noon */ 00056 /* instead of midnight. The adjustment of this 0.5 is implicit in the */ 00057 /* conversion routine. */ 00058 #define JULIAN_DAY_COUNT_OFFSET 2449001 00059 #define JULIAN_DAY_1900_01_00 2415020 00060 /* 00061 * function prototype 00062 */ 00063 #include "usrhdr.h" 00064 #include "usrmac.h" 00065 #include "utiltime_proto.h" 00066 #endif /* UTILTIME_H_ */
1.7.6.1