Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor() {
super(null);
this.extractor = new NumberWithUnitExtractor(new DurationExtractorConfiguration());
this.yearRegex = RegExpUtility.getSafeRegExp(ChineseDateTime.DurationYearRegex);
this.halfSuffixRegex = RegExpUtility.getSafeRegExp(ChineseDateTime.DurationHalfSuffixRegex);
}