BloombergLP::bbldc::CalendarDayCountUtil

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_calendardaycountutil.h>

struct CalendarDayCountUtil;

Static Member Functions

NameDescription
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.