|
GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
#include <grass/datetime.h>
Go to the source code of this file.
Functions | |
| int | datetime_get_increment_type (const DateTime *dt, int *mode, int *from, int *to, int *fracsec) |
| This returns the components of a type (mode/from/to/fracsec) that can be used to construct a DateTime object that can be used to increment the 'src'. Also see datetime_set_increment_type(). returns: 0 dt is legal !=0 why dt is illegal Implemented as follows: More... | |
| int | datetime_set_increment_type (const DateTime *src, DateTime *incr) |
| src must be legal This is a convenience routine which is implemented as follows: More... | |
| int datetime_get_increment_type | ( | const DateTime * | dt, |
| int * | mode, | ||
| int * | from, | ||
| int * | to, | ||
| int * | fracsec | ||
| ) |
This returns the components of a type (mode/from/to/fracsec) that can be used to construct a DateTime object that can be used to increment the 'src'. Also see datetime_set_increment_type(). returns: 0 dt is legal !=0 why dt is illegal Implemented as follows:
| dt | |
| mode | |
| from | |
| to | |
| fracsec |
src must be legal This is a convenience routine which is implemented as follows:
Timezone Timezones are represented in minutes from GMT in the range [-720,+780]. For a DateTime to have a timezone, it must be of type ABSOLUTE, and "to" must be in {MINUTE,SECOND}.
| src | |
| incr |