Skip to main content

Module jurisdictions

Module jurisdictions 

Expand description

Jurisdiction calendars, identified by FpML business-center codes (bare) and qualified BASE.SUFFIX market codes.

BusinessCenter is the canonical geographic identity: code() emits the FpML businessCenterScheme code and FromStr parses it back (plus parse-only aliases). MarketCalendar is the qualified market identity (e.g. USNY.NYSE); its code() is the qualified string, where the suffix is a helixio-defined market qualifier the FpML scheme cannot express. Both resolve their holiday data through the generated super::data::registry. Parsing is case-insensitive; code() always emits the canonical upper-case form.

Structsยง

Germany
Germany (Frankfurt) settlement calendar (DEFR).
Target
TARGET (euro) settlement calendar (EUTA).
UnitedKingdom
United Kingdom settlement calendar (GBLO).
UnitedStates
United States calendars, parameterised by UsMarket.
UnknownBusinessCenter
Error parsing a calendar code or alias.

Enumsยง

BusinessCenter
A jurisdiction settlement calendar, identified by its canonical FpML business-center code.
MarketCalendar
A qualified BASE.SUFFIX market calendar (e.g. USNY.NYSE). The base is an FpML business-center code; the suffix is a helixio-defined market qualifier the FpML scheme cannot express.
UsMarket
A United States market with its own calendar.

Staticsยง

CACHE ๐Ÿ”’

Functionsยง

calendar_for ๐Ÿ”’
The cached calendar for a canonical registry code.
registered_centers ๐Ÿ”’
The business-center codes the generated registry carries, for a rejection to name. Read from the registry rather than restated, so the list cannot advertise a center the lookup would refuse.

Type Aliasesยง

Slot ๐Ÿ”’
One registry row and the calendar built from it, on first ask.