Class DateRecognizerSinkFilter
Attempts to parse the To
Inherited Members
Namespace: Lucene.Net.Analysis.Sinks
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class DateRecognizerSinkFilter : TeeSinkTokenFilter.SinkFilter
Constructors
| Improve this Doc View SourceDateRecognizerSinkFilter()
Creates a new instance of Date
Declaration
public DateRecognizerSinkFilter()
DateRecognizerSinkFilter(IFormatProvider)
Creates a new instance of Date
Declaration
public DateRecognizerSinkFilter(IFormatProvider culture)
Parameters
Type | Name | Description |
---|---|---|
System. |
culture | An object that supplies culture-specific format information |
DateRecognizerSinkFilter(IFormatProvider, DateTimeStyles)
Creates a new instance of Date
Declaration
public DateRecognizerSinkFilter(IFormatProvider culture, DateTimeStyles style)
Parameters
Type | Name | Description |
---|---|---|
System. |
culture | An object that supplies culture-specific format information |
System. |
style | A bitwise combination of enumeration values that indicates the permitted format of s.
A typical value to specify is System. |
DateRecognizerSinkFilter(String)
Creates a new instance of Date
Declaration
public DateRecognizerSinkFilter(string format)
Parameters
Type | Name | Description |
---|---|---|
System. |
format | The allowable format of the To |
DateRecognizerSinkFilter(String, IFormatProvider)
Creates a new instance of Date
Declaration
public DateRecognizerSinkFilter(string format, IFormatProvider culture)
Parameters
Type | Name | Description |
---|---|---|
System. |
format | The allowable format of the To |
System. |
culture | An object that supplies culture-specific format information |
DateRecognizerSinkFilter(String, IFormatProvider, DateTimeStyles)
Creates a new instance of Date
Declaration
public DateRecognizerSinkFilter(string format, IFormatProvider culture, DateTimeStyles style)
Parameters
Type | Name | Description |
---|---|---|
System. |
format | The allowable format of the To |
System. |
culture | An object that supplies culture-specific format information |
System. |
style | A bitwise combination of enumeration values that indicates the permitted format of s.
A typical value to specify is System. |
DateRecognizerSinkFilter(String[])
Creates a new instance of Date
Declaration
public DateRecognizerSinkFilter(string[] formats)
Parameters
Type | Name | Description |
---|---|---|
System. |
formats | An array of allowable formats of the To |
DateRecognizerSinkFilter(String[], IFormatProvider)
Creates a new instance of Date
Declaration
public DateRecognizerSinkFilter(string[] formats, IFormatProvider culture)
Parameters
Type | Name | Description |
---|---|---|
System. |
formats | An array of allowable formats of the To |
System. |
culture | An object that supplies culture-specific format information |
DateRecognizerSinkFilter(String[], IFormatProvider, DateTimeStyles)
Creates a new instance of Date
Declaration
public DateRecognizerSinkFilter(string[] formats, IFormatProvider culture, DateTimeStyles style)
Parameters
Type | Name | Description |
---|---|---|
System. |
formats | An array of allowable formats of the To |
System. |
culture | An object that supplies culture-specific format information |
System. |
style | A bitwise combination of enumeration values that indicates the permitted format of s.
A typical value to specify is System. |
Fields
| Improve this Doc View Sourcem_culture
Declaration
protected IFormatProvider m_culture
Field Value
Type | Description |
---|---|
System. |
m_formats
Declaration
protected string[] m_formats
Field Value
Type | Description |
---|---|
System. |
m_style
Declaration
protected DateTimeStyles m_style
Field Value
Type | Description |
---|---|
System. |
m_termAtt
Declaration
protected ICharTermAttribute m_termAtt
Field Value
Type | Description |
---|---|
IChar |
Methods
| Improve this Doc View SourceAccept(AttributeSource)
Declaration
public override bool Accept(AttributeSource source)
Parameters
Type | Name | Description |
---|---|---|
Attribute |
source |
Returns
Type | Description |
---|---|
System. |