GRASS Programmer's Manual
6.4.2(2012)
|
00001 /* 00002 * Copyright (C) 1995. Bill Brown <brown@gis.uiuc.edu> & Michael Shapiro 00003 * 00004 * This program is free software under the GPL (>=v2) 00005 * Read the file GPL.TXT coming with GRASS for details. 00006 */ 00007 #include <string.h> 00008 #include <grass/datetime.h> 00009 00010 00023 int datetime_is_same(const DateTime * src, const DateTime * dst) 00024 { 00025 /* WARNING: doesn't allow for padding */ 00026 return memcmp(src, dst, sizeof(DateTime)) == 0; 00027 }