Custom Name
Key Custom Name in Calendar refers to an arbitrarily chosen text that is used in QuantLib diagnostics as the custom name of the associated custom calendar.
Case and spaces are ignored.
Note:
The name here cannot be used by the user in the same fashion as a predefined name.
For example, if the name here is MOON, one cannot use a handle name of the form %MOON or %1B{MOON} in the same way as one may use %US or %1B{US}, for the simple reason that %MOON cannot reepresent a trivial object since the set of holidays associated with %MOON are not implied by the text "MOON" but supplied exogenously by the user.
It turns out, if the MOON calendar needs to be passed as input to some formula, one must pass the handle name returned by the ds formula that invokes the Create function that creates the custom MOON calendar.
For the same reason, a handle name such as %1B{MOON} that is meant to represent a Single Period object, would be invalid.
The roundabout solution is to construct the required Single Period object by means of the Create function.
