GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
between.c
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1995. Bill Brown <brown@gis.uiuc.edu> & Michael Shapiro
3
*
4
* This program is free software under the GPL (>=v2)
5
* Read the file GPL.TXT coming with GRASS for details.
6
*/
7
8
int
datetime_is_between
(
int
x
,
int
a,
int
b
)
9
{
10
if
(a <= b)
11
return
a <= x && x <=
b
;
12
else
13
return
b <= x && x <= a;
14
}
x
#define x
datetime_is_between
int datetime_is_between(int x, int a, int b)
Definition:
between.c:8
b
double b
Definition:
r_raster.c:39
lib
datetime
between.c
Generated on Tue Feb 14 2023 05:55:58 for GRASS GIS 8 Programmer's Manual by
1.8.13