FactSmartDateQueryResult.ofMetaData constructor
FactSmartDateQueryResult.ofMetaData(
- IFactSchema schema,
- IFactMetaDate metaDate,
- IFact fact,
- IRef contact, {
- TZDateTime? resultDate,
- Location? location,
Implementation
FactSmartDateQueryResult.ofMetaData(
IFactSchema schema,
IFactMetaDate metaDate,
IFact fact,
IRef contact, {
TZDateTime? resultDate,
Location? location,
}) : this._(
schema,
metaDate,
fact,
contact,
resultDate: resultDate ?? fact.getDate(metaDate, location ?? sunnyLocalization.userLocation!)!,
selection: smartDateFormat(resultDate ?? fact.getDate(metaDate, location ?? sunnyLocalization.userLocation!),
formatTime: metaDate.hasTime),
isTimeInferred: !metaDate.hasTime!,
);