Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(ci: CultureInfo) {
super(ci);
this.internalNumberExtractor = new JapaneseNumberExtractor(JapaneseNumberExtractorMode.Default);
this.internalNumberParser = AgnosticNumberParserFactory.getParser(AgnosticNumberParserType.Number, new JapaneseNumberParserConfiguration());
this.connectorToken = '';
this.currencyNameToIsoCodeMap = JapaneseNumericWithUnit.CurrencyNameToIsoCodeMap;
this.currencyFractionCodeList = JapaneseNumericWithUnit.FractionalUnitNameToCodeMap;
}
}
constructor(ci: CultureInfo) {
super(ci);
this.internalNumberExtractor = new PortugueseNumberExtractor(NumberMode.Default);
this.internalNumberParser = AgnosticNumberParserFactory.getParser(AgnosticNumberParserType.Number, new PortugueseNumberParserConfiguration());
this.connectorToken = PortugueseNumericWithUnit.ConnectorToken;
}
}
constructor(ci: CultureInfo) {
super(ci);
this.internalNumberExtractor = new SpanishNumberExtractor(NumberMode.Default);
this.internalNumberParser = AgnosticNumberParserFactory.getParser(AgnosticNumberParserType.Number, new SpanishNumberParserConfiguration());
this.connectorToken = SpanishNumericWithUnit.ConnectorToken;
}
}
constructor(ci: CultureInfo) {
super(ci);
this.internalNumberExtractor = new FrenchNumberExtractor(NumberMode.Default);
this.internalNumberParser = AgnosticNumberParserFactory.getParser(AgnosticNumberParserType.Number, new FrenchNumberParserConfiguration());
this.connectorToken = FrenchNumericWithUnit.ConnectorToken;
}
}