%iKnow.Matching.Formats.SimpleDateFormat
Class %iKnow.Matching.Formats.SimpleDateFormat Extends %iKnow.Matching.Formats.Format [ Deprecated, System = 4 ]
This is a very simple example of a %iKnow.Matching.Formats.Format implementation, simply checking whether the supplied strings can be converted to a proper date and optionally returning it as output.
Format parameters:
- dateFormat (%Integer, default -1): the dformat parameter passed to $zdateh or $zdatetimeh
- timeFormat (%Integer, default 0): the tformat parameter passed to $zdatetimeh, 0 means no time is checked
- output (%Boolean, default 0): whether or not to output the identified date
Methods
MatchSingle
Method MatchSingle(string As %String, formatParams As %List, Output matchScore As %Numeric, Output matchedWordBits, Output isScattered As %Boolean, Output formatOutput) As %Status