/dports/finance/grisbi/grisbi-2.0.5/src/tests/ |
H A D | utils_dates_cunit.c | 88 CU_ASSERT_EQUAL(2009, g_date_get_year(date)); in utils_dates_cunit__gsb_parse_date_string() 101 CU_ASSERT_EQUAL(2008, g_date_get_year(date)); in utils_dates_cunit__gsb_parse_date_string() 107 CU_ASSERT_EQUAL(2009, g_date_get_year(date)); in utils_dates_cunit__gsb_parse_date_string() 113 CU_ASSERT_EQUAL(2009, g_date_get_year(date)); in utils_dates_cunit__gsb_parse_date_string() 120 CU_ASSERT_EQUAL(2009, g_date_get_year(date)); in utils_dates_cunit__gsb_parse_date_string() 141 CU_ASSERT_EQUAL(2009, g_date_get_year(date)); in utils_dates_cunit__gsb_parse_date_string() 154 CU_ASSERT_EQUAL(2008, g_date_get_year(date)); in utils_dates_cunit__gsb_parse_date_string() 160 CU_ASSERT_EQUAL(2009, g_date_get_year(date)); in utils_dates_cunit__gsb_parse_date_string() 166 CU_ASSERT_EQUAL(2009, g_date_get_year(date)); in utils_dates_cunit__gsb_parse_date_string() 173 CU_ASSERT_EQUAL(2009, g_date_get_year(date)); in utils_dates_cunit__gsb_parse_date_string() [all …]
|
/dports/finance/homebank/homebank-5.5.1/src/ |
H A D | hb-report.c | 202 …pos = ((g_date_get_year(date2) - g_date_get_year(date1)) * 12) + g_date_get_month(date2) - g_date_… in DateInMonth() 234 …pos = (((g_date_get_year(date2) - g_date_get_year(date1)) * 12) + g_date_get_month(date2) - g_date… in DateInQuarter() 259 …pos = (((g_date_get_year(date2) - g_date_get_year(date1)) * 12) + g_date_get_month(date2) - g_date… in DateInHalfYear() 279 year_from = g_date_get_year(date); in DateInYear() 282 year_ope = g_date_get_year(date); in DateInYear() 710 …nbsrc = ((g_date_get_year(date2) - g_date_get_year(date1)) * 12) + g_date_get_month(date2) - g_dat… in report_items_count() 717 nbsrc = g_date_get_year(date2) - g_date_get_year(date1) + 1; in report_items_count() 808 …nbintvl = 1 + ((g_date_get_year(date2) - g_date_get_year(date1)) * 12) + g_date_get_month(date2) -… in report_interval_count() 811 …nbintvl = 1 + (((g_date_get_year(date2) - g_date_get_year(date1)) * 12) + g_date_get_month(date2) … in report_interval_count() 814 …nbintvl = 1 + (((g_date_get_year(date2) - g_date_get_year(date1)) * 12) + g_date_get_month(date2) … in report_interval_count() [all …]
|
H A D | gtk-dateentry.c | 185 … %d %d\n", g_date_get_day(priv->date), g_date_get_month(priv->date), g_date_get_year(priv->date)) … in eval_date() 188 …", g_date_get_day(&priv->mindate), g_date_get_month(&priv->mindate), g_date_get_year(&priv->mindat… in eval_date() 189 …", g_date_get_day(&priv->maxdate), g_date_get_month(&priv->maxdate), g_date_get_year(&priv->maxdat… in eval_date() 201 … %d %d\n", g_date_get_day(priv->date), g_date_get_month(priv->date), g_date_get_year(priv->date)) … in eval_date() 217 …d\n", str, g_date_get_day(priv->date), g_date_get_month(priv->date), g_date_get_year(priv->date)) … in parse_date() 223 … %d %d\n", g_date_get_day(priv->date), g_date_get_month(priv->date), g_date_get_year(priv->date)) … in parse_date() 255 g_date_get_year (priv->date)); in gtk_date_entry_set_calendar() 321 if( year == g_date_get_year (&priv->nowdate) && month == (g_date_get_month (&priv->nowdate)-1) ) in gtk_date_entry_cb_calendar_today_mark()
|
/dports/devel/goffice/goffice-0.10.50/goffice/utils/ |
H A D | datetime.c | 209 return 12 * (g_date_get_year (date2) - g_date_get_year (date1)) in go_date_g_months_between() 288 y1 = g_date_get_year (from); in days_between_GO_BASIS_MSRB_30_360() 291 y2 = g_date_get_year (to); in days_between_GO_BASIS_MSRB_30_360() 316 y1 = g_date_get_year (from); in days_between_GO_BASIS_MSRB_30_360_SYM() 319 y2 = g_date_get_year (to); in days_between_GO_BASIS_MSRB_30_360_SYM() 340 y1 = g_date_get_year (from); in days_between_GO_BASIS_30E_360() 343 y2 = g_date_get_year (to); in days_between_GO_BASIS_30E_360() 360 y1 = g_date_get_year (from); in days_between_GO_BASIS_30Ep_360() 363 y2 = g_date_get_year (to); in days_between_GO_BASIS_30Ep_360() 450 periods = (g_date_get_year(maturity) - g_date_get_year (settlement)); in go_coup_cd() [all …]
|
/dports/finance/grisbi/grisbi-2.0.5/src/ |
H A D | etats_support.c | 300 g_date_get_year (today_date)), in etats_titre() 309 g_date_get_year (today_date)), in etats_titre() 349 g_date_get_year (today_date)), in etats_titre() 358 g_date_get_year (today_date) - 1), in etats_titre() 401 g_date_get_year ( date_tmp )), in etats_titre() 405 g_date_get_year (today_date)), in etats_titre() 433 g_date_get_year ( date_tmp )), in etats_titre() 437 g_date_get_year (today_date)), in etats_titre() 464 g_date_get_year ( date_tmp )), in etats_titre() 468 g_date_get_year (today_date)), in etats_titre()
|
H A D | etats_calculs.c | 2367 || g_date_get_year (date_jour) != g_date_get_year (date_transaction)) in recupere_opes_etat() 2373 if (g_date_get_year (date_jour) != g_date_get_year (date_transaction)) in recupere_opes_etat() 2380 || g_date_get_year (date_jour) != g_date_get_year (date_transaction) in recupere_opes_etat() 2387 if (g_date_get_year (date_jour) != g_date_get_year (date_transaction) in recupere_opes_etat() 2396 || g_date_get_year (date_jour) != g_date_get_year (date_transaction)) in recupere_opes_etat() 2403 if (g_date_get_year (date_jour) != g_date_get_year (date_transaction)) in recupere_opes_etat() 2411 g_date_get_year (date_jour)); in recupere_opes_etat() 2422 g_date_get_year (date_jour)); in recupere_opes_etat() 2433 g_date_get_year (date_jour)); in recupere_opes_etat() 2445 g_date_get_year (date_jour)); in recupere_opes_etat()
|
/dports/math/gnumeric/gnumeric-1.12.50/src/ |
H A D | gnm-datetime.c | 139 return g_date_is_leap_year (g_date_get_year (&date)) in annual_year_basis() 171 int y1 = g_date_get_year (from); in yearfrac() 172 int y2 = g_date_get_year (to); in yearfrac() 262 int m = (65535 - g_date_get_year (d)) * 12 + in gnm_date_add_months() 270 int m = (g_date_get_year (d) - 1) * 12 + in gnm_date_add_months() 297 int m = 65535 - g_date_get_year (d); in gnm_date_add_years() 304 int m = g_date_get_year (d) - 1; in gnm_date_add_years()
|
/dports/devel/glib20/glib-2.70.4/glib/tests/ |
H A D | date.c | 69 g_assert_cmpint (g_date_get_year (d), ==, 1); in test_dmy_constructor() 83 g_assert_cmpint (g_date_get_year (d1), ==, 11); in test_julian_constructor() 121 g_assert_cmpint (g_date_get_year (d), ==, 3); in test_dates() 149 g_assert_cmpint (g_date_get_year (d), ==, 2000); in test_parse() 155 g_assert_cmpint (g_date_get_year (d), ==, 2001); in test_parse() 167 g_assert_cmpint (g_date_get_year (d), ==, 1999); in test_parse() 173 g_assert_cmpint (g_date_get_year (d), ==, 1087); in test_parse() 179 g_assert_cmpint (g_date_get_year (d), ==, 1999); in test_parse() 235 g_assert_cmpint (g_date_get_year (&date), ==, 1976); in test_parse_locale_change() 564 g_assert_cmpint (g_date_get_year (d), ==, y); in test_year() [all …]
|
/dports/deskutils/osmo/osmo-0.4.4/src/ |
H A D | utils_date.c | 67 guint year = g_date_get_year (d); in utl_date_get_current_year() 94 if (year != NULL) *year = g_date_get_year (d); in utl_date_get_current_dmy() 106 return g_date_get_days_in_month (g_date_get_month (date), g_date_get_year (date)); in utl_date_get_days_in_month() 151 *year = g_date_get_year (date2) - g_date_get_year (date1); in utl_date_diff() 288 if (year != NULL) *year = g_date_get_year (date); in utl_date_get_dmy() 301 if (year != NULL) *year = g_date_get_year (d); in utl_date_julian_to_dmy()
|
/dports/security/gpa/gpa-0.10.0/src/ |
H A D | convert.c | 90 g_date_get_year (&date), in gpa_date_string() 123 g_date_get_year (&creation_date), in gpa_creation_date_string() 162 g_date_get_year (&adate), in gpa_update_origin_string()
|
/dports/math/gnumeric/gnumeric-1.12.50/plugins/fn-date/ |
H A D | functions.c | 123 g_date_get_year (&date) >= 11900) in gnumeric_date() 254 g_date_get_year (gdate1)); in datedif_opt_yd() 293 g_date_get_year (gdate1)); in datedif_opt_md() 375 g_date_get_year (&date) < 1900 || in gnumeric_edate() 376 g_date_get_year (&date) > 9999) in gnumeric_edate() 787 g_date_get_year (&date) < 1900 || in gnumeric_eomonth() 788 g_date_get_year (&date) > 9999) in gnumeric_eomonth() 793 g_date_get_year (&date))); in gnumeric_eomonth() 997 g_date_get_year (&date) < 1900 || in gnumeric_workday() 998 g_date_get_year (&date) > 9999) in gnumeric_workday() [all …]
|
/dports/devel/glib20/glib-2.70.4/tests/ |
H A D | testgdate.c | 99 TEST("Returned year is 1", g_date_get_year(d) == 1); in main() 156 g_date_get_year(d) == 2000); in main() 231 TEST("Year accessor works", g_date_get_year(d) == y); in main() 358 g_date_get_year(d) == y); in main() 384 g_date_get_year(d) == y); in main() 432 g_date_get_year(d) == y); in main()
|
/dports/deskutils/bijiben/bijiben-40.1/src/libbiji/ |
H A D | biji-date-time.c | 49 else if (diff < 0 || g_date_get_year (date) != g_date_get_year (now)) in biji_get_time_diff_with_time()
|
/dports/finance/gnucash/gnucash-4.9/libgnucash/engine/ |
H A D | Recurrence.c | 109 g_date_get_year(&r->start))); in recurrenceSet() 115 g_date_get_year(&r->start)); in recurrenceSet() 166 g_date_get_month(next), g_date_get_year(next)); in nth_weekday_compare() 345 n_months = 12 * (g_date_get_year(next) - g_date_get_year(start)) + in recurrenceNextInstance() 352 g_date_get_year(next)); in recurrenceNextInstance() 408 g_date_get_year (&date)); in recurrenceGetPeriodTime() 415 g_date_get_year (&date)); in recurrenceGetPeriodTime()
|
/dports/finance/gnucash/gnucash-4.9/libgnucash/engine/test/ |
H A D | test-recurrence.c | 56 ret_val &= do_test((g_date_get_year(next) - g_date_get_year(start)) % mult == 0, in check_valid() 100 12 * (g_date_get_year(next) - g_date_get_year(start)); in check_valid() 121 g_date_get_month(next), g_date_get_year(next))) || in check_valid()
|
H A D | utest-Budget.c | 116 g_assert_cmpint(g_date_get_year(&period_start), ==, 2012); in test_gnc_set_budget_recurrence() 117 g_assert_cmpint(g_date_get_year(&period_end), ==, 2012); in test_gnc_set_budget_recurrence()
|
/dports/deskutils/pal/pal-0.4.3/src/ |
H A D | event.c | 231 snprintf(buffer, 9, "%04d%02d%02d", g_date_get_year(date), in get_key_yyyymmdd() 670 GDate* easter = find_easter(g_date_get_year(date)); in get_key_EASTER() 685 GDate* easter = find_easter(g_date_get_year(date)); in get_descr_EASTER() 704 snprintf(key, 9, "%04d%02d%02d", g_date_get_year(date), in get_key() 796 … int month_start = g_date_get_month(event->start_date) + 12*g_date_get_year(event->start_date); in inspect_range() 797 … int month_cur = g_date_get_month(date) + 12*g_date_get_year(date); in inspect_range() 803 event_count = g_date_get_year(date) - g_date_get_year(event->start_date); in inspect_range() 942 int now = g_date_get_year(today); in pal_event_escape()
|
H A D | remind.c | 79 g_date_get_year(event_date), in pal_remind_event() 87 g_date_get_year(event_date), in pal_remind_event()
|
H A D | html.c | 230 g_date_set_year(today, g_date_get_year(settings->query_date)); in pal_html_out() 233 g_date_set_year(date, g_date_get_year(settings->query_date)); in pal_html_out()
|
/dports/mail/evolution/evolution-3.42.1/src/e-util/ |
H A D | test-calendar.c | 143 g_date_get_year (&start_date), in on_selection_changed() 146 g_date_get_year (&end_date)); in on_selection_changed()
|
/dports/devel/glib20/glib-2.70.4/glib/ |
H A D | gdate.h | 160 GDateYear g_date_get_year (const GDate *date); 295 #define g_date_year g_date_get_year GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_date_get_year)
|
/dports/math/gnumeric/gnumeric-1.12.50/src/tools/ |
H A D | fill-series.c | 277 from_year = g_date_get_year(&from_date); in fill_series_adjust_variables() 278 to_year = g_date_get_year(&to_date); in fill_series_adjust_variables() 300 from_year = g_date_get_year(&from_date); in fill_series_adjust_variables() 301 to_year = g_date_get_year(&to_date); in fill_series_adjust_variables()
|
/dports/finance/gnucash/gnucash-4.9/libgnucash/app-utils/ |
H A D | gnc-accounting-period.c | 145 g_date_get_year (contains)); in gnc_accounting_period_start_gdate() 239 g_date_get_year (contains)); in gnc_accounting_period_end_gdate()
|
/dports/sysutils/tracker-miners/tracker-miners-2.3.5/tests/libtracker-miners-common/ |
H A D | tracker-date-time-test.c | 89 g_assert_cmpint (g_date_get_year (expected), ==, g_date_get_year (result)); in test_string_to_date()
|
/dports/sysutils/tracker/tracker-2.3.4/tests/libtracker-common/ |
H A D | tracker-date-time-test.c | 89 g_assert_cmpint (g_date_get_year (expected), ==, g_date_get_year (result)); in test_string_to_date()
|