/usr/lib/grass74/include/grass/datetime.h is in grass-dev 7.4.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #ifndef GRASS_DATETIME_H
#define GRASS_DATETIME_H
#define DATETIME_ABSOLUTE 1
#define DATETIME_RELATIVE 2
/* ranges - the values must start at 101 and increase
* to make sure they do not interfere with the spatial
* units in gis.h */
#define DATETIME_YEAR 101
#define DATETIME_MONTH 102
#define DATETIME_DAY 103
#define DATETIME_HOUR 104
#define DATETIME_MINUTE 105
#define DATETIME_SECOND 106
typedef struct DateTime
{
int mode; /* absolute or relative */
int from, to;
int fracsec; /* #decimal place in printed seconds */
int year, month, day;
int hour, minute;
double second;
int positive;
int tz; /* timezone - minutes from UTC */
} DateTime;
/* prototype of functions */
#include <grass/defs/datetime.h>
#endif
|