diff options
author | Thomas G. Lockhart <lockhart@fourpalms.org> | 1997-12-16 15:55:17 +0000 |
---|---|---|
committer | Thomas G. Lockhart <lockhart@fourpalms.org> | 1997-12-16 15:55:17 +0000 |
commit | a58825a4675626527a6fe944f18197518a6553fd (patch) | |
tree | 1ba9c6df0ebc3342c7729df733776689e8887c17 /src/include/utils/dt.h | |
parent | 3551ee097f104466a0a9e5a10aa97dad3092dbb1 (diff) |
Add declarations for text, bpchar, and varchar length functions.
Remove declarations in builtins.h duplicated in dt.h.
Change a few return type declarations to use "type *"
rather than "struct ...".
Diffstat (limited to 'src/include/utils/dt.h')
-rw-r--r-- | src/include/utils/dt.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/utils/dt.h b/src/include/utils/dt.h index 4cf0e6ce133..6843c617574 100644 --- a/src/include/utils/dt.h +++ b/src/include/utils/dt.h @@ -8,7 +8,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: dt.h,v 1.22 1997/11/17 16:39:58 thomas Exp $ + * $Id: dt.h,v 1.23 1997/12/16 15:55:17 thomas Exp $ * *------------------------------------------------------------------------- */ @@ -283,6 +283,7 @@ extern bool timespan_lt(TimeSpan *span1, TimeSpan *span2); extern bool timespan_le(TimeSpan *span1, TimeSpan *span2); extern bool timespan_ge(TimeSpan *span1, TimeSpan *span2); extern bool timespan_gt(TimeSpan *span1, TimeSpan *span2); +extern bool timespan_finite(TimeSpan *span); extern int timespan_cmp(TimeSpan *span1, TimeSpan *span2); extern TimeSpan *timespan_smaller(TimeSpan *span1, TimeSpan *span2); extern TimeSpan *timespan_larger(TimeSpan *span1, TimeSpan *span2); @@ -309,6 +310,7 @@ extern TimeSpan *datetime_age(DateTime *dt1, DateTime *dt2); extern void GetCurrentTime(struct tm * tm); extern DateTime SetDateTime(DateTime datetime); extern int tm2datetime(struct tm * tm, double fsec, int *tzp, DateTime *dt); +extern int datetime2tm(DateTime dt, int *tzp, struct tm * tm, double *fsec, char **tzn); extern void j2date(int jd, int *year, int *month, int *day); extern int date2j(int year, int month, int day); @@ -335,4 +337,4 @@ extern int EncodeTimeOnly(struct tm * tm, double fsec, int style, char *str); extern int EncodeDateTime(struct tm * tm, double fsec, int *tzp, char **tzn, int style, char *str); extern int EncodeTimeSpan(struct tm * tm, double fsec, int style, char *str); -#endif /* DT_H */ +#endif /* DT_H */ |