cdef extern from "isda/yearfrac.h": int JpmcdsStringToDayCountConv(char* day_count, long* type) cdef long dcc(str day_count)