Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
5af05c0a
Commit
5af05c0a
authored
Dec 17, 1997
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move declarations for timespan2tm() and tm2timespan() from dt.c to here.
parent
5266471a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
src/include/utils/dt.h
src/include/utils/dt.h
+12
-9
No files found.
src/include/utils/dt.h
View file @
5af05c0a
...
...
@@ -8,7 +8,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: dt.h,v 1.2
3 1997/12/16 15:55:17
thomas Exp $
* $Id: dt.h,v 1.2
4 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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment