Qizx fe-4.4p2 API

com.qizx.api
Interface Indexing.DateSieve

All Superinterfaces:
Indexing.NumberSieve, Indexing.Sieve
All Known Implementing Classes:
FormatDateSieve, ISODateSieve
Enclosing class:
Indexing

public static interface Indexing.DateSieve
extends Indexing.NumberSieve

Pluggable analyzer/converter of date-time values, for custom indexing.


Method Summary
 double convert(String text)
          Attempts to convert the date or date-time contained in the text fragment to a double value (in milliseconds from 1970-01-01 00:00:00 UTC).
 
Methods inherited from interface com.qizx.api.Indexing.Sieve
getParameters, setParameters
 

Method Detail

convert

double convert(String text)
Attempts to convert the date or date-time contained in the text fragment to a double value (in milliseconds from 1970-01-01 00:00:00 UTC).

Specified by:
convert in interface Indexing.NumberSieve
Parameters:
text - an alleged date-time value in text form.
Returns:
the converted value, or NaN if the conversion is not possible.

© 2010 Axyana Software