Skip to content
Snippets Groups Projects
Commit 5af05c0a authored by Thomas G. Lockhart's avatar Thomas G. Lockhart
Browse files

Move declarations for timespan2tm() and tm2timespan() from dt.c to here.

parent 5266471a
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: dt.h,v 1.23 1997/12/16 15:55:17 thomas Exp $
* $Id: dt.h,v 1.24 1997/12/17 23:19:28 thomas Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -291,6 +291,7 @@ extern TimeSpan *timespan_larger(TimeSpan *span1, TimeSpan *span2);
extern text *datetime_text(DateTime *datetime);
extern DateTime *text_datetime(text *str);
extern text *timespan_text(TimeSpan *timespan);
extern TimeSpan *text_timespan(text *str);
extern DateTime *datetime_trunc(text *units, DateTime *datetime);
extern TimeSpan *timespan_trunc(text *units, TimeSpan *timespan);
extern float64 datetime_part(text *units, DateTime *datetime);
......@@ -311,6 +312,8 @@ 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 int timespan2tm(TimeSpan span, struct tm * tm, float8 *fsec);
extern int tm2timespan(struct tm * tm, double fsec, TimeSpan *span);
extern void j2date(int jd, int *year, int *month, int *day);
extern int date2j(int year, int month, int day);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment