GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
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
}
b
float b
Definition:
named_colr.c:8
datetime_is_between
int datetime_is_between(int x, int a, int b)
Definition:
between.c:8
lib
datetime
between.c
Generated on Sat Jan 2 2016 01:46:46 for GRASS Programmer's Manual by
1.8.5