GRASS 8 Programmer's Manual
8.5.0dev(2025)-e5e60895a1
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
int
datetime_is_between
(
int
x
,
int
a,
int
b
)
8
{
9
if
(a <=
b
)
10
return
a <=
x
&&
x
<=
b
;
11
else
12
return
b
<=
x
&&
x
<= a;
13
}
datetime_is_between
int datetime_is_between(int x, int a, int b)
Definition:
between.c:7
b
double b
Definition:
r_raster.c:39
x
#define x
lib
datetime
between.c
Generated on Mon Sep 1 2025 07:03:47 for GRASS 8 Programmer's Manual by
1.9.1