This struct provides a namespace for a suite of pure functions that compute values based on dates according to enumerated day‐count conventions.

Synopsis

Declared in <bbldc_terminateddaycountutil.h>

struct TerminatedDayCountUtil;

Static Member Functions

Name

Description

daysDiff

Return the (signed) number of days between two dates.

isSupported

Return true if the specified convention is valid for use in daysDiff and yearsDiff, and false otherwise.

yearsDiff

Return the (signed fractional) number of years between two dates.

Created with MrDocs