Class Reference
%iKnow.Matching.Formats.SimpleDateFormat
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [%iKnow] >  [Matching] >  [Formats] >  [SimpleDateFormat]
Private  Storage

deprecatedclass %iKnow.Matching.Formats.SimpleDateFormat extends %iKnow.Matching.Formats.Format

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:

  1. dateFormat (%Integer, default -1): the dformat parameter passed to $zdateh or $zdatetimeh
  2. timeFormat (%Integer, default 0): the tformat parameter passed to $zdatetimeh, 0 means no time is checked
  3. output (%Boolean, default 0): whether or not to output the identified date

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1


Summary

Properties
DomainId

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
Finalize HasMatchAll MatchAll MatchAllHashes
MatchSingle TestParams


Methods

• method MatchSingle(string As %String, formatParams As %List, Output matchScore As %Numeric, Output matchedWordBits, Output isScattered As %Boolean, Output formatOutput) as %Status

Implementations of this method check whether an individual string complies with the format this class represents, returning a matchScore (0..1) and optional matchedWordBits, isScattered and formatOutput through output parameters.



Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.