Searched refs:days_in_year (Results 1 – 5 of 5) sorted by relevance
170 guint16 days_in_year = g_date_is_leap_year(y) ? 366 : 365; in main() local247 g_date_get_day_of_year(d) == days_in_year); in main()251 g_date_get_day_of_year(d), days_in_year); in main()256 g_date_get_day_of_year(d) <= days_in_year); in main()
523 guint16 days_in_year = g_date_is_leap_year (y) ? 366 : 365; in test_year() local571 g_assert_cmpint (g_date_get_day_of_year (d), ==, days_in_year); in test_year()573 g_assert_cmpint (g_date_get_day_of_year (d), <=, days_in_year); in test_year()
181 static const guint16 days_in_year[2][13] = variable610 days += days_in_year[0][month - 1]; in ymd_to_days()2197 preceding = (days_in_year[0][the_month - 1] + (the_month > 2 && leap)); in g_date_time_get_ymd()2286 days = days_in_year[GREGORIAN_LEAP (g_date_time_get_year (datetime)) ? 1 : 0]; in g_date_time_get_day_of_month()
405 static const guint16 days_in_year[2][14] = variable546 d->julian_days += days_in_year[idx][d->month] + d->day; in g_date_update_julian()731 return (days_in_year[idx][d->month] + d->day); in g_date_get_day_of_year()
47825 static int64_t days_in_year(int64_t y) { in days_in_year() function47839 d1 += days_in_year(y); in year_from_days()47841 nd = days_in_year(y); in year_from_days()47892 md += days_in_year(y) - 365; in get_date_fields()47933 md += days_in_year(y) - 365; in set_date_fields()