1. 16 Jan, 2002 1 commit
    • Andreas J. Guelzow's avatar
      change oem to eom, don't release null maturity or settlement. Implement · 234c66fa
      Andreas J. Guelzow authored
      2002-01-16  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* fn-financial.c : change oem to eom, don't release null maturity
      	  or settlement. Implement `xl' selector
      	(coupdaybs) : fix documentation
      	(coupncd) : fix documentation
      	(couppcd) : fix documentation
      	(coupdayscd) : fix documentation
      	(coupdays) :  fix documentation
      
      2002-01-16  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/datetime.c : change oem to eom
      	(days_between_dep_basis) : fix basis == 0, add `in_order' flag
      	(adjust_dates_basis) : fix basis == 0
      	(coupdays) : fix basis == 2, 3 and partially fix to
      	  basis == 1
      234c66fa
  2. 15 Jan, 2002 1 commit
    • Andreas J. Guelzow's avatar
      Change parameters in calls to coupdaysnc, coupdaybs and coupdays. · 8213cf77
      Andreas J. Guelzow authored
      2002-01-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* fn-financial.c : Change parameters in calls to coupdaysnc,
      	coupdaybs and coupdays.
      	(func_coup_cd) : extract common code from
      	  gnumeric_coupncd and gnumeric_couppcd (proposed by Neil Booth)
      	(gnumeric_coupncd) : change into wrapper for func_coup_cd
      	(gnumeric_couppcd) : change into wrapper for func_coup_cd
      
      2002-01-15  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/datetime.c (coup_cd_xl) : new function (XL compatible
      	  implementation of coup_cd.
      	(coupdays) : add xl boolean parameter, call coup_cd or coup_cd_xl
      	  depending on xl.
      	(coupdaybs) : ditto
      	(coupdaysnc) : ditto
      	* src/datetime.h (coupdays) : add xl boolean parameter
      	(coupdaybs) : ditto
      	(coupdaysnc) : ditto
      8213cf77
  3. 14 Jan, 2002 1 commit
    • Andreas J. Guelzow's avatar
      rewrite and move to datetime.c (coupdaybs) : rewrite and move to · 99b0121d
      Andreas J. Guelzow authored
      2002-01-14  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* fn-financial.c (coupdays) : rewrite  and move to datetime.c
      	(coupdaybs) : rewrite and move to datetime.c
      	(days_between_dep_basis) : fix small error and move to datetime.c
      	(adjust_dates_basis) : move to datetime.c
      	(coupncd) : move to datetime.c
      	(couppcd) : move to datetime.c
      	(gnumeric_coupdaybs) : add optional OEM argument
      	(gnumeric_coupdays) : add optional OEM argument
      	(finance_functions_init) : add optional OEM arguments to
      	  gnumeric_coupdaybs and gnumeric_coupdays
      
      2002-01-14  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* src/datetime.c (coupdays) : moved from src/functions/fn-financial.c
      	(coupdaybs) : ditto
      	(days_between_dep_basis) : ditto
      	(adjust_dates_basis) : ditto
      	(coupncd) : ditto
      	(couppcd) : ditto
      	* src/datetime.h (coupdays) : moved from src/functions/fn-financial.c
      	(coupdaybs) : ditto
      	(days_between_dep_basis) : ditto
      	(adjust_dates_basis) : ditto
      	(coupncd) : ditto
      	(couppcd) : ditto
      99b0121d
  4. 13 Jan, 2002 1 commit
    • Andreas J. Guelzow's avatar
      replace with coup_cd (gnumeric_couppcd) : add optional OEM argument · 8ba06bd6
      Andreas J. Guelzow authored
      2002-01-13  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* fn-financial.c (coupncd, couppcd) : replace with coup_cd
      	(gnumeric_couppcd) : add optional OEM argument
      	(gnumeric_coupdayscd) : add optional OEM argument
      	(finance_functions_init) : add optional OEM arguments to
      	  couppcd and coupdayscd
      	(coupdayscd) : rewrite
      	(adjust_dates_basis) : new utility procedure
      	(days_between_dep_basis) : new utility procedure
      8ba06bd6