Move declarations for timespan2tm() and tm2timespan() from dt.c to here.
This commit is contained in:
parent
5266471a2f
commit
5af05c0a59
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue