C# Class SIL.FieldWorks.Filters.DateTimeMatcher

Inheritance: SIL.FieldWorks.Filters.BaseMatcher
Show file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
DateTimeMatcher ( ) : System

Default constructor for IPersistAsXml

DateTimeMatcher ( System.DateTime start, System.DateTime end, DateMatchType type ) : System
InitXml ( System node ) : void
Matches ( ITsString arg ) : bool
PersistAsXml ( System node ) : void
SameMatcher ( IMatcher other ) : bool

Private Methods

Method Description
GenDateIsAfterDate ( GenDate gen, System.DateTime date, bool fAD ) : bool
GenDateIsBeforeDate ( GenDate gen, System.DateTime date, bool fAD ) : bool
GenDateIsInRange ( GenDate gen ) : bool
GenDateMightBeAfterDate ( GenDate gen, System.DateTime date, bool fAD ) : bool
GenDateMightBeBeforeDate ( GenDate gen, System.DateTime date, bool fAD ) : bool

Method Details

DateTimeMatcher() public method

Default constructor for IPersistAsXml
public DateTimeMatcher ( ) : System
return System

DateTimeMatcher() public method

public DateTimeMatcher ( System.DateTime start, System.DateTime end, DateMatchType type ) : System
start System.DateTime
end System.DateTime
type DateMatchType
return System

InitXml() public method

public InitXml ( System node ) : void
node System
return void

Matches() public method

public Matches ( ITsString arg ) : bool
arg ITsString
return bool

PersistAsXml() public method

public PersistAsXml ( System node ) : void
node System
return void

SameMatcher() public method

public SameMatcher ( IMatcher other ) : bool
other IMatcher
return bool