GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
|
#include <grass/datetime.h>
Go to the source code of this file.
Functions | |
int | datetime_is_positive (const DateTime *dt) |
Returns: 1 if the Datetime is positive 0 otherwise. More... | |
int | datetime_is_negative (const DateTime *dt) |
Returns: 1 if the DateTime is negative 0 otherwise. More... | |
void | datetime_set_positive (DateTime *dt) |
Makes the DateTime positive. (A.D. for ABSOLUTE DateTimes) More... | |
void | datetime_set_negative (DateTime *dt) |
Makes the DateTime negative. (B.C. for ABSOLUTE DateTimes) More... | |
void | datetime_invert_sign (DateTime *dt) |
void datetime_invert_sign | ( | DateTime * | dt | ) |
dt |
Definition at line 80 of file sign.c.
References DateTime::positive.
Referenced by datetime_change_timezone().
int datetime_is_negative | ( | const DateTime * | dt | ) |
Returns: 1 if the DateTime is negative 0 otherwise.
dt |
Definition at line 37 of file sign.c.
References DateTime::positive.
int datetime_is_positive | ( | const DateTime * | dt | ) |
Returns: 1 if the Datetime is positive 0 otherwise.
dt |
Definition at line 21 of file sign.c.
References DateTime::positive.
void datetime_set_negative | ( | DateTime * | dt | ) |
Makes the DateTime negative. (B.C. for ABSOLUTE DateTimes)
dt |
Definition at line 67 of file sign.c.
References DateTime::positive.
void datetime_set_positive | ( | DateTime * | dt | ) |
Makes the DateTime positive. (A.D. for ABSOLUTE DateTimes)
dt |
Definition at line 52 of file sign.c.
References DateTime::positive.