C# Class HandCoded.Finance.DelegatedDateRoll

The DelegatedDateRoll class provides a implementation of the abstract DateRoll class that allows the use of delegates.
Inheritance: DateRoll
Datei anzeigen Open project: formicary/fpml-toolkit-csharp

Public Methods

Method Description
Adjust ( Calendar calendar, Date date ) : Date

Adjusts a Date which falls on a holiday within the indicated Calendar to an appropriate business day.

DelegatedDateRoll ( string name, DateRollDelegate function ) : System

Method Details

Adjust() public method

Adjusts a Date which falls on a holiday within the indicated Calendar to an appropriate business day.
public Adjust ( Calendar calendar, Date date ) : Date
calendar Calendar The to be used.
date Date The to adjust.
return Date

DelegatedDateRoll() public method

public DelegatedDateRoll ( string name, DateRollDelegate function ) : System
name string
function DateRollDelegate
return System