Namespace HeroKit.Globalization
Classes
- BusinessDayExtensions
Public holiday and business day helpers based on the IHolidayCalendar of a Country.
- Countries
Predefined countries and a registry that resolves countries by ISO code, for example in validation attributes.
- CountryRuleExtensions
Validates and formats country-specific values with the rules of a Country.
- Currencies
Predefined currencies.
- Currency
A currency with its notation and names. Predefined currencies are in Currencies.
- CurrencyExtensions
Formats amounts and writes them in words with the notation of a Currency.
- LanguageExtensions
Text helpers that use the ITextRules and INumberSpeller of a Language. They do not depend on ICU, so they also work with invariant globalization.
- Languages
Predefined languages.
Structs
- District
A second-level administrative unit of a country, such as a Turkish district (ilçe).
- PublicHoliday
A public holiday.
- Region
A first-level administrative region of a country, such as a Turkish province.
Interfaces
- IBankDirectory
The banks of a country and how to find them from an IBAN.
- IHolidayCalendar
Public holidays and weekend days of a country.
- IIdentifierRules
Validation rules of an identifier, such as a postal code, a national identity number or a tax number.
- INumberSpeller
Writes numbers in words in a language.
- IPhoneNumberRules
Phone number rules of a country.
- ITextRules
Casing and sorting rules of a language that do not depend on ICU or the operating system's culture data.
- IVehiclePlateRules
Vehicle registration plate rules of a country.
Enums
- CurrencyStyle
Selects how a currency is written next to an amount.