GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-f63024f571
|
#include <grass/datetime.h>
Go to the source code of this file.
Functions | |
int | datetime_check_timezone (const DateTime *dt, int minutes) |
returns 0 on success More... | |
int | datetime_get_timezone (const DateTime *dt, int *minutes) |
returns 0 on success More... | |
int | datetime_set_timezone (DateTime *dt, int minutes) |
returns 0 on success More... | |
int | datetime_unset_timezone (DateTime *dt) |
unsets timezone in 'dt' returns 0 More... | |
int | datetime_is_valid_timezone (int minutes) |
Returns: 1 OK: -720 <= minutes <= 780 (720 = 12 hours; 780 = 13 hours) 0 NOT OK. More... | |
int datetime_check_timezone | ( | const DateTime * | dt, |
int | minutes | ||
) |
returns 0 on success
dt | |
minutes |
Definition at line 24 of file tz1.c.
References datetime_error(), and datetime_is_absolute().
Referenced by datetime_get_timezone(), and datetime_set_timezone().
int datetime_get_timezone | ( | const DateTime * | dt, |
int * | minutes | ||
) |
returns 0 on success
dt | |
minutes |
Definition at line 46 of file tz1.c.
References datetime_check_timezone(), and DateTime::tz.
Referenced by datetime_change_timezone().
int datetime_is_valid_timezone | ( | int | minutes | ) |
Returns: 1 OK: -720 <= minutes <= 780 (720 = 12 hours; 780 = 13 hours) 0 NOT OK.
minutes |
Definition at line 106 of file tz1.c.
Referenced by datetime_change_timezone().
int datetime_set_timezone | ( | DateTime * | dt, |
int | minutes | ||
) |
returns 0 on success
dt | |
minutes |
Definition at line 67 of file tz1.c.
References datetime_check_timezone(), and DateTime::tz.
int datetime_unset_timezone | ( | DateTime * | dt | ) |
unsets timezone in 'dt' returns 0
dt |
Definition at line 88 of file tz1.c.
References DateTime::tz.