GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <stdlib.h>
#include <grass/datetime.h>
#include "math.h"
Go to the source code of this file.
Functions | |
int | datetime_difference (const DateTime *a, const DateTime *b, DateTime *result) |
This performs the formula: result = a - b;. More... | |
int datetime_difference | ( | const DateTime * | a, |
const DateTime * | b, | ||
DateTime * | result | ||
) |
This performs the formula: result = a - b;.
a | |
b | |
result |
Definition at line 81 of file diff.c.
References datetime_change_from_to(), datetime_change_to_utc(), datetime_copy(), datetime_error(), datetime_get_timezone(), datetime_in_interval_year_month(), datetime_increment(), datetime_invert_sign(), datetime_set_increment_type(), and datetime_set_type().
Referenced by datetime_get_local_timezone().