Top |
Functions
void | go_coup_cd () |
double | go_coupdaybs () |
double | go_coupdays () |
double | go_coupdaysnc () |
gboolean | go_date_conv_equal () |
const GODateConventions * | go_date_conv_from_str () |
double | go_date_conv_translate () |
int | go_date_convention_base () |
gint32 | go_date_days_between_basis () |
int | go_date_g_months_between () |
int | go_date_g_to_serial () |
int | go_date_g_years_between () |
char * | go_date_month_name () |
int | go_date_serial_raw_to_seconds () |
int | go_date_serial_raw_to_serial () |
void | go_date_serial_to_g () |
time_t | go_date_serial_to_timet () |
int | go_date_timet_to_seconds () |
int | go_date_timet_to_serial () |
double | go_date_timet_to_serial_raw () |
char * | go_date_weekday_name () |
int | go_date_weeknum () |
Functions
go_coup_cd ()
void go_coup_cd (GDate *res
,GDate const *settle
,GDate const *mat
,int freq
,gboolean eom
,gboolean next
);
go_coupdaybs ()
double go_coupdaybs (GDate const *settlement
,GDate const *maturity
,GoCouponConvention const *conv
);
go_coupdays ()
double go_coupdays (GDate const *settlement
,GDate const *maturity
,GoCouponConvention const *conv
);
go_coupdaysnc ()
double go_coupdaysnc (GDate const *settlement
,GDate const *maturity
,GoCouponConvention const *conv
);
go_date_conv_equal ()
gboolean go_date_conv_equal (const GODateConventions *a
,const GODateConventions *b
);
go_date_conv_translate ()
double go_date_conv_translate (double f
,const GODateConventions *src
,const GODateConventions *dst
);
go_date_days_between_basis ()
gint32 go_date_days_between_basis (GDate const *from
,GDate const *to
,GOBasisType basis
);
go_date_serial_to_g ()
void go_date_serial_to_g (GDate *res
,int serial
,GODateConventions const *conv
);
go_date_serial_to_timet ()
time_t go_date_serial_to_timet (int serial
,GODateConventions const *conv
);
go_date_timet_to_serial_raw ()
double go_date_timet_to_serial_raw (time_t t
,GODateConventions const *conv
);
Types and Values
GODateConventions
typedef struct { gboolean use_1904; /* Use MacOffice 1904 based date convention, * Rather than the Win32 style 1900 */ } GODateConventions;
GoCouponConvention
typedef struct { int freq; GOBasisType basis; gboolean eom; GODateConventions const *date_conv; } GoCouponConvention;