public override string name()
{
string res = familyName_;
if (tenor_ == new Period(1, TimeUnit.Days))
{
if (fixingDays_ == 0)
{
res += "ON";
}
else if (fixingDays_ == 1)
{
res += "TN";
}
else if (fixingDays_ == 2)
{
res += "SN";
}
else
{
res += tenor_.ToShortString();
}
}
else
{
res += tenor_.ToShortString();
}
res = res + " " + dayCounter_.Name;
return(res);
}