|
8 | 8 | *
|
9 | 9 | * Copyright (c) 1994, Regents of the University of California
|
10 | 10 | *
|
11 |
| - * $Id: dt.h,v 1.21 1997/09/08 21:54:55 momjian Exp $ |
| 11 | + * $Id: dt.h,v 1.22 1997/11/17 16:39:58 thomas Exp $ |
12 | 12 | *
|
13 | 13 | *-------------------------------------------------------------------------
|
14 | 14 | */
|
|
25 | 25 | *relative to an absolute time.
|
26 | 26 | *
|
27 | 27 | * Note that Postgres uses "time interval" to mean a bounded interval,
|
28 |
| - *consisting of a beginning and ending time, not a time span -tgl 97/03/20 |
| 28 | + *consisting of a beginning and ending time, not a time span -thomas 97/03/20 |
29 | 29 | */
|
30 | 30 |
|
31 | 31 | typedefdoubleDateTime;
|
@@ -126,7 +126,9 @@ typedef struct
|
126 | 126 | * At the moment, that means keep them within [-127,127].
|
127 | 127 | * These are also used for bit masks in DecodeDateDelta()
|
128 | 128 | *so actually restrict them to within [0,31] for now.
|
129 |
| - * - tgl 97/06/19 |
| 129 | + * - thomas 97/06/19 |
| 130 | + * Not all of these fields are used for masks in DecodeDateDelta |
| 131 | + * so allow some larger than 31. - thomas 1997-11-17 |
130 | 132 | */
|
131 | 133 |
|
132 | 134 | #defineDTK_NUMBER0
|
@@ -164,6 +166,7 @@ typedef struct
|
164 | 166 | #defineDTK_MILLISEC29
|
165 | 167 | #defineDTK_MICROSEC30
|
166 | 168 | #defineDTK_DOW31
|
| 169 | +#defineDTK_DOY32 |
167 | 170 |
|
168 | 171 | /*
|
169 | 172 | * Bit mask definitions for time parsing.
|
|