FactSmartDateQuerySource.ofMetaDate constructor
FactSmartDateQuerySource.ofMetaDate(})
Implementation
FactSmartDateQuerySource.ofMetaDate(
IFactSchema factSchema,
IFactMetaDate metaDate,
IFact fact,
IRef contact, {
required TZDateTime resolvedDate,
FlexiDate? resolvedFlexiDate,
String? originalQuery,
String? matchedTerm,
}) : this(factSchema, metaDate, fact, resolvedFlexiDate, resolvedDate, contact,
smartDateQuery: originalQuery?.replaceAll(matchedTerm ?? originalQuery, resolvedDate.resolvedDateString),
selection: originalQuery?.replaceAll(matchedTerm ?? originalQuery, metaDate.remindLabel!));