|
GRASS 8 Programmer's Manual
8.5.0dev(2025)-9d806b45d8
|
#include <grass/datetime.h>
Go to the source code of this file.
Functions | |
| int | datetime_is_leap_year (int year, int ad) |
| int | datetime_days_in_year (int year, int ad) |
| returns the number of days in 'year' More... | |
| int | datetime_days_in_month (int year, int month, int ad) |
| returns number of days in 'month' of a particular 'year' More... | |
| int datetime_days_in_month | ( | int | year, |
| int | month, | ||
| int | ad | ||
| ) |
returns number of days in 'month' of a particular 'year'
| month | |
| year | |
| ad |
Definition at line 58 of file datetime/misc.c.
References datetime_error(), and datetime_is_leap_year().
| int datetime_days_in_year | ( | int | year, |
| int | ad | ||
| ) |
returns the number of days in 'year'
| year | |
| ad |
Definition at line 37 of file datetime/misc.c.
References datetime_error(), and datetime_is_leap_year().
| int datetime_is_leap_year | ( | int | year, |
| int | ad | ||
| ) |
| year | |
| ad |
Definition at line 16 of file datetime/misc.c.
References datetime_error().
Referenced by datetime_days_in_month(), and datetime_days_in_year().